In eth0:0 you do up route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.1.3 up route del -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.1.3
which seems to cancel each other. You must have meant "down route ..." in the second line. Your routing settings seems strange. In eth0 you do up route add default gw 200.14.231.161 down route del gw 200.14.231.161 but thoose are redundant since you already specified the default gw with gateway 200.14.231.161 In eth0:0 you says you have a directly connected network 192.168.1.0/24, but then with the "up" line you tell the ip-stack that to reach the directly connected network you have to go through 192.168.1.3. More, in eth0:0 you tell the system that you have a second default router. I suggest that you removes the lines from "gateway" down in your eth0:0 setup, and the up/down lines in your eth0 setup. Regards, /Karl ----------------------------------------------------------------------- Karl Hammar Aspö Data [EMAIL PROTECTED] Lilla Aspö 2340 +46 173 140 57 Networks S-742 94 Östhammar +46 10 270 26 67 Computers Sweden Consulting ----------------------------------------------------------------------- From: Igor Támara <[EMAIL PROTECTED]> Subject: Offtopic : Configuring two Ips on a single card Date: Sun, 12 Aug 2001 12:11:51 -0500 > Hi, I recently installed some Ultra 5's and a Ultra 10, I previously had > RedHat, and I decided to switch to Debian, the packages work just perfect. > > I configured two Ips on my machine: external 200.14.231.163 and internal > 192.168.1.226 , when I run /etc/init.d/networking start , both > interfaces work, but after a few minutes the public IP stops working, my > /etc/network/interfaces looks like this > > > iface eth0 inet static > address 200.14.231.163 > netmask 255.255.255.248 > gateway 200.14.231.161 > network 200.14.231.160 > broadcast 200.14.231.167 > up route add default gw 200.14.231.161 > down route del gw 200.14.231.161 > > iface eth0:0 inet static > address 192.168.1.226 > netmask 255.255.255.0 > network 192.168.1.0 > broadcast 192.168.1.255 > gateway 192.168.1.3 > up route add -net 192.168.1.0 netmask 255.255.255.0 gw \ > 192.168.1.3 > up route del -net 192.168.1.0 netmask 255.255.255.0 gw \ > 192.168.1.3 > > What am I doing wrong? > > At the moment I use only the public IP, but I'm interested in having > both of them. The numbers of the address, netmask, gateway and network > correspond exactly to the configuration of the net. > > Thanks in advance. > > -- > ----------------------------------------------------------- > Igor TAmara Pati~o > http://www.tamarapatino.com/igor > GPG Key: http://www.tamarapatino.com/igor/gpg.html

