I've created br0 on the HOST with a single eth interface, it receives an IP and I can access it over ssh from other hosts in the network:

br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet  netmask  broadcast
        inet6 fe80::9ecf:6d35:bc82:c5e1  prefixlen 64  scopeid 0x20<link>
        ether 00:1c:c4:47:ce:72  txqueuelen 1000  (Ethernet)
        RX packets 93667  bytes 23521427 (22.4 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 31242  bytes 2603126 (2.4 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

br0     8000.001cc447ce72   yes     enp5s0f1

In KVM I've created the bridged network and assigned it to my VM:

# virsh net-list --all
 Name                 State      Autostart     Persistent
 host-bridge          active     yes           yes

# cat host-bridge.xml 
  <forward mode="bridge"/>
  <bridge name="br0"/>

When I boot the VM (centos8, no FW) it does not receive any IP, dhclient times out, etc.

Any ideas what I'm missing? I've looked on the host firewall and I have a /24 allowance for the br0 interface for the home network.

  • 1
    You have to check the DHCP server's configuration and logs. – berndbausch Feb 11 at 15:29
  • tcpdump on the host doesnt even show DHCP reaching it, I don't think its the DHCP – Neil R Wylie Feb 11 at 15:31
  • If the VM issues DHCP requests, you should see them by tracing vnet0 or vnet1, and also br0. If you don't see them on those interfaces, the requests are not made. – berndbausch Feb 11 at 15:36
  • Wild guess: unix.stackexchange.com/questions/499756/… . Try rmmod br_netfilter on the host to quickly check if that's related to this. – A.B Feb 11 at 19:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.