[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: Traffic going to eth1 is goin



>  -----Original Message-----
>  From: redhat-list-bounces redhat com 
>  [mailto:redhat-list-bounces redhat com] On Behalf Of Michael Simpson
>  Sent: Thursday, January 15, 2009 8:49 AM
>  To: General Red Hat Linux discussion list
>  Subject: Re: Traffic going to eth1 is goin
>  
>  On 1/13/09, Ugo Bellavance <ugob lubik ca> wrote:
>  > Hi,
>  >
>  > I'm scratching my head on this one...
>  >
>  > I've configured a server with 2 network interfaces, eth0 
>  and eth1.  eth0 =
>  > 192.168.2.211 and eth1 = 192.168.2.212.  eth1 seemed to 
>  work properly, but
>  > whenever I open a connection to 192.168.2.212, I see the 
>  traffic on eth0.
>  
>  you can't use 2 interfaces on the same subnet without bonding
>  you used to be able to years ago but it doesn't work now
>  note your default route
>  
>  mike

That's not strictly true.  You can use as many interfaces on the same
subnet as you want and traffic to the IP addresses on those interfaces
will come in initially on that interface, but then the local routing
rules will force the traffic out the default route, which would appear
to be eth0.  You can change that behavior by setting up iptables rules
that force the traffic over different interfaces depending on the source
/ destination of the traffic.

Maarten Broekman
Email: maarten broekman fmr com

 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]