OpenVZ Forum


Home » General » Support » CentOS 5 - Network creates venet0:0
CentOS 5 - Network creates venet0:0 [message #33253] Thu, 02 October 2008 10:19 Go to next message
andylockran is currently offline  andylockran
Messages: 3
Registered: June 2008
Junior Member
I'm having a weird problem with my CentOS 5 installation. I've installed CentOS5 from the original template. The problem I have is that when --ipadd is called.. it adds the interface as venet0:0. If I try and manually set venet0 to the external interface (it is set to 127.0.0.1) then I lose connectivity.

Any ideas?

Regards,

andylockran
Re: CentOS 5 - Network creates venet0:0 [message #33255 is a reply to message #33253] Thu, 02 October 2008 10:47 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
It's not a weird problem it's a common way the "vzctl --ipadd" works. It creates an additional alias when you want to add ip address.
Re: CentOS 5 - Network creates venet0:0 [message #33256 is a reply to message #33255] Thu, 02 October 2008 11:23 Go to previous messageGo to next message
andylockran is currently offline  andylockran
Messages: 3
Registered: June 2008
Junior Member
Is there a way to circument this method, and to make the container use the venet0 interface (like in the Debian guest) - otherwise I can't run samba inside the container.

Regards,

Andy
Re: CentOS 5 - Network creates venet0:0 [message #33260 is a reply to message #33256] Thu, 02 October 2008 15:31 Go to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hello,

Quote:


and to make the container use the venet0 interface (like in the Debian guest)



Could you please describe what do you have in mind?
What does it mean "use the venet0 interface"?
If you assign an ip address to your VE via "vzctl --ipadd" utility your VE uses venet0 interface.
The debian guest behavior is the same or ... What is confusing you?

Quote:


otherwise I can't run samba inside the container.


Please, describe what did you bump into?
Previous Topic: 2.6.26-openvz in semi prod
Next Topic: vps.mount not mounting
Goto Forum:
  


Current Time: Sun May 12 11:48:36 GMT 2024

Total time taken to generate the page: 0.01451 seconds