Adding an IP address on a service VLAN (vif-s) is not propagated into the OS Kernel.
set interfaces ethernet eth1 vif-s 100 address '192.168.1.1/24'
ethernet eth1 {
duplex auto
hw-id 00:50:56:9d:d5:b6
smp-affinity auto
speed auto
vif-s 100 {
address 192.168.1.1/24
}
}vyos@vyos:~$ ip a | grep -A 5 "eth1.100"
17: eth1.100@eth1: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 00:50:56:9d:d5:b6 brd ff:ff:ff:ff:ff:ffAdding the address manually works so it seems not to be a Linux limitation.
cpo@LR1.wueIII:~$ sudo ip addr add "192.168.1.1/24" dev eth1.100
cpo@LR1.wueIII:~$ ip a | grep -A 5 "eth1.100"
17: eth1.100@eth1: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 00:50:56:9d:d5:b6 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.1/24 scope global eth1.100
valid_lft forever preferred_lft forever