Article ID: 3061, created on Nov 12, 2007, last review on May 11, 2014

  • Applies to:
  • Virtuozzo containers for Linux


Virtuozzo for Linux 3.0 SP1 support two networking modes - 'venet' and 'veth'.

In 'venet' mode (default mode) you could just set correct source for packets.

E.g. I have the node with two NICs - eth0 and eth1 and VE on this node with two IP addresses - and

Virtuozzo will try to set correct source if IP in VE match the network configured on the node, if it fail Virtuozzo will set IP of the first interface in VE as a source.

But if I set inside of VE source of packets addressed to network, packets will pass through eth1:
ip r a dev venet0  scope link  src

You may want to add this command to /etc/rc.local inside VE so that it will be configured on each VE startup.

In 'veth' mode you may configure gateway and any other parameters for each veth interface in VE. Please read the file '' for more
information about 'veth' mode - "VIRTUOZZO NETWORKING MODES" section. This file is shipped with Virtuozzo 3.0 SP1 distrib.

e8e50b42231236b82df27684e7ec0beb d02f9caf3e11b191a38179103495106f 2897d76d56d2010f4e3a28f864d69223

Email subscription for changes to this article
Save as PDF