Networking Questions

Bob Johnson bob89 at
Sat Apr 10 14:57:40 PDT 2004

On Saturday 10 April 2004 01:54 pm, Rob G <"Rob G" 
<admin at>> wrote:
> Hi All,
> I am new to the list, but I have tried researching the archives and
> couldn't find exactly what I am looking for and would like your
> opinion on how to do this:
> I have a 4Meg DSL connection with Multiple Static IPs.
> 69.63.33.### is my main IP that my router or System that does
> authentication will always get.
> 209.213.231.###/29 is my block of 8 other IP's that route to my main
> IP.

If your ISP is already routing these numbers to your main IP, then it 
should be easy.

> Right now I have my fsb box running mail/web and other services and I
> would like it to do the routing for my internal network of 4 or so
> computers.  I have a Hub that I can plug these other systems in to so
> that is not a problem.

I believe all you need to do is set gateway_enable="YES" in rc.conf (and 
reboot -- I don't know the manual way to accomplish that).  I think 
your box will automatically figure out which IP numbers are on which 
interface, and forward appropriately.  If not, you will need to set up 
a static route to tell it which interface the 209.../29 subnet is on, 
since it won't use the default gateway to the Internet.  Manually, you 
use the route(8) command to do this.  I think you can automate it with 
the static_routes="" entry in rc.conf, but I don't know the syntax.

> What would be the best way to use my block of statics and have them
> Route properly through my BSD box.  I would like to stay away from
> NAT as I know it right now, broadband router, as it causes havoc with
> my filesharing programs and would like to have my other systems
> pretty much open to the internet and then start locking them down as
> need be once I get them seeing the outside world and the outside
> world seeing them.

You shouldn't need to run a real router daemon for this simple 
situation, so you don't need to mess with router_enable in rc.conf.

Now that I've typed all this, it occurs to me that the better answer is 
for you to read the appropriate section of the FreeBSD Handbook:

> Regards,
> Rob G
> admin at

Good luck.

- Bob

More information about the freebsd-questions mailing list