This is the bridge info:
ubuntu@app2maas001p:~$ brctl show br-bond0
bridge name bridge id STP enabled interfaces
br-bond0 8000.723488506c2c no bond0
tap864c7e54
ubuntu@app2maas001p:~$ brctl showstp br-bond0
br-bond0
bridge id 8000.723488506c2c
designated root 8000.723488506c2c
root port 0 path cost 0
max age 20.00 bridge max age 20.00
hello time 2.00 bridge hello time 2.00
forward delay 0.00 bridge forward delay 0.00
ageing time 300.00
hello timer 0.00 tcn timer 0.00
topology change timer 0.00 gc timer 1.32
flags
bond0 (1)
port id 8001 state forwarding
designated root 8000.723488506c2c path cost 2
designated bridge 8000.723488506c2c message age timer 0.00
designated port 8001 forward delay timer 0.00
designated cost 0 hold timer 0.00
flags
tap864c7e54 (2)
port id 8002 state forwarding
designated root 8000.723488506c2c path cost 100
designated bridge 8000.723488506c2c message age timer 0.00
designated port 8002 forward delay timer 0.00
designated cost 0 hold timer 0.00
flags
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1946028
Title:
DHCP Offer not traversing linux bridge
Status in linux package in Ubuntu:
Incomplete
Bug description:
I'm facing a problem in a customer where a VM plugged to a bridge will not
get DHCP responses from dhcp server running on the host or externally (the
bridge has level 2 external uplink).
Relevant information:
- focal with latest GA kernel (5.4.0-88)
- tested with HWE (5.11) and same results
- bridge is configured using netplan, with bond as uplink, ip on the bridge
- removed bond from the equation (bridge --> eno1), same result
- host can access external network with no problems using the uplink plugged
in the bridge
- dhcp server (ISC-DHCP) configured on the host
- stp on the bridge is disabled
Create VM, attach it to the bridge, power it on, boots. Requests IP
via DHCP. The discover can be seen on tcpdump inside the vm, and also
on the tcpdump on the host bridge. DHCP server answers with Offer,
that packet can be seen in the bridge but do not enter the VM.
If I manually put an IP on the VM, it pings the host and the external
world. Mac/ARP resolution seems to be working both ways (arping
tested).
Now, if I UNPLUG the uplink from the bridge (leaving only the host
itself with IP on the bridge and one VM plugged on it) then the VM can
get IP via DHCP, the Offer comes in. I'm not sure why it matters
having the uplink when dhcp requests are being answered locally.
After being able to ping externally, if I remove the IP and try DHCP
again, it fails again.
The hardware is a IBM HS23 blade with Emulex 10Gbit cards:
ubuntu@app2maas001p:~$ lspci -v | grep -i net
16:00.0 Ethernet controller: Emulex Corporation OneConnect 10Gb NIC (be3)
(rev 03)
Kernel driver in use: be2net
Kernel modules: be2net
16:00.1 Ethernet controller: Emulex Corporation OneConnect 10Gb NIC (be3)
(rev 03)
Kernel driver in use: be2net
Kernel modules: be2net
I'm verifying if there is firmware updates available but I doubt it. No extra
features (like FCoE, partitioning, etc.) are enabled on the card. It's a single
dual-port mezanine card.
---
ProblemType: Bug
AlsaDevices:
total 0
crw-rw----+ 1 root audio 116, 1 Oct 1 18:37 seq
crw-rw----+ 1 root audio 116, 33 Oct 1 18:37 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.20.11-0ubuntu27.20
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq',
'/dev/snd/timer'] failed with exit code 1:
CasperMD5CheckResult: pass
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2021-09-21 (13 days ago)
InstallationMedia: Ubuntu-Server 20.04.3 LTS "Focal Fossa" - Release amd64
(20210824)
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
MachineType: IBM BladeCenter HS23 -[7875AC1]-
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
Package: linux (not installed)
PciMultimedia:
ProcFB: 0 mgag200drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-88-generic
root=UUID=37c86220-68e3-45c6-b333-614ece4d7e57 ro
ProcVersionSignature: User Name 5.4.0-88.99-generic 5.4.140
RelatedPackageVersions:
linux-restricted-modules-5.4.0-88-generic N/A
linux-backports-modules-5.4.0-88-generic N/A
linux-firmware 1.187.17
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
Tags: focal uec-images
Uname: Linux 5.4.0-88-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip libvirt lxd plugdev sudo
_MarkForUpload: True
dmi.bios.date: 05/14/2014
dmi.bios.vendor: IBM
dmi.bios.version: -[TKE140YUS-1.60]-
dmi.board.name: 00AE761
dmi.board.vendor: IBM
dmi.chassis.asset.tag: none
dmi.chassis.type: 28
dmi.chassis.vendor: IBM
dmi.chassis.version: none
dmi.modalias:
dmi:bvnIBM:bvr-[TKE140YUS-1.60]-:bd05/14/2014:svnIBM:pnBladeCenterHS23-[7875AC1]-:pvr07:rvnIBM:rn00AE761:rvr:cvnIBM:ct28:cvrnone:
dmi.product.family: System X
dmi.product.name: BladeCenter HS23 -[7875AC1]-
dmi.product.version: 07
dmi.sys.vendor: IBM
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1946028/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp