there is an issues when trying to add a new interfaces , but it's possible that the remote peer isn't present on same devices or namespace ,so we have this limitation , eg :
[email protected]# set int virtual-ethernet veth1000 address 192.168.10.10/24 [edit] [email protected]# commit [ interfaces virtual-ethernet veth1000 ] Remote peer name must be set for "veth1000"!
however , it's possible to configure or use , perhaps , peer remote is not present in this device (it may be in a namespace or different VM) e.g
sudo ip link add veth1 type veth peer name veth2 sudo ip link set dev veth2 up sudo ip link set dev veth1 up sudo ip link add link veth1 veth1.100 type vlan proto 802.1ad id 100 sudo ip link set dev veth1.100 up sudo ip addr add 1.1.1.4/24 dev veth1.100