OpenVZ Forum


Home » General » Support » Assigning an IP address to venet0 on the HN (Making full use of venet0)
icon5.gif  Assigning an IP address to venet0 on the HN [message #37012] Tue, 11 August 2009 16:40 Go to previous message
Master One is currently offline  Master One
Messages: 9
Registered: October 2007
Junior Member
Is there any downside of assigning an IP address to venet0 on the hostnode?

I am sticking with venet instead of veth. The vz initscript (/etc/init.d/vz) does not assign an IP address to venet0 ("ip addr add 0.0.0.0/0 dev $VZDEV"), and that's the reason, why I can not use dnsmasq as dnscache running on the hostnode for the OpenVZ containers (since that requires an IP address to be used for assigning the nameserver).

So I changed that line in /etc/init.d/vz to "ip addr add 192.168.3.1 dev $VZDEV", all the containers are in the 192.168.3.0/24 network, and that way everything seems to work as supposed to.

I just want to be sure, that that modification does not cause any problems (function- and security-wise).
 
Read Message icon5.gif
Read Message
Read Message
Previous Topic: Problem with tun interface...even after following docs
Next Topic: IBM RAID controller re-mount lock
Goto Forum:
  


Current Time: Fri Jul 26 04:27:55 GMT 2024

Total time taken to generate the page: 0.03313 seconds