OpenVZ Forum


Home » General » Support » Networking problem
Networking problem [message #37783] Wed, 21 October 2009 07:27 Go to next message
Boris is currently offline  Boris
Messages: 2
Registered: May 2008
Junior Member
Hi everybody!

Centos 5 x86_64, kernel 2.6.18-128.2.1.el5.028stab064.7, vzctl 3.0.23.

There are 3 IP addresses on the server - a.b.x.c (hwnode ip) and two for containers - a.b.y.d and a.b.y.e.
After I created containers by vzctl create, added them IPs and started them, there is no network in containers.

Then I tried:
ifconfig eth0:0 up a.b.y.d netmask 255.255.255.192; sleep 1; ifconfig eth0:0 down

and networking became up for a few hours. Than, everything stopped working again.

What can I do with it?
Re: Networking problem [message #37813 is a reply to message #37783] Sat, 24 October 2009 10:58 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hi,

- please specify whether venet or veth is used.
- please, make sure that "arp -n" output contains VEs' ip addresses so that HN is able to respond to "arp who-has" requests.
- make sure that sysctl are set properly
http://wiki.openvz.org/Quick_installation#sysctl
- use tcpdump to examine network packets behavior
http://forum.openvz.org/index.php?t=tree&goto=27545& #msg_27545
Re: Networking problem [message #37814 is a reply to message #37813] Sat, 24 October 2009 11:10 Go to previous message
Boris is currently offline  Boris
Messages: 2
Registered: May 2008
Junior Member
I used venet, and it was my mistake.
I had read http://wiki.openvz.org/VEs_and_HNs_in_different_subnets and solved the problem.

Thanks for your answer!
Previous Topic: change memory ram for VE
Next Topic: Single IP number - multiple OpenVZ guests?
Goto Forum:
  


Current Time: Tue Aug 05 11:55:21 GMT 2025

Total time taken to generate the page: 1.15265 seconds