OpenVZ Forum


Home » General » Support » no ip, mask and broadcast on venet0 on Debian 5
no ip, mask and broadcast on venet0 on Debian 5 [message #39099] Mon, 15 March 2010 12:44 Go to next message
dnatalini is currently offline  dnatalini
Messages: 2
Registered: March 2010
Junior Member
Hallo all
I'm new to this forum, and I'm trying to set up openvz networking through venet0. I'm on Debian lenny/squeeze.

I'm using ipmasq to setup the networking stuff, and it simply doesn't work

after a bit of investigation it turns out that ipmasq is getting confused by the fact that the venet0 interface has no netmask and no ip (and no broadcast, but I haven't checked if this represents a problem yet), so it gets discarded from the list of the interfaces

is this the normal behaviour or is it a bug?

I could simply assign such stuff to the interface, but I don't know if this is the right way to go and if it could cause other problems

any suggestions?


these are the openvz related packages installed in my box

$dpkg -l|grep vz
ii  linux-image-2.6.26-2-openvz-amd64    2.6.26-21lenny3
ii  vzctl                                3.0.22-14
ii  vzdump                               1.2.4-2
ii  vzquota                              3.0.11-1


thank you

Davide
Re: no ip, mask and broadcast on venet0 on Debian 5 [message #39101 is a reply to message #39099] Mon, 15 March 2010 13:51 Go to previous messageGo to next message
curx
Messages: 739
Registered: February 2006
Location: Nürnberg, Germany
Senior Member

Hi,

http://wiki.openvz.org/Using_NAT_for_container_with_private_ IPs

Bye,
Thorsten
Re: no ip, mask and broadcast on venet0 on Debian 5 [message #39125 is a reply to message #39101] Wed, 17 March 2010 13:56 Go to previous message
dnatalini is currently offline  dnatalini
Messages: 2
Registered: March 2010
Junior Member
That indeed solved the problem, thanks Smile

Before this, I spent some time looking for this kind of information in the wiki without success: maybe some more interconnection between the various pages could help

regards
Davide
Previous Topic: Failed to initialize HAL at Ubuntu 9.04 container startup
Next Topic: openvz node centos version
Goto Forum:
  


Current Time: Thu Nov 07 18:03:35 GMT 2024

Total time taken to generate the page: 0.03368 seconds