guesswhat | guys? can i have 2 vlans as interfaces with same id from single nic ? | 08:57 |
---|---|---|
guesswhat | like this network: | 08:58 |
guesswhat | ethernets: | 08:58 |
guesswhat | ens19: {} | 08:58 |
guesswhat | version: 2 | 08:58 |
guesswhat | vlans: | 08:58 |
guesswhat | ens19.200: | 08:58 |
guesswhat | id: 200 | 08:58 |
guesswhat | link: ens19 | 08:58 |
guesswhat | ens19.300: | 08:58 |
guesswhat | id: 200 | 08:58 |
guesswhat | link: ens19 | 08:58 |
guesswhat | https://pastebin.com/raw/PxMc0beT | 08:58 |
schopin | guesswhat: 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 |
schopin | I don't think netplan itself checks, though. | 09:58 |
guesswhat | schopin: oh.. and any other idea? | 10:12 |
schopin | guesswhat: 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 |
guesswhat | maybe i am looking for subinterfaces on vlan ? | 10:25 |
schopin | in order to help you we'd need to understand what is the problem you're trying to solve :) | 10:33 |
kjetilho | such an appropriate nick | 15:05 |
Guest76 | Hi 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 |
Guest76 | ip link add docker-shim link eth0 type macvlan mode bridge | 19:11 |
Guest76 | ip addr add 192.168.20.30/32 dev docker-shim | 19:11 |
Guest76 | ip link set docker-shim up | 19:11 |
Guest76 | ip route add 192.168.20.16/28 dev docker-shim | 19:11 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!