I have 3 network cards.
eth0 LAN
eth1 internet
eth2 LAN
I see mi ip configuration with ifconfig and the interface eth1 haven't the correct ip addres.
When I tried "/etc/init.d/networking restart" it warned me that it wasn't going to even try to restart because the interfaces file was mis-configured
The solution for me was to edit interfaces file.
Add the following lines to /etc/network/interfaces.
auto eth1
iface eth0 inet dhcp
Right now, this is what my /etc/network/interfaces looks like:
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0
I have 3 network cards. d/networking restart" it warned me that it wasn't going to even try to restart because the interfaces file was mis-configured interfaces. interfaces looks like:
eth0 LAN
eth1 internet
eth2 LAN
I see mi ip configuration with ifconfig and the interface eth1 haven't the correct ip addres.
When I tried "/etc/init.
The solution for me was to edit interfaces file.
Add the following lines to /etc/network/
auto eth1
iface eth0 inet dhcp
Right now, this is what my /etc/network/
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0
auto eth1
iface eth1 inet dhcp
iface eth2 inet static
address 192.168.1.3
netmask 255.255.255.0
auto eth2
iface eth0 inet static
address 192.168.1.2
netmask 255.255.255.0
auto eth0