Cant set up 'empty bridge' with IP-addresses configure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Netplan |
Expired
|
Undecided
|
Unassigned |
Bug Description
I want to set up 'empty' bridges. They don't hold any interfaces, but do have IPs bound to them.
This does not work:
bridges:
virbr0:
dhcp4: no
dhcp6: no
accept-ra: no
interfaces: [ ] # leaving this out give same result
addresses: [10.255.255.1/24, "2001:db8:
virlan0:
dhcp4: no
dhcp6: no
accept-ra: no
interfaces: [ ] # leaving this out give same result
addresses: [10.33.41.1/24]
Result is the two bridge interfaces are created, but IP configuration is not applied. The bridge interfaces are 'state DOWN' in 'ip addr show' output. The 'networkctl' tool lists these devices as 'configuring:
IDX LINK TYPE OPERATIONAL SETUP
4 virlan0 ether no-carrier configuring
5 virbr0 ether no-carrier configuring
description: | updated |
I also encountered this and haven't found a workaround as of yet.
bridges:
forward- delay: 0
virbr0:
#interfaces: []
optional: true
dhcp4: no
dhcp6: no
parameters:
stp: false
addresses:
- 10.5.0.1/24
results in an no-carrier/ *configuring* bridge.