Simple Router on FreeBSD - Which should I use?
wmoran at potentialtech.com
Mon Apr 19 14:51:55 PDT 2004
> I would like to setup a simple router, for the following:
> Enable a 192.168.1.0 255.255.255.0 network talk to a 10.10.0.0 255.255.0.0
> network, and obviously vise versa.
You'll probably just want to set gateway_enable=yes and natd_enable=yes
I believe there are a number of tutorials on this, one in the handbook?
> Now the 10.10.0.0 is tentative, so I am also wondering on a network with less
> then 240 network nodes, if a 255.255.0.0 subnet mask would cause any
> disadvantages, versus using a 255.255.255.0 subnet mask?
I wouldn't recommend using 255.255.0.0. It'll work fine for now, but if
you start to scale up you'll wish you didn't have 65536 hosts on a single
If you're sure you'll never be scaling up, then that netmask is fine, it
won't cause any problems. If you're sure, can I borrow your crystal ball
some time? ;)
More information about the freebsd-questions