he ccjj wrote: > I have tow NIC eth0 and eth1,and two ip: a.b.c.d and a.b.c.e,with the > same gateway a.b.c.254 > in my /etc/network/interfaces: > > auto lo > iface lo inet loopback > > iface eth0 inet static > address a.b.c.d > netmask 255.255.255.0 > gateway a.b.c.254 > > auto eth1 > iface eth1 inet static > address a.b.c.e > netmask 255.255.255.0 > gateway a.b.c.254 The above configuration messes up your routing table. Two things: 1) You should not have IP addresses that are on the same subnet assigned to different physical interfaces. 2) You should only have 1 gateway address defined. So, the interfaces file should have: --- auto lo iface lo inet loopback auto eth0 iface eth0 inet static address a.b.c.d netmask 255.255.255.0 gateway a.b.c.254 --- Hope this helps, -- George Borisov DXSolutions Ltd
Attachment:
signature.asc
Description: OpenPGP digital signature