From owner-freebsd-doc Sat Aug 17 14:42:53 2002
Delivered-To: freebsd-doc@freebsd.org
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
by hub.freebsd.org (Postfix) with ESMTP id A44DA37B400
for The '/etc/ppp/ppp.conf' file
contains the information and settings required to set up a
dial-out PPP connection. More than one configuration may be
- contained in this file. The FreeBSD handbook (XXX URL? XXX)
- describes the contents and syntax of this file in
- detail. This section will describe only the minimal
configuration to get a dial-out connection working. This command sets up a pair of "fake" IP addresses for
the local and remote sides of the PPP link. It instructs
- the PPP program to create an IP address of 127.1.1.1 for
+ the PPP program to request an IP address of 10.0.0.1 for
the local side of the 'tun0' (tunnel) device and 127.2.2.2
+ "EMPHASIS">tun0' (tunnel) device and 10.0.0.2
for the remote side. Appending '/0' to each address tells the PPP program
that zero of the bits that make up these addresses are
@@ -634,7 +632,13 @@
between the local and remote systems when the link is
established. The 255.255.255.0 string tells the PPP
program what Subnet mask to apply to these
- pseudo-interfaces.
- set ifaddr 127.1.1.1/0 127.2.2.2/0 255.255.255.0
+ set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
@@ -624,9 +622,9 @@
Remember, we have assumed that your ISP provides the IP addresses for both ends of the link! If your ISP @@ -642,13 +646,13 @@ your side when configuring your system, enter that IP address here instead of 127.1.1.1.
+ "emphasis">10.0.0.1.Conversely, if your ISP gave you a specific IP address that he uses on his end you should enter that IP address here instead of 127.2.2.2.
+ "emphasis">10.0.0.2.In both cases, it is probably a good idea to leave the '/0' on the end of each @@ -656,53 +660,6 @@ change the address(es) of the link if it has to.
- -This last line tells the PPP program that it should - add a default route for IP traffic that points to the - (fake) IP address of the ISP's system.
- -Note: If you used an - ISP-specified address instead of 127.2.2.2 on - the preceding line, use the same number here instead of - 127.2.2.2.
- -By adding this "fake" route for IP traffic, the PPP - program can, while idle:
- -Accept packets that FreeBSD does not already know - how to forward,
-Establish a connection to the ISP "on-the-fly",
-Reconfigure the IP addresses of the local and - remote side of the link,
-Forward packets between your workstation and the - ISP.
-Once the number of seconds specified by the timeout To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message