I am trying to create a bridge for xen virtual devices to connect to.
The br0 appears to be up but it will not pull an IP and the ipv6 link local on the br0 cannot be reached either
root@Inspiron15:/home/# ifconfig
br0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet6 fe80::6087:a7ff:feeb:ae35 prefixlen 64 scopeid 0x20<link>
ether 62:87:a7:eb:ae:35 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 5 bytes 414 (414.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
enx4ce173422757: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 4c:e1:73:42:27:57 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 1318 bytes 142311 (142.3 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1318 bytes 142311 (142.3 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlp0s20f3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.123 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::f285:75ec:cbfc:756 prefixlen 64 scopeid 0x20<link>
ether 40:1c:83:fb:2f:48 txqueuelen 1000 (Ethernet)
RX packets 30775 bytes 19053551 (19.0 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 27176 bytes 4228112 (4.2 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
and
root@Inspiron15:/home/# nmcli device status
DEVICE TYPE STATE CONNECTION
wlp0s20f3 wifi connected getAjobFool
br0 bridge connecting (getting IP configuration) netplan-br0
88:36:5F:01:0A:B5 bt disconnected --
BC:98:DF:6A:17:C1 bt disconnected --
p2p-dev-wlp0s20f3 wifi-p2p disconnected --
enx4ce173422757 ethernet unavailable --
lo loopback unmanaged --
I tried to give it a static IP in the netplan and that just brought both my wifi and the br0 down.
root@Inspiron15:/home/# cat /etc/netplan/01-network-manager-all.yaml
# Let NetworkManager manage all devices on this system
network:
version: 2
renderer: NetworkManager
network:
ethernets:
wlp0s20f3:
dhcp4: true
version: 2
bridges:
br0:
interfaces: [wlp0s20f3]
dhcp4: yes
#addresses: [192.168.1.230/24]
#gateway4: 192.168.1.1
I run
netplan generate
and
netplan apply
I also tried to manually start dhcp on the interface directly.
dhclient br0
It just hangs
How do I get dhcp to work on my br0?
OS: Ubuntu 20.04.2 LTS desktop
UPDATE:
I tried 2 other wireless NICs I had just to see if it was hardware related. Same issue with the other two.
Bridging driver appears loaded into the kernel.
# find /lib/modules/$(uname -r) -type f -name '*.ko'|grep bridge
/lib/modules/5.8.0-55-generic/kernel/net/bridge/bridge.ko