Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jul 2003 20:04:45 -0700 (PDT)
From:      Archie Cobbs <archie@dellroad.org>
To:        Yann Nottara <yann.nottara@almonde.com>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: MPD 3.13 PPTP server MTU problems & questions
Message-ID:  <200307180304.h6I34jlr037556@arch20m.dellroad.org>
In-Reply-To: <3F16E28C.10105@almonde.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Yann Nottara wrote:
> but now, what do you think of this ?
> 
> ng0: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> mtu 1500
>          inet6 fe80::2b0:d0ff:fee1:4874%ng0 prefixlen 64 scopeid 0x7
>          inet 192.168.0.10 --> 192.168.0.200 netmask 0xffffffff
> 
> and here's the part from my mpd.conf that's related to this connection :
> 
> pptp0:
>          new -i ng0 pptp0 pptp0
>          set iface disable on-demand
>          set iface enable proxy-arp
>          set iface idle 3600
>          set bundle enable multilink
>          set link yes acfcomp protocomp
>          set link no pap chap
>          set link enable chap
>          set link keep-alive 10 60
>          set link mtu 1460   <----------------- !
>          set ipcp yes vjcomp
>          set ipcp ranges 192.168.0.10/32 192.168.0.200/32
>          set ipcp dns 192.168.0.10
>          set ipcp nbns 192.168.0.10
> 
> So, where's the catch ?

If what you want is to set a hard limit then "set iface mtu 1460" 
is the command to use. "set link mtu" just initializes the starting
value for LCP negotiation.

-Archie

__________________________________________________________________________
Archie Cobbs     *    Halloo Communications    *     http://www.halloo.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307180304.h6I34jlr037556>