[CentOS] Multiple Internet facing Nics - Gateway issue

Thu Jul 2 04:22:36 UTC 2009
Christopher Chan <christopher.chan at bradbury.edu.hk>

Doug Coats wrote:
> Thanks for your responce!
>  
> If I open up Iptables to accept everything on eth3 and eth2 or turn it 
> off all together I get the same results.
>  
> I will have to look through your iproute2 commands to see how they 
> match up to mine.  Do you see anything different in mine that would 
> indicate the issue?
Well, besides the differences in ip route command parameters nothing 
sticks out at the moment.

What do get when you run 'ip rule list'?

Are you doing any NATing on this box too?
>  
>  
> On Wed, Jul 1, 2009 at 9:25 PM, Christopher Chan 
> <christopher.chan at bradbury.edu.hk 
> <mailto:christopher.chan at bradbury.edu.hk>> wrote:
>
>     Hello Doug,
>
>     Here are the iproute2 commands for a multigateway setup I did.
>
>     ip route add 220.232.217.72/29 <http://220.232.217.72/29> dev eth0
>      proto kernel  scope link src
>     220.232.217.78 table pacific
>     ip route add 10.9.0.0/17 <http://10.9.0.0/17> dev eth1  proto
>     kernel  scope link src
>     10.9.1.101 table pacific
>     ip route add default via 220.232.217.73 dev eth0 table pacific
>     ip route add 203.174.45.24/29 <http://203.174.45.24/29> dev eth2
>      proto kernel  scope link src
>     203.174.45.30 table wharf
>     ip route add 10.9.0.0/17 <http://10.9.0.0/17> dev eth1  proto
>     kernel  scope link src
>     10.9.1.101 table wharf
>     ip route add default via 203.174.45.25 dev eth2 table wharf
>     ip route add 59.152.193.16/29 <http://59.152.193.16/29> dev eth2
>      proto kernel  scope link src
>     59.152.193.22 table frahw
>     ip route add 10.9.0.0/17 <http://10.9.0.0/17> dev eth1  proto
>     kernel  scope link src
>     10.9.1.101 table frahw
>     ip route add default via 59.152.193.17 dev eth2 table wharf
>     ip route add 10.9.0.0/17 <http://10.9.0.0/17> dev eth1  proto
>     kernel  scope link src
>     10.9.1.101 table saurer
>     ip route add 10.0.0.0/8 <http://10.0.0.0/8> via 10.9.0.1 dev eth1
>     table saurer
>
>     ip rule add from 220.232.217.78 to default lookup pacific
>     ip rule add from 203.174.45.30 to default lookup wharf
>
>
>
>     You may also want to check your firewall rules too.
>
>
>     I must also say that there are no GATEWAY entries in my
>     ifcfg-ethx. Only
>     one in network.
>     _______________________________________________
>     CentOS mailing list
>     CentOS at centos.org <mailto:CentOS at centos.org>
>     http://lists.centos.org/mailman/listinfo/centos
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>