You are not logged in.
Hi guys.
I'm trying to set up bridge interface for my virtual machines. It seems that it works. All VMs are able to connect to each other and they do have access to the Internet. The problem that they can't reach the host where the bridge interface is running.
Could you please point me how to fix this?
Thank you.
Offline
We will need more info. What utility is configuring the network on the host? Configuration files? What is creating/configuring the bridge? Configuration files for this? Output of these commands may help (on host, some need sudo):
ip link
ip addr
brctl show
iptables-save
I'm sure i am missing something but this would be a start.
Offline
You might also tell us if you are using VMware, VirtualBox, Qemu ??
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
I'm trying to use qemu and libvirt.
Ethernet and bridge was configured with systemd-networkd service. I don't have any firewalls installed/configured
Interface configuration files:
eno1 (my Ethernet card)
[Match]
Name=eno1
[Network]
Bridge=br0
br0.netdev
[NetDev]
Name=br0
br0.network
[Match]
Name=br0
[Network]
#DNS=127.0.0.1
Address=192.168.88.254/24
Gateway=192.168.88.1
ip link; ip addr; brctl show
ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 4000 qdisc pfifo_fast master br0 state UP mode DEFAULT group default qlen 1000
link/ether c8:60:00:8c:ba:f5 brd ff:ff:ff:ff:ff:ff
3: enp12s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether c8:60:00:8c:b7:ae brd ff:ff:ff:ff:ff:ff
4: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 4000 qdisc noqueue state UP mode DEFAULT group default
link/ether c8:60:00:8c:ba:f5 brd ff:ff:ff:ff:ff:ff
5: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default
link/ether 9e:e7:59:ce:a0:02 brd ff:ff:ff:ff:ff:ff
ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 4000 qdisc pfifo_fast master br0 state UP group default qlen 1000
link/ether c8:60:00:8c:ba:f5 brd ff:ff:ff:ff:ff:ff
inet6 fe80::ca60:ff:fe8c:baf5/64 scope link
valid_lft forever preferred_lft forever
3: enp12s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 4000 qdisc pfifo_fast state DOWN group default qlen 1000
link/ether c8:60:00:8c:b7:ae brd ff:ff:ff:ff:ff:ff
4: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 4000 qdisc noqueue state UP group default
link/ether c8:60:00:8c:ba:f5 brd ff:ff:ff:ff:ff:ff
inet 192.168.88.254/24 brd 192.168.88.255 scope global br0
valid_lft forever preferred_lft forever
inet6 fe80::42c:f3ff:fe97:46f2/64 scope link
valid_lft forever preferred_lft forever
5: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default
link/ether 9e:e7:59:ce:a0:02 brd ff:ff:ff:ff:ff:ff
inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
valid_lft forever preferred_lft forever
6: macvtap0@br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 4000 qdisc pfifo_fast state UNKNOWN group default qlen 500
link/ether 52:54:00:85:2f:db brd ff:ff:ff:ff:ff:ff
inet6 fe80::5054:ff:fe85:2fdb/64 scope link
valid_lft forever preferred_lft forever
brctl show
bridge name bridge id STP enabled interfaces
br0 8000.c860008cbaf5 no eno1
virbr0 8000.000000000000 yes
arp on the host (192.168.88.245 - IP of my VM, was assigned by DHCP on the router)
Address HWtype HWaddress Flags Mask Iface
router ether d4:ca:6d:73:79:51 C br0
192.168.88.245 (incomplete) br0
Offline