Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jun 1999 15:22:46 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        Joe Konecny <jkonecn@green-mfg.com>
Cc:        FreeBSD Mailing List <freebsd-questions@FreeBSD.ORG>
Subject:   Re: ADSL
Message-ID:  <Pine.BSF.4.03.9906041521170.13154-100000@resnet.uoregon.edu>
In-Reply-To: <3756D18E.E9E4748B@green-mfg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 3 Jun 1999, Joe Konecny wrote:

> I finally have two 3c509's working in my 3.1-release machine.  I 
> would like pointers on how to configure this machine as a router.
> I have an ISP that has given me 4 static ip addresses.  The freebsd
> machine can access the internet via one of the 3c509's fine.  I have
> the other 3c509 connected to a hub and then a win95 machine connected
> to the hub.  So the win95 machine has an ip of it's own as does
> each freebsd nic.  I am unsure of what to do next to get the packets
> to go through the freebsd machine to win95.  I have
> gateway_enabled=YES set in rc.conf.  Does each fbsd nic and the
> win95 machine need the gateway ip that was given to me by my
> provider?

I suggest giving back 3 of those IPs and configuring your system for natd.
This way, you can have an arbitrary number of machines behind your FreeBSD
box and seamlessly proxy for them.  Beyond enabling gatewaying, you need
to build a kernel with the ipfw options and turn on natd and ipfw w/ an
'open' firewall in /etc/rc.conf.  You'll be ready to go next restart.  

For the internal net, you use fake addresses, like 192.168.0.*.

Doug White                               
Internet:  dwhite@resnet.uoregon.edu    | FreeBSD: The Power to Serve
http://gladstone.uoregon.edu/~dwhite    | www.freebsd.org



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.03.9906041521170.13154-100000>