meta data for this page
  •  

This is an old revision of the document!


No DCHPOFFERS received

Host networt was changed to use bond0 as vmbr0 interface. Now problems appears - guest cannot obtain IP address:

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 14
dhclient[478]: DHCPDISCOVER on ens18 to 255.255.255.255 port 67 interval 10
dhclient[478]: DHCPDISCOVER on ens18 to 255.255.255.255 port 67 interval 10
dhclient[478]: DHCPDISCOVER on ens18 to 255.255.255.255 port 67 interval 19
dhclient[478]: DHCPDISCOVER on ens18 to 255.255.255.255 port 67 interval 1
dhclient[478]: No DHCPOFFERS received.

tcpdumping- on vmbr0 and guest tap interface shows that DHCP server replies with offer, but offer is not forwarded into guest. When guest is set to use static IP, everything works smoothly.

brctl setageing vmbr0 0

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.

auto vmbr0
iface vmbr0 inet manual
    bridge-ports bond0
    bridge-stp off
    bridge-fd 0
    bridge-ageing 0
    bridge-vlan-aware yes
    bridge-vids 2-4094