Gateways and routing is something I can't get my head around.
If you want to connect to two different networks, 192.168.0.0 and 192.168.1.0 using two interfaces, em0 and ue0, can you set one as DHCP and the other as static and the adjust defaultrouter to change gateways?
Apologies for the newbie type questions.
I'd appreciate a link showing how to use these, maybe even a tutorial as I've never used such commands.
You can assign gateways using your dhcpd as well.
Not really, but it sounds like I need to.Do you know the difference between forwarding and routing?
My head hurts when I try to figure out how all this works, and I'm not sure f I have it set up properly./etc/rc.conf
/boot/loader.confCode:ifconfig_em0="DHCP" ifconfig_ue0="inet 192.168.1.2 netmask 255.255.255.0 fib 1" static_routes="fibue0" route_fibue0="default 192.168.1.1 -fib 1"
Code:net.fibs=2
DHCP will be the defaultrouter for em0 which is fib 0.