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
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: 532
Registered: January 2006
Location: Moscow, Russia
Senior Member
# prlctl list 100 -i |grep veth
net0 (+) dev='veth42a8618e' ifname='eth0' network='Bridged' mac=001C42A8618E dhcp='yes'

If your 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: 39
Registered: April 2008
Location: USA
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: Thu Feb 02 18:37:58 GMT 2023

Total time taken to generate the page: 0.00752 seconds