Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Jul 1997 09:16:36 +0300
From:      Nadav Eiron <nadav@barcode.co.il>
To:        robert@chalmers.com.au
Cc:        freebsd-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Question: using the Non-Assigned IP numbers and routing
Message-ID:  <33B8A0C4.6703@barcode.co.il>
References:  <33B82BED.4A80@chalmers.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Robert wrote:
> 
> Another question.
> 
> If I have a fbsd machine, attached to an ISP, with an assigned
> IP provided by the ISP, how do I set up those 196.x.x.x IP numbers
> on my "internal" route so that the machines on the internal net
> can all see through the fbsd machine and out to the Internet,
> and so the internet can send email in to the machines on the
> internal net, without the internal net numbers being visable
> to the Internet at large. Which of course they shuldn't be.
> 
> Thanks for any pointers here. routing confuses the hell out of me!
> 
> cheers,
> Bob
> --
> http://www.chalmers.com.au Books-New & Secondhand  Support Whirled Peas.
> Agents for CIBTC. Associate of Amazon.com, and Partner Program with iBS.
> Books about China, books from China.         Sheng huo jiu shi dou zheng
> Business Links in Dalian, and Beijing.          Building the China Trade

First, the block of unassigned (private) C-class addresses is
192.168.x.x. Next, what you're looking for is generally called IP
aliasing or NAT (Network Address Translation). If you're using a dial-up
connection on your FreeBSD machine, read the ppp tutorial at
http://www.freebsd.org/tutorials/ppp/ppp.html

If not (i.e. you have a fixed connection adn a router, and you use
FreeBSD as an internal router or as a firewall), take a look at the IP
aliasing tutorial, as well as the docs for natd.

Nadav



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33B8A0C4.6703>