netplan doesn't use bridge when connecting with wlan0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Netplan |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I plan to bridge wifis, ethernets, and lxd so that lxd can get IP from the network either through the wired network or wireless device whichever is connected. However, in my Ubuntu 18.04 laptop, both devices (wlan0 and eths) gets IPs and the bridge0 is not created.
Here's my config:
network:
version: 2
renderer: NetworkManager
ethernets:
enp0s25:
renderer: NetworkManager
dhcp4: no
dhcp6: no
wifis:
wlan0:
renderer: NetworkManager
match: {}
access-
"open network": {}
bridges:
bridge0:
renderer: NetworkManager
dhcp4: yes
dhcp6: yes
interfaces: [wlan0, enp0s25]
ifconfig
...
enp0s25: flags=4163<
inet 192.168.7.118 netmask 255.255.255.0 broadcast 192.168.7.255
inet6 fd03:66e4:
inet6 fd03:66e4:3fc5::fec prefixlen 128 scopeid 0x0<global>
inet6 fe80::347a:
inet6 fd03:66e4:
ether 3c:97:0e:e1:34:41 txqueuelen 1000 (Ethernet)
RX packets 10601 bytes 8187079 (8.1 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 10713 bytes 1395573 (1.3 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 20 memory 0xf2500000-f2520000
...
wlan0: flags=4163<
inet 192.168.7.119 netmask 255.255.255.0 broadcast 192.168.7.255
inet6 fd03:66e4:
inet6 fe80::bed0:
inet6 fd03:66e4:
inet6 fd03:66e4:3fc5::fec prefixlen 128 scopeid 0x0<global>
ether 84:3a:4b:8e:e5:30 txqueuelen 1000 (Ethernet)
RX packets 110 bytes 17212 (17.2 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 134 bytes 39630 (39.6 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Thanks for the help.
Changed in netplan: | |
status: | Expired → New |
Changed in netplan: | |
status: | New → Confirmed |
Hello shemgp ,
Thank you for your report and trying to help make Ubuntu better.
I need some additional information to help make progress on this bug.
1. Could include the steps to reproduce this state? service'
2. Did you run 'netplan apply' after creating the configuration you've included?
3. Could you attach the output from 'nmcli conn'
4. Could you attach the output from 'journalctl -b -u NetworkManager.
Thanks