Hi Everyone,
I have a Red Hat Linux 9 system with two NICs and multiple bridged interfaces to facilitate multiple VLANs.
VLAN interfaces:
eno1: master bridge0
eno1.11: master bridge11
enp113s0.3201: master bridge3201
enp113s0.3210: master bridge3210
enp113s0.3220: master bridge3220
enp113s0.3230: master bridge3230
enp113s0.3240: master bridge3240
enp113s0.3250: master bridge3250
Interfaces [mostly bridged with one WiFi interface]
bridge0: inet4 192.168.10.5/24
route4 default via 192.168.10.1 metric 1
route4 192.168.10.0/24 metric 1
route4 192.168.11.0/24 via 192.168.10.1 metric 99
bridge11: inet4 192.168.11.5/24
route4 default via 192.168.11.1 metric 99
route4 default via 192.168.11.1 metric 432
route4 192.168.11.0/24 metric 432
wlp4s0: connected to reaver
inet4 192.168.10.12/24
route4 default via 192.168.10.1 metric 600
route4 192.168.10.0/24 metric 600
bridge3201: inet4 10.32.1.9/24
route4 10.32.1.0/24 metric 426
bridge3210: inet4 10.32.10.9/24
route4 10.32.10.0/24 metric 427
bridge3220: inet4 10.32.20.9/24
route4 10.32.20.0/24 metric 431
bridge3230: inet4 10.32.30.9/24
route4 10.32.30.0/24 metric 429
bridge3240: inet4 10.32.40.9/24
route4 10.32.40.0/24 metric 428
bridge3250: inet4 10.32.50.9/24
route4 10.32.50.0/24 metric 430
enp113s0: inet4 192.168.10.7/24
route4 192.168.10.0/24 metric 100
route4 default via 192.168.10.1 metric 100
route4 192.168.11.0/24 via 192.168.10.1 metric 99
The output of the route command:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default pfsense.totusme 0.0.0.0 UG 1 0 0 bridge0
default _gateway 0.0.0.0 UG 99 0 0 bridge11
default pfsense.totusme 0.0.0.0 UG 100 0 0 enp113s0
default _gateway 0.0.0.0 UG 432 0 0 bridge11
default pfsense.totusme 0.0.0.0 UG 600 0 0 wlp4s0
10.32.1.0 0.0.0.0 255.255.255.0 U 426 0 0 bridge3201
10.32.10.0 0.0.0.0 255.255.255.0 U 427 0 0 bridge3210
10.32.20.0 0.0.0.0 255.255.255.0 U 431 0 0 bridge3220
10.32.30.0 0.0.0.0 255.255.255.0 U 429 0 0 bridge3230
10.32.40.0 0.0.0.0 255.255.255.0 U 428 0 0 bridge3240
10.32.50.0 0.0.0.0 255.255.255.0 U 430 0 0 bridge3250
192.168.10.0 0.0.0.0 255.255.255.0 U 1 0 0 bridge0
192.168.10.0 0.0.0.0 255.255.255.0 U 100 0 0 enp113s0
192.168.10.0 0.0.0.0 255.255.255.0 U 600 0 0 wlp4s0
192.168.11.0 pfsense.totusme 255.255.255.0 UG 99 0 0 bridge0
192.168.11.0 pfsense.totusme 255.255.255.0 UG 99 0 0 enp113s0
192.168.11.0 0.0.0.0 255.255.255.0 U 432 0 0 bridge11
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0
I know this is a pretty crazy setup, but I’d like to better understand the routing metric and make it work so that traffic is returned on the same VLAN/network.
For instance, the interface bridge11 is on VLAN 11 with an IP address of 192.168.11.5, but any systems on that same VLAN can’t ping it nor can it ping out. That interface can’t even ping it’s own gateway at 192.168.11.1.
Other systems on that that same VLAN [without as many interfaces] can ping that gateway without issue.
I did add some routes to some of the interfaces to see if that would help, but I may have made things worse.
I’m not even sure how the range of gateway metrics got generated as it isn’t referenced in any of the interfaces.
I did set bridg0 to be a priority of 1, which makes it so that services on that system can get out.
The gateways are on two different pfSense boxes with 192.168.10.1 and 192.168.11.1 on one box and 10.32.1.1, 10.32.10.1, 10.32.20.1, 10.32.30.1, 10.32.40.1 and 10.32.50.1 on another box.
I know this might not be a lot to go off of, so whatever other information is needed, please let me know.
-Ubence