Hello,
I'm having a problem with a system with 2 network cards in it (internal and external interfaces).
The internal NIC, eth1, goes down sometimes, which is no big deal, but when it comes back up it ends up getting assigned a DHCP address. This is true even though my /etc/network/interfaces is as follows:
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.
auto eth0
iface eth0 inet static
address x.x.x.x
netmask 255.255.0.0
gateway x.x.x.x
auto eth1
iface eth1 inet static
address 192.168.0.199
netmask 255.255.0.0
Why is this config file being ignored? Why is eth1 being assigned a DHCP address even though I specify a static one?
This is a problem because a new default route is also being set for eth1, and this is causing havoc with the external interface.
My hunch is that it has something to do with udev, which is somehow ignoring my /etc/network/interfaces when it checks what to do when new devices are detected.
Any ideas?
very best,
G
I'm having a problem with a system with 2 network cards in it (internal and external interfaces).
The internal NIC, eth1, goes down sometimes, which is no big deal, but when it comes back up it ends up getting assigned a DHCP address. This is true even though my /etc/network/interfaces is as follows:
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.
auto eth0
iface eth0 inet static
address x.x.x.x
netmask 255.255.0.0
gateway x.x.x.x
auto eth1
iface eth1 inet static
address 192.168.0.199
netmask 255.255.0.0
Why is this config file being ignored? Why is eth1 being assigned a DHCP address even though I specify a static one?
This is a problem because a new default route is also being set for eth1, and this is causing havoc with the external interface.
My hunch is that it has something to do with udev, which is somehow ignoring my /etc/network/interfaces when it checks what to do when new devices are detected.
Any ideas?
very best,
G