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 next 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

Re: Make VEs looked like the standalone nodes [message #39873 is a reply to message #39870] Fri, 11 June 2010 16:05 Go to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hello,

first of all
http://forum.openvz.org/index.php?t=msg&th=5501&star t=0&

Here are some tips about venet0
http://forum.openvz.org/index.php?t=msg&&th=7401& ;goto=35611#msg_35633

Use tcpdump utility to follow network packets.
Previous Topic: Fedora 13, upstart problem
Next Topic: veth and venet on one hardware node
Goto Forum:
  


Current Time: Sun Jul 14 14:17:58 GMT 2024

Total time taken to generate the page: 0.02328 seconds