OpenVZ Forum


Home » Mailing lists » Users » Dual networks. Routing issue?
RE: Dual networks. Routing issue? [message #43365 is a reply to message #43364] Wed, 31 August 2011 08:14 Go to previous messageGo to previous message
CM [Sprintserve.net] is currently offline  CM [Sprintserve.net]
Messages: 2
Registered: August 2011
Junior Member
-----Original Message-----
From: users-bounces@openvz.org [mailto:users-bounces@openvz.org] On Behalf
Of Einar S. Idsø
Sent: Wednesday, 31 August, 2011 4:02 PM
To: users@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
 
Read Message
Read Message
Read Message
Previous Topic: Kernel branches status change (stable: RHEL6, frozen: 2.6.27, 2.6.32, devel: none)
Next Topic: fuse filesystem inside a container?
Goto Forum:
  


Current Time: Sat Oct 04 17:56:00 GMT 2025

Total time taken to generate the page: 0.13297 seconds