im trying to configure a bridge network on Ubuntu 20.04. There are 4 ethernet ports in the brige. This is how the corresponding netplan config looks like:
network:
version: 2
ethernets:
enp15s0:
dhcp4: no
dhcp6: no
enp12s0:
dhcp4: no
dhcp6: no
enp11s0:
dhcp4: no
dhcp6: no
enp10s0:
dhcp4: no
dhcp6: no
bridges:
br1:
interfaces: [enp12s0,enp11s0,enp10s0,enp15s0]
addresses: [192.168.1.1/24]
dhcp4: no
dhcp6: no
To three of those ethernet ports some hardware with a fixed IPs is connected. Those are three devices with 192.168.1.50, 192.168.1.51 and 192.168.1.52. Further we have a dhcp config, which shall ensure, that when someone connects to enp15s0, he will receive an IP in the correct sub net and will be able to access the connected devices. The dhcp config is the following:
# dhcpd.conf
# option definitions common to all supported networks...
option domain-name "kira";
default-lease-time 600;
max-lease-time 7200;
# The ddns-updates-style parameter controls whether or not the server will
# attempt to do a DNS update when a lease is confirmed. We default to the
# behavior of the version 2 packages ('none', since DHCP v2 didn't
# have support for DDNS.)
ddns-update-style none;
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
#authoritative;
# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
#log-facility local7;
# No service will be given on this subnet, but declaring it helps the
# DHCP server to understand the network topology.
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.100 192.168.1.199;
interface br1;
}
When i attach a windows pc to the enp15s0 port, this is what i get:
- the windows pc will get a dhcp assigned address, e.g.
192.168.1.101 - i can ping the windows pc from the linux machine just fine
- on the linux machine i can ping the three devices with
192.168.1.50-52 - however on Windows i just can ping the Linux machine
192.168.1.1but not the individual devices in this bridge subnet. - this is how the windows ethernet config looks like, when i plug in the pc:

Can someone point me into the right direction, what might be missing. What i want to achieve again: plug in the windows pc and be able to ping all devices hanging in the 192.168.1.xx subnet.
Update:
i've added a default gateway to the dhcp config, now the Windows pc also receives the gateway, but the problem still exists:
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.100 192.168.1.199;
interface br1;
option subnet-mask 255.255.255.0;
option routers 192.168.1.1;
}
Update 2
output of iptables-save
# Generated by iptables-save v1.8.4 on Fri Sep 25 17:05:52 2020
*filter
:INPUT ACCEPT [9581:2167049]
:FORWARD DROP [0:0]
:OUTPUT ACCEPT [9626:1660600]
:DOCKER - [0:0]
:DOCKER-ISOLATION-STAGE-1 - [0:0]
:DOCKER-ISOLATION-STAGE-2 - [0:0]
:DOCKER-USER - [0:0]
-A FORWARD -j DOCKER-USER
-A FORWARD -j DOCKER-ISOLATION-STAGE-1
-A FORWARD -o docker0 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -o docker0 -j DOCKER
-A FORWARD -i docker0 ! -o docker0 -j ACCEPT
-A FORWARD -i docker0 -o docker0 -j ACCEPT
-A DOCKER-ISOLATION-STAGE-1 -i docker0 ! -o docker0 -j DOCKER-ISOLATION-STAGE-2
-A DOCKER-ISOLATION-STAGE-1 -j RETURN
-A DOCKER-ISOLATION-STAGE-2 -o docker0 -j DROP
-A DOCKER-ISOLATION-STAGE-2 -j RETURN
-A DOCKER-USER -j RETURN
COMMIT
# Completed on Fri Sep 25 17:05:52 2020
# Generated by iptables-save v1.8.4 on Fri Sep 25 17:05:52 2020
*nat
:PREROUTING ACCEPT [2:398]
:INPUT ACCEPT [2:398]
:OUTPUT ACCEPT [259:17356]
:POSTROUTING ACCEPT [259:17356]
:DOCKER - [0:0]
-A PREROUTING -m addrtype --dst-type LOCAL -j DOCKER
-A OUTPUT ! -d 127.0.0.0/8 -m addrtype --dst-type LOCAL -j DOCKER
-A POSTROUTING -s 172.17.0.0/16 ! -o docker0 -j MASQUERADE
-A DOCKER -i docker0 -j RETURN
COMMIT
# Completed on Fri Sep 25 17:05:52 2020

