Re: apparent routing problem

Sébastien Bonnet <[email protected]>
Newsgroups gmane.linux.redhat.piranha
Message-ID <[email protected]>
> I figured it was something like that. What would the syntax of my
> iptables command be if on my lvs router if it was configured like this:
> 
> virtual server: 10.0.3.132
> eth0: 10.0.3.133
> eth1: 10.0.1.6
> nat router: 10.0.1.254

There's no iptables need, ipvs *is* masquerading your traffic. You just
need to set the default route thru the director on the realservers :

route add default gw 10.0.1.254

The permanent way to do that is to edit /etc/sysconfig/network and set
GATEWAY=10.0.1.254

-- 
Sébastien Bonnet
  Centre de contacts - Experian France
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.