From 71fee77968ffdb933eb7376af68e42ee240c9dc4 Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Tue, 27 Nov 2007 12:33:30 +0000 Subject: Don't give bad advice. The MTU/MSS issue is not solvable by changing the MTU of any interface of the pppoe router. The best way to get a reliable network connection is to use pf(4) and the max-mss scrub option. OK henning@, mbalmer@ Yes please! sthen@ --- share/man/man4/pppoe.4 | 30 +++--------------------------- 1 file changed, 3 insertions(+), 27 deletions(-) (limited to 'share/man') diff --git a/share/man/man4/pppoe.4 b/share/man/man4/pppoe.4 index 1ba06d109ae..ecc325f6b9c 100644 --- a/share/man/man4/pppoe.4 +++ b/share/man/man4/pppoe.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pppoe.4,v 1.17 2007/05/31 19:19:51 jmc Exp $ +.\" $OpenBSD: pppoe.4,v 1.18 2007/11/27 12:33:29 claudio Exp $ .\" $NetBSD: pppoe.4,v 1.26 2003/10/02 07:06:36 wiz Exp $ .\" .\" Copyright (c) 2002 The NetBSD Foundation, Inc. @@ -35,7 +35,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: November 27 2007 $ .Dt PPPOE 4 .Os .Sh NAME @@ -192,18 +192,6 @@ However, machines connecting on a private LAN will still have their MTUs set to 1500, causing conflict. .Pp -Userland -.Xr pppoe 8 -users do not have to worry about this issue, since -.Xr ppp 8 -itself has an option, -.Dq mssfixup , -which is enabled by default and takes care of this. -Kernel -.Nm -users have to rely on other methods: -.Bl -bullet -.It Using a packet filter, the Maximum Segment Size (MSS) @@ -218,20 +206,8 @@ Although in theory the maximum MSS over a PPPoE interface is 1452 bytes, 1440 appears to be a safer bet. Note that setting the MSS this way can have undesirable effects, -such as reducing TCP/IP throughput, -and interfering with the OS detection features of +such as interfering with the OS detection features of .Xr pf 4 . -.It -Setting the MTU on all interfaces being NAT'ed to 1492, -instead of the Ethernet default, 1500. -This can be done using -.Xr ifconfig 8 . -The following would set the MTU to 1492 on interface bge0: -.Pp -.Dl # ifconfig bge0 mtu 1492 -.Pp -Unfortunately not all interfaces support setting the MTU at this time. -.El .Pp See .Xr pf.conf 5 -- cgit v1.2.3