[Users] Giving a container access to the dhcp server

Scott Dowdle dowdle at montanalinux.org
Tue Aug 12 08:13:44 PDT 2014


Greetings,

----- Original Message -----
> I have a problem to make a single container accesible to our network.
> Now I want to explain my problem.
> 
> We have in our environment a license-server this computer has its own
> MAC-address an all the licences are registered on this MAC-address.
> But this machine is very old an we want to consolidate our hardware to
> openvz. As far as good.
> 
> Some more:
> 
> We have running a Linux-HA Cluster with some Container running behind
> NAT and it works fine. But I need one with the MAC-address from the
> upper descriped license-server and it should also be directliy
> accessible through the network. I have read all the entries in the wiki

The default container network adapter is venet which has the same MAC address as the host and only allows you to do layer 3 stuff.  If you want to do layer 2 stuff you have to use use a veth device which you can assign a MAC address to.

See the wiki page on the differences between venet and veth:

http://wiki.openvz.org/Differences_between_venet_and_veth

I don't have a need for the layer 2 stuff so I stick with the default.

Hopefully there is enough documentation on setting up veth.  I know the man page for vzctl covers it as well as a few wiki pages... but sometimes I get the feeling from some users who appear in IRC... that it can be a bit confusing.

TYL,
-- 
Scott Dowdle
704 Church Street
Belgrade, MT 59714
(406)388-0827 [home]
(406)994-3931 [work]


More information about the Users mailing list