OpenVZ Forum


Home » General » Discussions » Veth Interface (veth interface name)
Veth Interface [message #52711] Wed, 11 January 2017 16:28 Go to next message
Nav89 is currently offline  Nav89
Messages: 1
Registered: January 2017
Junior Member
From: *neclab.eu
Is it possible to create a custom name to the veth interface while creating the veth interface using following command:
"sudo vzctl set 101 --netif_add eth0 --save"

If not, could someone let me know the way to get the veth interface name as a return value after creating the interface.
Re: Veth Interface [message #52839 is a reply to message #52711] Tue, 16 May 2017 09:08 Go to previous messageGo to next message
khorenko is currently offline  khorenko
Messages: 479
Registered: January 2006
Location: Moscow, Russia
Senior Member
From: *virtuozzo.com
Quote:
# prlctl list 100 -i |grep veth
net0 (+) dev='veth42a8618e' ifname='eth0' network='Bridged' mac=001C42A8618E dhcp='yes'


If you problem is solved - please, report it!
It's even more important than reporting the problem itself...
Re: Veth Interface [message #52942 is a reply to message #52711] Sun, 03 September 2017 02:35 Go to previous message
mangust is currently offline  mangust
Messages: 34
Registered: April 2008
Location: Spain
Member
From: *red.226.225.212.procono.es
vzctl set 102 --netif_add em1 --save
vzctl set 102 --ifname em1 --host_ifname veth0.102 --save
Previous Topic: Reconfiguring network from scratch
Next Topic: Automated dedicated server transfer possible?
Goto Forum:
  


Current Time: Mon Oct 23 00:42:32 GMT 2017