Setting up an Intranet on Local Machine

  1. apt-get install dhcp
  2. apt-get install bind (answer no to question)
  3. apt-get install ipmasq (answer no to both questions)
  4. Copy Tim's config files mambo:/home/mtim/configs to your local machine.
  5. Disconnect from network that you are currently connected.
    Note: Only run this when connected to a network where you are the sysadmin.
  6. Edit /etc/network/interfaces:
  7. Copy tim's dhcpd.conf file to /etc/.
  8. Copy tim's named.conf file to /etc/bind/.
  9. Copy tim's mars.hosts and mars.rev to /etc/bind/{intranet_name}.{hosts|rev}
  10. Edit /etc/init.d/dhcp
  11. Edit /etc/hosts
  12. Reconfigure Kernel:
  13. Run: make bzlilo
  14. Run: make modules
  15. Run: make modules_install
  16. Run: update-rc.d -f dhcpd remove
  17. Run: update-rc.d -f ipmasq remove
  18. Run: update-rc.d -f bind remove
  19. Restart
  20. Run: ifup eth0:1
  21. Run: ifconfig (this makes sure you have the interfaces running...if not call Tim!)
  22. Run pppd
  23. The next few commands are a little shaky (check with Tim)

Helpful Hints:

To log back on to normal network

  1. Run: ifdown eth0:1
  2. Connect to Network
  3. Run: ifup eth0:1

Don Graver
Last modified: Tue May 8 15:56:29 PDT 2001