ppp.8 (77760) | ppp.8 (78410) |
---|---|
1.\" 2.\" Copyright (c) 2001 Brian Somers <brian@Awfulhak.org> 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24.\" SUCH DAMAGE. 25.\" | 1.\" 2.\" Copyright (c) 2001 Brian Somers <brian@Awfulhak.org> 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24.\" SUCH DAMAGE. 25.\" |
26.\" $FreeBSD: head/usr.sbin/ppp/ppp.8.m4 77760 2001-06-05 12:40:03Z sobomax $ | 26.\" $FreeBSD: head/usr.sbin/ppp/ppp.8.m4 78410 2001-06-18 14:59:36Z brian $ |
27.\" 28.Dd September 20, 1995 29.Dt PPP 8 30.Os 31.Sh NAME 32.Nm ppp 33.Nd Point to Point Protocol (a.k.a. user-ppp) 34.Sh SYNOPSIS --- 4877 unchanged lines hidden (view full) --- 4912peer assigning us a new (dynamic) IP address. 4913.It set mppe {40|56|128} 4914This option selects particular key length. Default is 128. 4915.It set mrru Op Ar value 4916Setting this option enables Multi-link PPP negotiations, also known as 4917Multi-link Protocol or MP. 4918There is no default MRRU (Maximum Reconstructed Receive Unit) value. 4919If no argument is given, multi-link mode is disabled. | 27.\" 28.Dd September 20, 1995 29.Dt PPP 8 30.Os 31.Sh NAME 32.Nm ppp 33.Nd Point to Point Protocol (a.k.a. user-ppp) 34.Sh SYNOPSIS --- 4877 unchanged lines hidden (view full) --- 4912peer assigning us a new (dynamic) IP address. 4913.It set mppe {40|56|128} 4914This option selects particular key length. Default is 128. 4915.It set mrru Op Ar value 4916Setting this option enables Multi-link PPP negotiations, also known as 4917Multi-link Protocol or MP. 4918There is no default MRRU (Maximum Reconstructed Receive Unit) value. 4919If no argument is given, multi-link mode is disabled. |
4920.It set mru Op Ar value | 4920.It set mru Oo max Ns Oo imum Oc Oc Op Ar value |
4921The default MRU (Maximum Receive Unit) is 1500. 4922If it is increased, the other side *may* increase its MTU. | 4921The default MRU (Maximum Receive Unit) is 1500. 4922If it is increased, the other side *may* increase its MTU. |
4923There is no point in decreasing the MRU to below the default as the | 4923In theory there is no point in decreasing the MRU to below the default as the |
4924.Em PPP | 4924.Em PPP |
4925protocol *must* be able to accept packets of at least 1500 octets. | 4925protocol says implementations *must* be able to accept packets of at 4926least 1500 octets. 4927.Pp 4928If the 4929.Dq maximum 4930keyword is used, 4931.Nm 4932will refuse to negotiate a higher value. 4933The maximum MRU can be set to 2048 at most. 4934Setting a maximum of less than 1500 violates the 4935.Em PPP 4936rfc, but may sometimes be necessary. 4937For example, 4938.Em PPPoE 4939imposes a maximum of 1492 due to hardware limitations. 4940.Pp |
4926If no argument is given, 1500 is assumed. | 4941If no argument is given, 1500 is assumed. |
4927.It set mtu Op Ar value | 4942A value must be given when 4943.Dq maximum 4944is specified. 4945.It set mtu Oo max Ns Oo imum Oc Oc Op Ar value |
4928The default MTU is 1500. 4929At negotiation time, 4930.Nm | 4946The default MTU is 1500. 4947At negotiation time, 4948.Nm |
4931will accept whatever MRU or MRRU that the peer wants (assuming it's 4932not less than 296 bytes). | 4949will accept whatever MRU the peer requests (assuming it's 4950not less than 296 bytes or greater than the assigned maximum). |
4933If the MTU is set, 4934.Nm | 4951If the MTU is set, 4952.Nm |
4935will not accept MRU/MRRU values less than | 4953will not accept MRU values less than |
4936.Ar value . | 4954.Ar value . |
4937When negotiations are complete, the MTU is assigned to the interface, even 4938if the peer requested a higher value MRU/MRRU. | 4955When negotiations are complete, the MTU is used when writing to the 4956interface, even if the peer requested a higher value MRU. |
4939This can be useful for 4940limiting your packet size (giving better bandwidth sharing at the expense 4941of more header data). 4942.Pp | 4957This can be useful for 4958limiting your packet size (giving better bandwidth sharing at the expense 4959of more header data). 4960.Pp |
4961If the 4962.Dq maximum 4963keyword is used, 4964.Nm 4965will refuse to negotiate a higher value. 4966The maximum MTU can be set to 2048 at most. 4967.Pp |
|
4943If no 4944.Ar value 4945is given, 1500, or whatever the peer asks for is used. | 4968If no 4969.Ar value 4970is given, 1500, or whatever the peer asks for is used. |
4971A value must be given when 4972.Dq maximum 4973is specified. |
|
4946.It set nbns Op Ar x.x.x.x Op Ar y.y.y.y 4947This option allows the setting of the Microsoft NetBIOS name server 4948values to be returned at the peers request. 4949If no values are given, 4950.Nm 4951will reject any such requests. 4952.It set openmode active|passive Op Ar delay 4953By default, --- 664 unchanged lines hidden --- | 4974.It set nbns Op Ar x.x.x.x Op Ar y.y.y.y 4975This option allows the setting of the Microsoft NetBIOS name server 4976values to be returned at the peers request. 4977If no values are given, 4978.Nm 4979will reject any such requests. 4980.It set openmode active|passive Op Ar delay 4981By default, --- 664 unchanged lines hidden --- |