RE: Traffic going to eth1 is goin

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

 



>  -----Original Message-----
>  From: redhat-list-bounces@xxxxxxxxxx 
>  [mailto:redhat-list-bounces@xxxxxxxxxx] 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@xxxxxxxx> 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@xxxxxxx

 


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux