<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Thanks for the link below, but I now
      about veth and venet.<br>
      I have read this article
      <a class="moz-txt-link-rfc2396E" href="https://openvz.org/Virtual_Ethernet_device#Independent_Virtual_Ethernet_communication_through_the_bridge">"https://openvz.org/Virtual_Ethernet_device#Independent_Virtual_Ethernet_communication_through_the_bridge"</a>
      but it didn't helped me.<br>
      <br>
      What I tried:<br>
      <br>
      I created a new Container:<br>
      <blockquote><small>vzctl create 101 --ostemplate=...</small><br>
        <br>
      </blockquote>
      I set a veth device: <br>
      <br>
      <blockquote><small>vzctl set 101 --netif_add eth0,"specified
          MAC",veth101.0 --save</small><br>
        <br>
      </blockquote>
      I added IP,Mask,Gateway inside the container and tried to ping but
      nothing happend.<br>
      Which steps do I forgot? Maybe the bridge and if yes could you
      give me more Information how to setup. But it is important that
      all other containers still have the venet and just on gets a veth.<br>
      <br>
      Thank you<br>
      <pre class="moz-signature" cols="72">_____________________________________________________

Auszubildender Fachinformatiker f&uuml;r Systemintegration
RWTH Aachen
Lehrstuhl f&uuml;r Integrierte Analogschaltungen
Raum 24C 313
Walter-Schottky-Haus
Sommerfeldstr. 24
D-52074 Aachen

<a class="moz-txt-link-abbreviated" href="http://www.ias.rwth-aachen.de">www.ias.rwth-aachen.de</a>

Email: <a class="moz-txt-link-abbreviated" href="mailto:Daniel.Thielking@ias.rwth-aachen.de">Daniel.Thielking@ias.rwth-aachen.de</a>
Phone: +49-(0)241-80-27771
  FAX: +49-(0)241-80-627771
_____________________________________________________</pre>
      Am 12.08.2014 17:13, schrieb Scott Dowdle:<br>
    </div>
    <blockquote
      cite="mid:28431146.18658.1407856424057.JavaMail.root@montanalinux.org"
      type="cite">
      <pre wrap="">Greetings,

----- Original Message -----
</pre>
      <blockquote type="cite">
        <pre wrap="">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
</pre>
      </blockquote>
      <pre wrap="">
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:

<a class="moz-txt-link-freetext" href="http://wiki.openvz.org/Differences_between_venet_and_veth">http://wiki.openvz.org/Differences_between_venet_and_veth</a>

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,
</pre>
    </blockquote>
    <br>
  </body>
</html>