[Bug 1946028] Re: DHCP Offer not traversing linux bridge

2021-10-04 Thread Andre Ruiz
Ok, I should have waited for the firmware upgrade before posting this.

They seemed to be pretty outdated, went from FW v10.2.377.29 to
v11.4.1186.4

And... drum roll. it worked. Fixed the problem.


** Changed in: linux (Ubuntu)
   Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946028

Title:
  DHCP Offer not traversing linux bridge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1946028/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946028] Re: DHCP Offer not traversing linux bridge

2021-10-04 Thread Andre Ruiz
Just for clarification:

There are 2 DHCP servers on this segment (one in HA, actually). Both
respond, and I can see both Offers in the bridge. One coming straight
from the host and another one form a different host via the uplink.
Neither of them reach the vm (which should receive both and choose one
to answer). When the uplink is out, the one from the host gets through.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946028

Title:
  DHCP Offer not traversing linux bridge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1946028/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946028] Re: DHCP Offer not traversing linux bridge

2021-10-04 Thread Andre Ruiz
I'm also seeing a lot of "[263380.267602] br-bond0: received packet on bond0 
with own address as source address (addr:4a:e1:8f:bc:32:3d, vlan:0)" in dmesg 
when I add the ip manually (and it works -- but gives me these messages).

I don't think how a loop could be in play here, with only 1 uplink port
and 1 vm port.

The customer says they have STP enable on the rest of the network and a
loop outside is very unlikely. I'm ignoring this for now.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946028

Title:
  DHCP Offer not traversing linux bridge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1946028/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946028] Re: DHCP Offer not traversing linux bridge

2021-10-04 Thread Andre Ruiz
I tested setting ageing to 0 (suggested at some internet forums):

brctl setageing br-bond0 0

No improvement.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946028

Title:
  DHCP Offer not traversing linux bridge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1946028/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946028] Re: DHCP Offer not traversing linux bridge

2021-10-04 Thread Andre Ruiz
I tried the exact same things on different environments and it always works. It 
seems to be something related to this hardware, because it happens exactly the 
same on 3 machines.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946028

Title:
  DHCP Offer not traversing linux bridge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1946028/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946028] Re: DHCP Offer not traversing linux bridge

2021-10-04 Thread Andre Ruiz
apport information

** Tags added: apport-collected focal uec-images

** Description changed:

  
  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.
+ 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-firmware1.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

** Attachment added: "CRDA.txt"
   https://bugs.launchpad.net/bugs/1946028/+attachment/5530563/+files/CRDA.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946028

Title:
  DHCP Offer not traversing linux bridge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1946028/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946028] Re: DHCP Offer not traversing linux bridge

2021-10-04 Thread Andre Ruiz
This is the netplan config:

network:
  ethernets:
eno1: {}
enp22s0f1: {}
  bonds:
bond0:
  # vlan 3801 - OAM is native (no tag)
  interfaces:
  - eno1
  - enp22s0f1
  parameters:
primary: eno1
mode: active-backup
mii-monitor-interval: 1s
  mtu: 9000
  bridges:
br-bond0:
  addresses:
  - 100.126.0.12/23
  gateway4: 100.126.0.10
  nameservers:
addresses:
- 172.21.12.32
- 172.21.12.62
search: [ "oam.prd.infra.sicredi.net" ]
  interfaces:
  - bond0
  parameters:
forward-delay: 0
priority: 0
stp: false
  mtu: 9000
  version: 2

I tested with different MTU values with no changes to the result.

These are the interfaces in linux:

2: eno1:  mtu 9000 qdisc mq master bond0 
state UP group default qlen 1000
link/ether 72:34:88:50:6c:2c brd ff:ff:ff:ff:ff:ff

3: enp22s0f1:  mtu 9000 qdisc mq master 
bond0 state UP group default qlen 1000
link/ether 72:34:88:50:6c:2c brd ff:ff:ff:ff:ff:ff

6: br-bond0:  mtu 9000 qdisc noqueue state UP 
group default qlen 1000
link/ether 72:34:88:50:6c:2c brd ff:ff:ff:ff:ff:ff
inet 100.126.0.12/23 brd 100.126.1.255 scope global br-bond0
   valid_lft forever preferred_lft forever
inet6 fe80::5018:6cff:fecf:de8a/64 scope link 
   valid_lft forever preferred_lft forever

32: bond0:  mtu 9000 qdisc noqueue 
master br-bond0 state UP group default qlen 1000
link/ether 72:34:88:50:6c:2c brd ff:ff:ff:ff:ff:ff

39: tap864c7e54:  mtu 9000 qdisc mq master 
br-bond0 state UP group default qlen 1000
link/ether ba:a8:b7:fb:e1:00 brd ff:ff:ff:ff:ff:ff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946028

Title:
  DHCP Offer not traversing linux bridge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1946028/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946028] Re: DHCP Offer not traversing linux bridge

2021-10-04 Thread Andre Ruiz
This is the bridge info:

ubuntu@app2maas001p:~$ brctl show br-bond0
bridge name bridge id   STP enabled interfaces
br-bond08000.723488506c2c   no  bond0
tap864c7e54


ubuntu@app2maas001p:~$ brctl showstp br-bond0
br-bond0
 bridge id  8000.723488506c2c
 designated root8000.723488506c2c
 root port 0path cost  0
 max age  20.00 bridge max age20.00
 hello time2.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 id8001stateforwarding
 designated root8000.723488506c2c   path cost  2
 designated bridge  8000.723488506c2c   message age timer  0.00
 designated port8001forward delay timer0.00
 designated cost   0hold timer 0.00
 flags  

tap864c7e54 (2)
 port id8002stateforwarding
 designated root8000.723488506c2c   path cost100
 designated bridge  8000.723488506c2c   message age timer  0.00
 designated port8002forward delay timer0.00
 designated cost   0hold timer 0.00
 flags

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946028

Title:
  DHCP Offer not traversing linux bridge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1946028/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946028] Re: DHCP Offer not traversing linux bridge

2021-10-04 Thread Andre Ruiz
Iptables is empty with all ACCEPT policy.

ebtables is empty with all ACCEPT policy.

ufw is inactive.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946028

Title:
  DHCP Offer not traversing linux bridge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1946028/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs