OpenVZ Forum


Home » General » Support » *SOLVED* disable venet0
*SOLVED* disable venet0 [message #3849] Wed, 21 June 2006 15:55 Go to next message
dbeery is currently offline  dbeery
Messages: 34
Registered: April 2006
Location: Des Moines, IA
Member

Is there a way to disable or remove venet0 from the hardware node AND VPS? We are doing strictly veth devices and bridging but our network configs in the VPS are getting overwritten at each startup so that we have to manually redo them.

I'm speaking specifically of the /etc/sysconfig/network, /etc/sysconfig/ifcfg-venet0, and /etc/sysconfig/route-venet0 files that getting created.


Is this all there is to it?

http://forum.openvz.org/index.php?t=tree&th=270&mid= 1516&&rev=&reveal=

Thanks,
Derrick

[Updated on: Fri, 23 June 2006 06:13] by Moderator

Report message to a moderator

Re: disable venet0 [message #3855 is a reply to message #3849] Thu, 22 June 2006 06:17 Go to previous message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Yes, this is all you have to do:
http://forum.openvz.org/index.php?t=tree&th=270&mid= 1516&&rev=&reveal=

After these steps there will be no venet device.

FYI, files /etc/sysconfig/network, /etc/sysconfig/ifcfg-venet0 and /etc/sysconfig/route-venet0 are rewritten each time by scripts
/etc/vz/dists/scripts/redhat-add_ip.sh etc.
And these scipts are called only if you have added IP address to VPS (in config file of VE or using --ipadd). So if there is no IPs for VE (veth can have IP, of course) - the files in question will be not overwritten.

Good luck.
Previous Topic: /tmp problem
Next Topic: *SOLVED* vps won't start
Goto Forum:
  


Current Time: Sun Jul 21 14:20:19 GMT 2024

Total time taken to generate the page: 0.02331 seconds