HOW TO SETUP DEBIAN EDU WITH DUMMY NIC -------------------------------------- Author: Finn-Arne Johansen faj@bzz.no This Document is released under the GNU General Public License, version 2. On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'. $Id: DummyIP.txt,v 1.1 2004/10/18 17:35:34 finnarne Exp $ Disclaimer ---------- The author of this document does not take responsibility for any lost work or any thing else that may happen by following this document. Introduction ------------ This HOWTO is written to help those who need a short fix to test Debian-edu/Skolelinux in an existing network, without the need for a separate firewall. The goal is to keep most of the setup, and only change whats realy needed to change. Some presumptions ----------------- We assume that you dont use the network 10.0.2.0/23 and 192.168.0.0/24. The later will only apply if you are installing a Thin-Client server. Lets say that you have the following network: - a router with IP 192.168.1.1, which has a dhcp-server which delivers the range 192.168.1.50 - 192.168.1.150 - an exising workstation/server with IP 192.168.1.10 we will give the server the IP 192.168.1.20 Turn of dhcp on the external network ------------------------------------ edit /etc/default/dhcp3-server, make sure the last line looks like INTERFACES="eth1" Then restart the dhcp-server with the command /etc/init.d/dhcp3-server restart Then check that the dhcp server is not running ps auxw | grep dhcpd3 and make sure that there is no line containing "eth0" that shows up in the list of processes Set up a dummy interface ------------------------ Add the modules for the dummy network interface (dummy0) modprobe dummy then edit the network interface definition-file, /etc/network/interfaces. after the line iface eth0 inet static add the following lines: address 192.168.1.20 netmask 255.255.255.0 broadcast 192.168.1.255 gateway 192.168.1.1 iface dummy0 inet static then delete the line (or comment it out) gateway 10.0.2.1 then you should be able to do ifdown eth0 ifup dummy0 ifup eth0 and the installation should work. Check that everything works --------------------------- check that you may ping the gateway, that you may ping tjener, that you may ping somewhere on the net (www.skolelinux.no?).