OpenVZ Forum


Home » General » Support » Make VEs looked like the standalone nodes
Make VEs looked like the standalone nodes [message #39870] Fri, 11 June 2010 15:01 Go to previous message
eywj is currently offline  eywj
Messages: 4
Registered: June 2010
Junior Member
According to the wiki http://wiki.openvz.org/Common_Networking_HOWTOs#Static_addre sses., it tells us we can use static addresses to make VEs visible to others on the LAN.


Quote:
Static addresses
This is very similar to using private addresses, except there is no need for masquerading and the VE will be visible to others on the LAN.
In this example the host has eth0 with address 192.168.1.53, and the VE will be set up with 192.168.1.101. The VE (101) is assumed to be freshly created and started, with no networking currently set up.
[host-node]# vzctl set 101 --ipadd 192.168.1.101 --save
[host-node]# echo 1 > /proc/sys/net/ipv4/ip_forward


However, in practice, it seems this is not the case. In an experiment environment, the host machine is of the IP address 192.168.0.5 which is in the LAN 192.168.0.0/24. When I start a VE with the IP 192.168.0.10. It cannot connect to the machines in the LAN and it also invisible in the LAN.

I wonder what the problem is, and how we can really make VEs in one host to be visible in the LAN as a standalone actual machine.

Thank you.

Bill

[Updated on: Fri, 11 June 2010 15:10]

Report message to a moderator

 
Read Message
Read Message
Previous Topic: Fedora 13, upstart problem
Next Topic: veth and venet on one hardware node
Goto Forum:
  


Current Time: Mon Aug 12 18:16:00 GMT 2024

Total time taken to generate the page: 0.02818 seconds