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 message
khorenko is currently offline  khorenko
Messages: 473
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...
Previous Topic: OpenVZ with Kernel 4.X
Next Topic: OpenVZ userbars
Goto Forum:
  


Current Time: Sat May 27 23:21:57 GMT 2017