support for dummy interfaces
Bug #1774203 reported by
Christian
This bug affects 33 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
netplan |
Fix Committed
|
Wishlist
|
Danilo Egea Gondolfo |
Bug Description
I am trying to create a dummy interface with the netplan config and it seems that it is not supported yet.
Something like this:
ip link add dev dummy1 type dummy
ip link set dummy1 up
ip addr add dev dummy1 192.0.2.10/32
Please add support for this as I would like to not spread network config in different places. Now I have to use systemd.netdev drop-ins I guess, to get this working.
tags: | added: fr-463 |
Changed in netplan: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
Changed in netplan: | |
status: | Confirmed → Triaged |
Changed in netplan: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
I have a customer who is migrating their cloud from Xenial/Mitaka to Bionic/Queens, and has begun the exercise of migrating their network topologies to netplan, but found that it does not support creating dummy interfaces (or, apparently support for OVS at this point[0]).
There is a bit of a workaround using a systemd unit, which may close the gap temporarily, but it may not apply to all environments (pseudocode below)
[Unit] target
Description=Create dummy interface
After=network.
[Service]
Type=oneshot
ExecStart=/sbin/ip li add dummy0 type dummy
I'd like to see native support in netplan for dummy interfaces, if possible.
[0] https:/ /bugs.launchpad .net/netplan/ +bug/1728134