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



Reply via email to