Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Sep 1996 08:53:42 +0200 (MET DST)
From:      bogusz@lib.amu.edu.pl
To:        mitch@hardware.com
Cc:        questions@FreeBSD.org
Subject:   Re: Private network & routing to the internet via PPP w/one IP
Message-ID:  <Pine.LNX.3.91.960925084235.7563C-100000@lib.amu.edu.pl>
In-Reply-To: <3248045D.5173@fsl.noaa.gov>

next in thread | previous in thread | raw e-mail | index | archive | help


On Tue, 24 Sep 1996, Sean Kelly wrote:

> Mitch James wrote:
> > My question is: Can
> > FreeBSD 2.1.5 route the trafic for a private IP network as it comes on the
> > CD-Rom without any other software? 
> 
> It sure can.  I do this with my systems at home: one FreeBSD host has a
> ppp connection to the Internet and an Ethernet interface to all the
> other FreeBSD hosts.  You just need to edit /etc/sysconfig and set the
> gateway option to YES:
> 
>    # If you want this host to be a gateway, set to YES.
>    gateway=YES
> 
> Also, make sure you've set up routing correctly.  
It means - do not forget following lines (an example from my router's
sysconfig)

network_interfaces="ed0 ed1 lo0"
ifconfig_ed0="inet 150.254.178.65  netmask 255.255.255.192"
ifconfig_ed1="inet 150.254.162.217 netmask 255.255.255.252"
ifconfig_lo0="inet localhost"

>Then, reboot your
> system. 
Remember to set the irqs and I/Os correctly (type -c at startup to
run the boot interpreter) for both your cards.
You will also have to run route -q 

Cheers,

Bogusz




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