From owner-freebsd-net@FreeBSD.ORG Fri Dec 26 20:52:13 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 24AE016A4CE for ; Fri, 26 Dec 2003 20:52:13 -0800 (PST) Received: from ints.mail.pike.ru (ints.mail.pike.ru [195.9.45.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE44343D1F for ; Fri, 26 Dec 2003 20:52:10 -0800 (PST) (envelope-from babolo@cicuta.babolo.ru) Received: (qmail 22289 invoked from network); 27 Dec 2003 05:07:35 -0000 Received: from babolo.ru (HELO cicuta.babolo.ru) (194.58.226.160) by ints.mail.pike.ru with SMTP; 27 Dec 2003 05:07:35 -0000 Received: (nullmailer pid 13345 invoked by uid 136); Sat, 27 Dec 2003 04:54:39 -0000 X-ELM-OSV: (Our standard violations) hdr-charset=KOI8-R; no-hdr-encoding=1 In-Reply-To: To: Stephane Raimbault Date: Sat, 27 Dec 2003 07:54:39 +0300 (MSK) From: "."@babolo.ru X-Mailer: ELM [version 2.4ME+ PL99b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Message-Id: <1072500879.937521.13344.nullmailer@cicuta.babolo.ru> cc: net@freebsd.org Subject: Re: VLAN MTU problem in 4.9 ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Dec 2003 04:52:13 -0000 > Hi, > > I have the following setup on a freebsd box acting as a router for multiple > LAN's. > > xl0: flags=8843 mtu 1500 > inet 10.0.0.3 netmask 0xffffffc0 broadcast 10.0.0.63 > inet6 fe80::260:97ff:fe07:5f4b%xl0 prefixlen 64 scopeid 0x1 > ether 00:60:97:07:5f:4b > media: Ethernet autoselect (100baseTX ) > status: active > xl1: flags=8843 mtu 1500 > inet 207.176.232.142 netmask 0xffffffe0 broadcast 207.176.232.159 > inet6 fe80::2c0:4fff:fe9e:b9c7%xl1 prefixlen 64 scopeid 0x2 > ether 00:c0:4f:9e:b9:c7 > media: Ethernet autoselect (100baseTX ) > status: active > vlan0: flags=8843 mtu 1500 > inet 10.0.1.3 netmask 0xffffffe0 broadcast 10.0.1.31 > inet6 fe80::260:97ff:fe07:5f4b%vlan0 prefixlen 64 scopeid 0x4 > ether 00:c0:4f:9e:b9:c7 > media: Ethernet autoselect (100baseTX ) > status: active > vlan: 3 parent interface: xl1 > vlan1: flags=8843 mtu 1500 > inet 10.0.11.3 netmask 0xffffffe0 broadcast 10.0.11.31 > inet6 fe80::260:97ff:fe07:5f4b%vlan1 prefixlen 64 scopeid 0x5 > ether 00:c0:4f:9e:b9:c7 > media: Ethernet autoselect (100baseTX ) > status: active > vlan: 4 parent interface: xl1 > > > The setup is physically connected like this > > Switch 1 <---> (xl0) FreeBSD (xl1) <---> Switch 2 > > My Workstation is connected to Switch 1 on the ip network 10.0.0.0/26 > The Server(s) I'm connecting to are on Switch 2 on the ip network > 10.0.11.0/27 and/or 10.0.1.0/27 > > I seem to have some problems connecting to the above mentioned servers on > vlan0 and vlan1. My SSH session seems to freeze when I type a command that > will output quite a bit of data (top, etc...) I also seem to have some > other large data problems between the servers communicating to each other > over the VLAN's. > > I had a working setup, but since I upgraded from 4.9-RC2 on the FreeBSD > router to 4.9-RELEASE-p1 I've been having the above described problem. I'm > wondering if I left something out in my KERNEL configuration when I upgraded > or if I've stumbled onto a bug in 4.9-R ? ifconfig vlan0 mtu 1496 ifconfig vlan1 mtu 1496 will restore old behavior. But I do not know when default mtu for vlan was changed.