OpenVZ Forum


Home » General » Support » [SOLVED] Routing problem in VE
[SOLVED] Routing problem in VE [message #12988] Wed, 16 May 2007 23:39 Go to previous message
wilf is currently offline  wilf
Messages: 30
Registered: January 2007
Location: UK
Member
Hello All,

I have installed a machine at a client.

I want access to the following ip's
	10.11.15.101
	10.1.4.191
	10.1.4.192
	10.1.1.191
	10.1.1.192
	10.200.6.1
with the gateway ip 10.0.254.2. This has been achieved in the base instance with the following net.eth0
config_eth0=( "10.0.253.72 netmask 255.255.0.0 broadcast 10.0.255.255" )
routes_eth0=( "10.0.253.0/24 via 10.0.254.2"
                "default via 10.0.254.2" )
However the VE (there is only one ATM) works perfectly except it cannot see either of the 10.1.4 addresses.

I don't have a clue what is going on and I would be very grateful if you can point out the error of my ways Smile

Following is what is seen in the base instance and the VE. If you want any more information, please ask.
BASE-INSTANCE conf.d # netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
10.0.253.0      10.0.254.2      255.255.255.0   UG        0 0          0 eth0
10.0.0.0        0.0.0.0         255.255.0.0     U         0 0          0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0 lo
0.0.0.0         10.0.254.2      0.0.0.0         UG        0 0          0 eth0
BASE-INSTANCE conf.d # vzctl enter 201
entered into VE 201
VE-LIVE / # netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.0.2.0       0.0.0.0         255.255.255.0   U         0 0          0 venet0
127.0.0.0       127.0.0.1       255.0.0.0       UG        0 0          0 lo
0.0.0.0         192.0.2.1       0.0.0.0         UG        0 0          0 venet0
VE-LIVE / # cat /etc/conf.d/net
config_venet0=(   "10.0.253.133/32" )
routes_venet0=(  "-net 192.0.2.0/24"  "default via 192.0.2.1" )


Thanks in advance, Best Regards, Paul.

[Updated on: Mon, 21 May 2007 10:24]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: *SOLVED* Is OpenVZ in Parallels vm known to work?
Next Topic: Problem starting VPS services (mysql)
Goto Forum:
  


Current Time: Wed Aug 14 19:22:51 GMT 2024

Total time taken to generate the page: 0.02700 seconds