/srv/irclogs.ubuntu.com/2022/01/06/#netplan.txt

guesswhatguys? can i have 2 vlans as interfaces with same id from single nic ?08:57
guesswhatlike this network:08:58
guesswhat  ethernets:08:58
guesswhat    ens19: {}08:58
guesswhat  version: 208:58
guesswhat  vlans:08:58
guesswhat    ens19.200:08:58
guesswhat      id: 20008:58
guesswhat      link: ens1908:58
guesswhat    ens19.300:08:58
guesswhat      id: 20008:58
guesswhat      link: ens1908:58
guesswhathttps://pastebin.com/raw/PxMc0beT08:58
schopinguesswhat: it's not possible to have multiple VLAN itfs on the same VLAN ID, as far as I know. Trying it locally via iproute2, I get Error: 8021q: VLAN device already exists.09:57
schopinI don't think netplan itself checks, though.09:58
guesswhatschopin: oh.. and any other idea?10:12
schopinguesswhat: I don't really understand what you would want from this. Semantically, what would this mean? How would the kernel know on which itf to surface a given packet?10:13
guesswhatmaybe i am looking for subinterfaces on vlan ?10:25
schopinin order to help you we'd need to understand what is the problem you're trying to solve :)10:33
kjetilhosuch an appropriate nick15:05
Guest76Hi all. Question out of the blue in case anybody has any idea - can't find anything by searching... I'm currently using routable hooks to establish a new link and routing roles for a shim link to a docker macvlan network. Is there any way to put this in the netplan config itself? The commands I'm executing in the hook are:19:11
Guest76ip link add docker-shim link eth0 type macvlan mode bridge19:11
Guest76ip addr add 192.168.20.30/32 dev docker-shim19:11
Guest76ip link set docker-shim up19:11
Guest76ip route add 192.168.20.16/28 dev docker-shim19:11

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!