By default the FreeBSD system will not forward IP packets between various network interfaces. In other words, routing functions (also known as gateway functions) are disabled.
If your intent is to use a FreeBSD system as stand-alone Internet workstation and not as a gateway between LAN nodes and your ISP you should skip forward to Section 2.4.
If you intend for the PPP program to service the local FreeBSD box as well as LAN workstations (as a router) you'll need to enable IP forwarding.
To enable IP Packet forwarding you'll need to edit the /etc/rc.conf file.
This file contains overrides of the defaults in /etc/defaults/rc.conf. The default gateway setting is controlled by the line
in that file. To override it, add a line like
NOTE: This line may already be set to 'gateway_enable="YES"' if IP forwarding was enabled when the FreeBSD system was installed.
|Verifying the Ethernet Interface Configuration||Up||Creating the List of other LAN Hosts(/etc/hosts)|
This, and other documents, can be downloaded from ftp.FreeBSD.org/pub/FreeBSD/doc/.
For questions about FreeBSD, read the
before contacting <questions@FreeBSD.org>.
For questions about this documentation, e-mail <doc@FreeBSD.org>.