OpenVZ Forum


Home » General » Support » Dedicating physical NIC ports to each VE without bridging, etc.
Re: Dedicating physical NIC ports to each VE without bridging, etc. [message #15962 is a reply to message #15960] Fri, 17 August 2007 05:55 Go to previous messageGo to previous message
den is currently offline  den
Messages: 494
Registered: December 2005
Senior Member
Basically, Ethernet device moved inside a VE is a normal Ethernet device visible to a VE. The device should "just work" after the move, i.e. you should assign an address to it and "up" it.

This means that all configuration staff you introduce is not needed. The only thing you need is to say
vzctl set NNN --netdev_add eth2 --save
and appropriately modify network startup scripts inside a VE in a normal way like with the plain Linux.

We do not see any problem if the device will have eth1-eth4 names inside a VE. We believe that this is a normal practice.

Unfortunately, renaming a device inside a VE to eth0 is a bad policy. We should store old device name on interface moving or you'll have a device name conflict on VE stop. So, device renaming interfaces are forbidden inside a VE.

There are some ways to rename an interface inside a VE or before an actual interface moving and we can describe them if you really need them.

Regards,
Den
 
Read Message
Read Message
Read Message
Previous Topic: cman
Next Topic: Pass environment variable via execve
Goto Forum:
  


Current Time: Mon Sep 16 07:10:26 GMT 2024

Total time taken to generate the page: 0.04027 seconds