[lvs-users] CentOS 4.7 (2.6.9-based) -- LVS-NAT return packets leaving via wrong interface

Graeme Fowler graeme at graemef.net
Thu Mar 12 10:57:27 GMT 2009

On Wed, 2009-03-11 at 19:14 -0500, Charles Duffy wrote:
> # ip rule show
> 0:      from all lookup local
> 32764:  from <INTERNAL_NET> lookup int
> 32765:  from <EXTERNAL_NET> lookup ext
> 32766:  from all lookup main
> 32767:  from all lookup default
> # ip route show table ext
> <EXTERNAL_NET> dev eth1  scope link
> default via <EXTERNAL_GW> dev eth1
> # ip route show table int
> <INTERNAL_NET> dev eth0  scope link
> default via <INTERNAL_GW> dev eth0

Simple fix: have a single default route. You should only very rarely
have two defaults. If you make sure your box has a single default route
via EXTERNAL_GW then your problem will resolve itself.

Networking 101 :)


More information about the lvs-users mailing list