FreeBSD-13.0
I have a host with three i/fs: em3 (192.168.0.0/16 private LAN), em4 (123.123.123.0/25 (public LAN), em5 (public WAN).
What I wish to do is to configure a bridge so that addresses from em3 can reach addresses on em4 and vice versa. And have traffic from both em3 and em4 can reach the WAN.
I tried this:
However, this does not work as I had hoped. Traffic from 123.123.123.71 still cannot reach 192.168.216.53 as an example. What else is required?
I have a host with three i/fs: em3 (192.168.0.0/16 private LAN), em4 (123.123.123.0/25 (public LAN), em5 (public WAN).
What I wish to do is to configure a bridge so that addresses from em3 can reach addresses on em4 and vice versa. And have traffic from both em3 and em4 can reach the WAN.
I tried this:
Code:
cloned_interfaces="bridge0"
ifconfig_bridge0="addm em3 stp addm em4 stp"
ifconfig_em3="up"
ifconfig_em4="up"
ifconfig_bridge0="inet 192.168.0.1/16"
ifconfig_bridge0_alias123="inet 123.123.123.1/25"
ifconfig_em5="inet 134.134.134.234/25"
defaultrouter="134.134.134.233"
gateway_enable="YES"
However, this does not work as I had hoped. Traffic from 123.123.123.71 still cannot reach 192.168.216.53 as an example. What else is required?