Re: Multi NIC and Multi IP problem

2006-10-28 Thread Roberto C. Sanchez
On Fri, Oct 27, 2006 at 10:06:59AM +0200, Matus UHLAR - fantomas wrote: > On 25.10.06 21:08, Roberto C. Sanchez wrote: > > On Wed, Oct 25, 2006 at 12:04:14PM +0800, 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 > >

Re: Multi NIC and Multi IP problem

2006-10-27 Thread George Borisov
Matus UHLAR - fantomas wrote: > > Maybe to get better performance and/or failover setup. I'm not sure, but the > kernel could work with such setup, imho. It seems it doesn't. IMVHO you should use bonding for that (or maybe bridging, depending on exact requirements), rather than bodge your routi

Re: Multi NIC and Multi IP problem

2006-10-27 Thread Matus UHLAR - fantomas
On 25.10.06 21:08, Roberto C. Sanchez wrote: > On Wed, Oct 25, 2006 at 12:04:14PM +0800, 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 > ^^ > > This is completely broken? Why on Earth would you want two NI

Re: Multi NIC and Multi IP problem

2006-10-25 Thread Roberto C. Sanchez
On Wed, Oct 25, 2006 at 12:04:14PM +0800, 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 ^^ This is completely broken? Why on Earth would you want two NICs on the same subnet going to the same gateway? Unless

Re: Multi NIC and Multi IP problem

2006-10-25 Thread he ccjj
Well.Thank you very much. On 10/25/06, George Borisov <[EMAIL PROTECTED]> wrote: he ccjj wrote: > > thanks,but I have another web site with the other IP a.b.c.e,How to > solve?Can only use eth 0's aliase? Please send future emails to the list (as well), as other people may benefit from this, o

Re: Multi NIC and Multi IP problem

2006-10-25 Thread George Borisov
he ccjj wrote: > > thanks,but I have another web site with the other IP a.b.c.e,How to > solve?Can only use eth 0's aliase? Please send future emails to the list (as well), as other people may benefit from this, or might be able to offer better advice. An easy way to do what you want is to add b

Re: Multi NIC and Multi IP problem

2006-10-25 Thread George Borisov
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 et

Multi NIC and Multi IP problem

2006-10-24 Thread he ccjj
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 25