OpenVZ Forum


Home » General » Support » *SOLVED* getting rid of venet0 - just physical interfaces
icon5.gif  *SOLVED* getting rid of venet0 - just physical interfaces [message #1489] Thu, 09 February 2006 23:21 Go to next message
mephisto is currently offline  mephisto
Messages: 34
Registered: February 2006
Member
Hi,

I've sucessfully added my hosts eth1 to my (only) vps with --netdev_add.

By removing the IP_ADDRESS line in the vps config file, I also got rid of venet0:0 - now how do I get rid of venet0 both on the host and the vps?

I don't want/need the interface at all, because I don't want the connection between the physical and the virtual machine (even though the interface is down).

Any hints on how to do this?

Regards,

Mephisto

[Updated on: Thu, 12 October 2006 12:32] by Moderator

Report message to a moderator

Re: getting rid of venet0 - just physical interfaces [message #1516 is a reply to message #1489] Fri, 10 February 2006 16:52 Go to previous messageGo to next message
dim is currently offline  dim
Messages: 344
Registered: August 2005
Senior Member
You need to comment out network setup in /etc/init.d/vz:

sed -i 's/\(.*setup_net\)$/#\1/' /etc/init.d/vz
/etc/init.d/vz restart

If you don't want restart service vz, then:
stop your VPSs,
ifconfig down venet0,
rmmod vznetdev


http://static.openvz.org/openvz_userbar_en.gif
Re: getting rid of venet0 - just physical interfaces [message #1544 is a reply to message #1489] Sun, 12 February 2006 10:00 Go to previous messageGo to next message
mephisto is currently offline  mephisto
Messages: 34
Registered: February 2006
Member
That worked, thanks.
Re: getting rid of venet0 - just physical interfaces [message #7352 is a reply to message #1489] Wed, 11 October 2006 19:31 Go to previous message
rudal is currently offline  rudal
Messages: 20
Registered: July 2006
Junior Member
can you add eth1 (maybe venet1) inside the VE on top of the current eth0 (venet0)?

Previous Topic: *SOLVED* Mysql dump error in VPS
Next Topic: *SOLVED* Asterisk inside VPS slow
Goto Forum:
  


Current Time: Fri Aug 23 04:17:03 GMT 2024

Total time taken to generate the page: 0.03120 seconds