[Users] Dual networks. Routing issue?
CM [Sprintserve.net]
silver at sprintserve.net
Wed Aug 31 04:14:30 EDT 2011
-----Original Message-----
From: users-bounces at openvz.org [mailto:users-bounces at openvz.org] On Behalf
Of Einar S. Idsø
Sent: Wednesday, 31 August, 2011 4:02 PM
To: users at openvz.org
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
More information about the Users
mailing list