meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
vm:proxmox:issues:no_dhcp_offer [2022/10/26 20:23] niziakvm:proxmox:issues:no_dhcp_offer [2022/10/27 21:08] (current) niziak
Line 1: Line 1:
 ====== No DCHPOFFERS received ====== ====== No DCHPOFFERS received ======
  
-Host networt was changed to use bond0 as vmbr0 interface. +Host network was changed to use bond0 as vmbr0 interface. 
-Now problems appears - guest cannot obtain IP address:+<code> 
 +01:00.0 Ethernet controller: Emulex Corporation OneConnect 10Gb NIC (be3) (rev 02) 
 +01:00.1 Ethernet controller: Emulex Corporation OneConnect 10Gb NIC (be3) (rev 02) 
 +</code> 
 + 
 +Now problems appears - guests (LXCs and VMs) cannot obtain IP address:
 <code> <code>
 dhclient[478]: DHCPDISCOVER on ens18 to 255.255.255.255 port 67 interval 7 dhclient[478]: DHCPDISCOVER on ens18 to 255.255.255.255 port 67 interval 7
Line 17: Line 22:
  
  
 +===== Workaround =====
 +
 +Disable MAC learning on bridge. Now it behaves like hub, and every packet will be passed to every port.
 +
 +<code>
 brctl setageing vmbr0 0 brctl setageing vmbr0 0
 +</code>
  
 Once MAC learning is turned off, a Linux bridge will flood every incoming packet to the rest of the ports. Understand this implication before proceeding. Once MAC learning is turned off, a Linux bridge will flood every incoming packet to the rest of the ports. Understand this implication before proceeding.
Line 32: Line 43:
 </code> </code>
  
 +===== Solution =====
 +
 +Upgrade Emulex OC11 card firmware to recent version. More here: [[hw:server:10gbe#firmware]]
 +
 +
 +====== References ======
 +
 +
 +Important:
 +  - [[https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1946028|DHCP Offer not traversing linux bridge]]
 +    - "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."
 +
 +Others:
 +  - [[https://forum.proxmox.com/threads/guest-promisc.25090/#post-125788|guest promisc]]
 +  - [[https://forum.proxmox.com/threads/vm-push-eth-into-promisc-mode.5245/#post-37741|VM-push eth into promisc mode]]
 +  - [[https://forum.proxmox.com/threads/my-bridge-does-not-work.4726/page-2#post-31207|My bridge does not work]]
 +  - [[https://forum.proxmox.com/threads/be2net-driver.5275/#post-30345|]]
 +  - [[http://www.linux-kvm.org/page/HOWTO_BONDING|NIC Bonding]]
 +  - [[https://forum.proxmox.com/threads/network-sensor-monitor-session-promiscuous.37845/#post-434741|Network Sensor (monitor session - promiscuous)]]
 +  - [[https://forum.proxmox.com/threads/send-mirrored-traffic-into-guest-vm.48002/#post-225399|Send mirrored traffic into guest vm]]