Re: bridged virtual ethernets netif_add, veth_add [message #10929 is a reply to message #10925] |
Wed, 07 March 2007 15:22 |
|
curx
Messages: 739 Registered: February 2006 Location: Nürnberg, Germany
|
Senior Member |
|
|
the syntax of --netif_add differs to --veth_add
--netif_add ifname[,mac,host_ifname,host_mac]
ifname is the ethernet device name in the VE,
mac is its MAC address,
host_ifname is the ethernet device name on the host (VE0)
host_mac is its MAC address
as example:
vzctl set 101 --veth_add veth201.0,01:23:45:67:89:0A,eth2,01:23:45:67:89:0B
is same like:
vzctl set 101 --netif_add eth2,01:23:45:67:89:0B,veth201.0,01:23:45:67:89:0A
|
|
|