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: *
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: 475
Registered: January 2006
Location: Moscow, Russia
Senior Member
From: *
# 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: Is OpenVZ 7 ready for production?
Goto Forum:

Current Time: Sat Aug 19 16:47:41 GMT 2017