From owner-freebsd-net Sun Dec 17 2:34:25 2000 From owner-freebsd-net@FreeBSD.ORG Sun Dec 17 02:34:19 2000 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mailout05.sul.t-online.com (mailout05.sul.t-online.com [194.25.134.82]) by hub.freebsd.org (Postfix) with ESMTP id A702A37B400; Sun, 17 Dec 2000 02:34:18 -0800 (PST) Received: from fwd01.sul.t-online.com by mailout05.sul.t-online.com with smtp id 147b8z-00036B-02; Sun, 17 Dec 2000 11:34:17 +0100 Received: from janus.internal.bermuda.de (320006624138-0001@[62.158.126.121]) by fmrl01.sul.t-online.com with esmtp id 147b8k-2BWuVkC; Sun, 17 Dec 2000 11:34:02 +0100 Received: from janus (atlas.internal.bermuda.de [192.168.6.3]) by janus.internal.bermuda.de (8.9.3/8.9.3/Debian 8.9.3-21) with SMTP id LAA29013; Sun, 17 Dec 2000 11:33:58 +0100 X-Authentication-Warning: janus.internal.bermuda.de: Host atlas.internal.bermuda.de [192.168.6.3] claimed to be janus Date: Sun, 17 Dec 2000 11:33:57 +0100 From: Nils Bokermann To: net@freebsd.org Cc: questions@freebsd.org Subject: PPPoE and MTU problem Message-ID: <20001217113357.A3485@atlas.internal.bermuda.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Balsa 1.0.0 Lines: 66 X-Sender: 320006624138-0001@t-dialin.net Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi! The following problem: I have a DSL-Connection to the internet, and a few client behind the BSD-Box (see picture). I can do connections to the internet, nearly everything works. But I DO have 2 systems (which I desperatly need), which do NOT fragment the packets. When using a Linux Router (don't blame me for that) everything just works fine. Is there a problem with my configuration, or is that a BSD-specific-Problem. client <-- ethernet (MTU=1500) --> FreeBSD-Box <-- DSL (MTU=1492)-->Provider(german Telekom) unakruemel# uname -a FreeBSD kruemel.monster.sensibelchen.org 4.2-BETA FreeBSD 4.2-BETA #4: Fri Dec 8 15:27:31 CET 2000 root@kruemel.monster.sensibelchen.org:/usr/src/sys/compile/KRUEMEL i386 kruemel# ipfw list 00100 allow ip from any to any via lo0 00200 allow ip from any to any via rl0 00300 allow tcp from any to any out xmit tun0 setup 00400 allow tcp from any to any via tun0 established 00500 allow udp from any to any via tun0 00600 allow log logamount 100 tcp from any to any 80 setup 00700 allow log logamount 100 tcp from any to any 22 setup 00800 allow log logamount 100 tcp from any to any 20 setup 00900 allow log logamount 100 tcp from any to any 25 setup 01000 reset log logamount 100 tcp from any to any 113 in recv tun0 01100 allow udp from any to any 53 out xmit tun0 01200 allow udp from any 53 to any in recv tun0 65435 allow icmp from any to any 65435 deny log logamount 100 ip from any to any 65535 deny ip from any to any kruemel# cat /etc/ppp/ppp.conf default: # or name_of_service_provider set device PPPoE:rl0 # replace xl1 with your ethernet device set mru 1450 set mtu 1450 set authname 0000******************t-online.de set authkey *didyoureallythinkofthat?* set log Phase tun command # you can add more detailed logging if you wish # set log cbcp ccp connect debug ipcp lcp sync set dial set login enable lqr set speed sync set ifaddr 10.0.0.1/0 10.0.0.2/0 add default HISADDR # nat enable yes # if you want to enable nat for your local net kruemel# cat /etc/rc.conf [...] ppp_enable="YES" ppp_mode="ddial" ppp_nat="YES" ppp_profile="default" # or your provider firewall_enable="YES" firewall_script="/etc/firewall/fwrules" -- Nils Bokermann /"\ Johanneswerkstr. 90 \ / ASCII Ribbon Campaign 33613 Bielefeld x Say NO to HTML in email and news Germany / \ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message