kvm bridge - no ip address

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
henninb

kvm bridge - no ip address

Post by henninb »

Trying to create a bridge for KVM. I have a single ethernet card. I get an ip address successfully on the br0 device. when I set the networking in KVM for br0 and start a VM I do not get an IP address. What am I missing?

sudo vi /etc/network/interfaces
auto br0

# Bridge setup
iface br0 inet dhcp
bridge_ports enp0s31f6 vnet0
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
henninb

Re: kvm bridge - no ip address

Post by henninb »

iptables is dropping packets on bridge. So if I turn off the bridge filter it gets an IP.

echo 0 | sudo tee /proc/sys/net/bridge/bridge-nf-call-iptables
Additionally dns is not functional either.

what is the correct way to address these two issues?
Locked

Return to “Networking”