Deleted Added
full compact
ppp.8 (57001) ppp.8 (57695)
1.\" $FreeBSD: head/usr.sbin/ppp/ppp.8.m4 57001 2000-02-05 15:25:15Z ru $
1.\" $FreeBSD: head/usr.sbin/ppp/ppp.8.m4 57695 2000-03-02 14:54:02Z sheldonh $
2.Dd 20 September 1995
3.nr XX \w'\fC00'
4.Os FreeBSD
5.Dt PPP 8
6.Sh NAME
7.Nm ppp
8.Nd Point to Point Protocol (a.k.a. user-ppp)
9.Sh SYNOPSIS

--- 838 unchanged lines hidden (view full) ---

848Demand dialing is enabled with the
849.Fl auto
850or
851.Fl ddial
852options. You must also specify the destination label in
853.Pa /etc/ppp/ppp.conf
854to use. It must contain the
855.Dq set ifaddr
2.Dd 20 September 1995
3.nr XX \w'\fC00'
4.Os FreeBSD
5.Dt PPP 8
6.Sh NAME
7.Nm ppp
8.Nd Point to Point Protocol (a.k.a. user-ppp)
9.Sh SYNOPSIS

--- 838 unchanged lines hidden (view full) ---

848Demand dialing is enabled with the
849.Fl auto
850or
851.Fl ddial
852options. You must also specify the destination label in
853.Pa /etc/ppp/ppp.conf
854to use. It must contain the
855.Dq set ifaddr
856command to define the remote peers IP address. (refer to
856command to define the remote peers IP address.
857(refer to
857.Pa /usr/share/examples/ppp/ppp.conf.sample )
858.Bd -literal -offset indent
859# ppp -auto pmdemand
860.Ed
861.Pp
862When
863.Fl auto
864or

--- 41 unchanged lines hidden (view full) ---

906.Op - Ns Ar max Ns
907.Oc Op . Ns Ar next
908.Op Ar attempts
909.Xc
910.Pp
911.Bl -tag -width attempts -compact
912.It Ar secs
913is the number of seconds to wait before attempting
858.Pa /usr/share/examples/ppp/ppp.conf.sample )
859.Bd -literal -offset indent
860# ppp -auto pmdemand
861.Ed
862.Pp
863When
864.Fl auto
865or

--- 41 unchanged lines hidden (view full) ---

907.Op - Ns Ar max Ns
908.Oc Op . Ns Ar next
909.Op Ar attempts
910.Xc
911.Pp
912.Bl -tag -width attempts -compact
913.It Ar secs
914is the number of seconds to wait before attempting
914to connect again. If the argument is the literal string
915to connect again.
916If the argument is the literal string
915.Sq Li random ,
916the delay period is a random value between 1 and 30 seconds inclusive.
917.It Ar inc
918is the number of seconds that
919.Ar secs
920should be incremented each time a new dial attempt is made. The timeout
921reverts to
922.Ar secs

--- 52 unchanged lines hidden (view full) ---

975.Nm
976connects, disconnects and fails to connect again, the timeout starts again
977at 10 seconds.
978.Pp
979Modifying the dial delay is very useful when running
980.Nm
981in
982.Fl auto
917.Sq Li random ,
918the delay period is a random value between 1 and 30 seconds inclusive.
919.It Ar inc
920is the number of seconds that
921.Ar secs
922should be incremented each time a new dial attempt is made. The timeout
923reverts to
924.Ar secs

--- 52 unchanged lines hidden (view full) ---

977.Nm
978connects, disconnects and fails to connect again, the timeout starts again
979at 10 seconds.
980.Pp
981Modifying the dial delay is very useful when running
982.Nm
983in
984.Fl auto
983mode on both ends of the link. If each end has the same timeout,
985mode on both ends of the link.
986If each end has the same timeout,
984both ends wind up calling each other at the same time if the link
985drops and both ends have packets queued.
986At some locations, the serial link may not be reliable, and carrier
987may be lost at inappropriate times. It is possible to have
988.Nm
989redial should carrier be unexpectedly lost during a session.
990.Bd -literal -offset indent
991set reconnect timeout ntries

--- 424 unchanged lines hidden (view full) ---

1416host, but not on other machines in the LAN, then the masquerading
1417software is working properly, but the host is either not forwarding
1418or possibly receiving IP packets. Check that IP forwarding is enabled in
1419.Pa /etc/rc.conf
1420and that other machines have designated the
1421.Nm
1422host as the gateway for the LAN.
1423.Sh PACKET FILTERING
987both ends wind up calling each other at the same time if the link
988drops and both ends have packets queued.
989At some locations, the serial link may not be reliable, and carrier
990may be lost at inappropriate times. It is possible to have
991.Nm
992redial should carrier be unexpectedly lost during a session.
993.Bd -literal -offset indent
994set reconnect timeout ntries

--- 424 unchanged lines hidden (view full) ---

1419host, but not on other machines in the LAN, then the masquerading
1420software is working properly, but the host is either not forwarding
1421or possibly receiving IP packets. Check that IP forwarding is enabled in
1422.Pa /etc/rc.conf
1423and that other machines have designated the
1424.Nm
1425host as the gateway for the LAN.
1426.Sh PACKET FILTERING
1424This implementation supports packet filtering. There are four kinds of
1427This implementation supports packet filtering.
1428There are four kinds of
1425filters; the
1426.Em in
1427filter, the
1428.Em out
1429filter, the
1430.Em dial
1431filter and the
1432.Em alive

--- 197 unchanged lines hidden (view full) ---

1630and denied by default. This is exactly the same as DEFLATE except that
1631it uses CCP ID 24 to negotiate. This allows
1632.Nm
1633to successfully negotiate DEFLATE with
1634.Nm pppd
1635version 2.3.*.
1636.Sh CONTROLLING IP ADDRESS
1637.Nm
1429filters; the
1430.Em in
1431filter, the
1432.Em out
1433filter, the
1434.Em dial
1435filter and the
1436.Em alive

--- 197 unchanged lines hidden (view full) ---

1634and denied by default. This is exactly the same as DEFLATE except that
1635it uses CCP ID 24 to negotiate. This allows
1636.Nm
1637to successfully negotiate DEFLATE with
1638.Nm pppd
1639version 2.3.*.
1640.Sh CONTROLLING IP ADDRESS
1641.Nm
1638uses IPCP to negotiate IP addresses. Each side of the connection
1642uses IPCP to negotiate IP addresses.
1643Each side of the connection
1639specifies the IP address that it's willing to use, and if the requested
1640IP address is acceptable then
1641.Nm
1642returns ACK to the requester. Otherwise,
1643.Nm
1644specifies the IP address that it's willing to use, and if the requested
1645IP address is acceptable then
1646.Nm
1647returns ACK to the requester. Otherwise,
1648.Nm
1644returns NAK to suggest that the peer use a different IP address. When
1649returns NAK to suggest that the peer use a different IP address.
1650When
1645both sides of the connection agree to accept the received request (and
1646send ACK), IPCP is set to the open state and a network level connection
1647is established.
1648To control this IPCP behaviour, this implementation has the
1649.Dq set ifaddr
1650command for defining the local and remote IP address:
1651.Bd -literal -offset indent
1652.No set ifaddr Oo Ar src_addr Ns

--- 3228 unchanged lines hidden ---
1651both sides of the connection agree to accept the received request (and
1652send ACK), IPCP is set to the open state and a network level connection
1653is established.
1654To control this IPCP behaviour, this implementation has the
1655.Dq set ifaddr
1656command for defining the local and remote IP address:
1657.Bd -literal -offset indent
1658.No set ifaddr Oo Ar src_addr Ns

--- 3228 unchanged lines hidden ---