[CentOS] Multiple Internet facing Nics - Gateway issue

Doug Coats dcoatshca at gmail.com
Thu Jul 2 02:35:51 UTC 2009


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?


On Wed, Jul 1, 2009 at 9:25 PM, Christopher Chan <
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 dev eth0  proto kernel  scope link src
> 220.232.217.78 table pacific
> ip route add 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 dev eth2  proto kernel  scope link src
> 203.174.45.30 table wharf
> ip route add 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 dev eth2  proto kernel  scope link src
> 59.152.193.22 table frahw
> ip route add 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 dev eth1  proto kernel  scope link src
> 10.9.1.101 table saurer
> ip route add 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
> http://lists.centos.org/mailman/listinfo/centos
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20090701/46e29a7c/attachment.html>


More information about the CentOS mailing list