I have a LAN. It connects to the internet via commercial NAT thingie. Works well enough.
Connected to this LAN, is aFreebsdFreeBSD machine. Also works well, networking as intended.
hHowever, in this machine, I have a second ethernet card, and connected to that, iI have a wifi base station. iI would like to make this all work together.
sSo far, iI think the base station is working correctly. it is configured without dhcp or nat, it is on a second subnet which also contains the freebsdFreeBSD second ethernet card. tThe freebsdFreeBSD machine can speak in both directions, to both LANs.
tThe problem comes, when iI want the freebsdFreeBSD machine routing traffic from the base station, to the original LAN and eventually internet. iI turned on the gateway sysctl, but that does not seem to be enough.
I am not sure I am understanding routing. I get how to add routes, and added them correctly for each LAN, and am able to access them fromfreebsdFreeBSD machine. However that seems to be only for traffic originating from freebsdFreeBSD machine itself. hHow do iI set routes for other traffic the freebsdFreeBSD machine sees on one side of its bridging? dDoes the gateway sysctl simply make the freebsdFreeBSD machine put all interfaces into a "pool", or - what am iI missing here?
Thanks!
Connected to this LAN, is a
I am not sure I am understanding routing. I get how to add routes, and added them correctly for each LAN, and am able to access them from
Thanks!