Hello there.
I would like to set up my FreeBSD box as a router for my internal network. The box has 2 NICs on it and there will be 2 networks (192.168.1.x and 192.168.2.x). The first will be my internal network and the second will be the one that connects to the router of my ISP. I would like to know how I should do the configuration in order for the two networks to be able to see each other. Should I make an alias on one nic with an ip from the other network (if that is possible or maybe I didn't understand correct)? Or should I add static routes to rc.conf? If the latter what am I supposed to write in rc.conf?
Thanks in advance.
I would like to set up my FreeBSD box as a router for my internal network. The box has 2 NICs on it and there will be 2 networks (192.168.1.x and 192.168.2.x). The first will be my internal network and the second will be the one that connects to the router of my ISP. I would like to know how I should do the configuration in order for the two networks to be able to see each other. Should I make an alias on one nic with an ip from the other network (if that is possible or maybe I didn't understand correct)? Or should I add static routes to rc.conf? If the latter what am I supposed to write in rc.conf?
Thanks in advance.