OpenVZ Forum


Home » General » Support » VE in separate subnet (other than HN)
VE in separate subnet (other than HN) [message #32979] Sat, 13 September 2008 15:49 Go to previous message
kuckus is currently offline  kuckus
Messages: 4
Registered: September 2008
Junior Member
Hi all,

I am on a Debian 4.0 system and got OpenVZ installed without complications (I've done it before). Now, there is one VE that I have created successfully, however, this VE so far is not able to communicate with the world outside of my HN.

What's working fine is pinging the VE from the HN as well as the HN from inside the VE, or doing things like SSH'ing from the HN to the VE and back to the HN.
Also, if I set the VE's IP as a second IP for the HN, the HN can be reached through this same IP over the Internet.


The setup I'd like to get to work is as follows:

HN's IP is 81.x.y.z,
HN's default gateway is 81.x.y.1.

The IP that I have available to use for the VE is 85.a.b.c/32 (broadcast address 85.a.b.255).


After assigning this IP to the VE, this is the routing table on the HN:

h50522.serverko *               255.255.255.255 UH    0      0        0 eth0
81.x.y.1    h50522.serverko 255.255.255.255 UGH   0      0        0 eth0
85.a.b.c  *               255.255.255.255 UH    0      0        0 venet0
default         81.x.y.1    0.0.0.0         UG    0      0        0 eth0



What could I be missing here to get the VE connected to the rest of the network/Internet?


If you need any more information, please let me know - any help would be greatly appreciated.


Thanks,


kuckus


/*edit:

Some more details:

- `ip route` in VE
192.0.2.1 dev venet0  scope link 
default via 192.0.2.1 dev venet0


- `ip -V` in VE
ip utility, iproute2-ss071016


- Kernel version running on HN: 2.6.18-12-fza-686

- `sysctl -p` on HN
net.ipv4.conf.default.forwarding = 1
net.ipv4.conf.default.proxy_arp = 0
net.ipv4.ip_forward = 1
net.ipv4.conf.all.rp_filter = 1
kernel.sysrq = 1
net.ipv4.conf.default.send_redirects = 1
net.ipv4.conf.all.send_redirects = 0


*/

[Updated on: Sat, 13 September 2008 16:19]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: NFS in VE == hang?
Next Topic: Kernel 2.6.24 ovz006 - Problems?
Goto Forum:
  


Current Time: Sun Jul 14 09:52:09 GMT 2024

Total time taken to generate the page: 0.02229 seconds