[lvs-users] 2 directors, 2 different networks

Janusz Krzysztofik jkrzyszt at tis.icnet.pl
Mon Oct 1 12:32:18 BST 2007


jcpetit at syspark.com napisał(a):
> Each realserver
> eth0 : IP (192.168.1.10x) / GW (192.168.1.254)
> eth1 : IP (192.168.2.10x) / GW (192.168.2.254)
> 
> I think we just need to established that gateway must be 192.168.1.254 for
> eth0 and 192.168.2.254 for eth1 on each realservers. But I just don't know
> how.

For example:
  ip rule add prio 1000 from 192.168.2.201 lookup 100
  ip route add table 100 default via 192.168.2.254 dev eth1

Janusz





Search lvs-users Archives
Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort

More information about the lvs-users mailing list