-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf
Of Einar S. Idsø
Sent: Wednesday, 31 August, 2011 4:02 PM
To: [email protected]
Subject: [Users] Dual networks. Routing issue?

Hi,

<snip> 
Here's the same output from the virtual host on x.x.x.179:
# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
169.254.0.0     0.0.0.0         255.255.0.0     U     1002   0        0
venet0
0.0.0.0         0.0.0.0         0.0.0.0         U     0      0        0
venet0

Can anyone advice?

================

You need to add a route on the virtual host using the private IP as the
gateway: 

i.e using your example

On the 1st VPS:

route add -net 10.0.0.0 netmask 255.255.255.0 gw 10.0.0.179

On the 2nd VPS:

route add -net 10.0.0.0 netmask 255.255.255.0 gw 10.0.0.173


Best Regards,
CM Ho







_______________________________________________
Users mailing list
[email protected]
https://openvz.org/mailman/listinfo/users

Reply via email to