From owner-freebsd-net@FreeBSD.ORG Thu Jan 15 20:28:31 2004 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 B321A16A4CE for ; Thu, 15 Jan 2004 20:28:31 -0800 (PST) Received: from hotmail.com (law10-f17.law10.hotmail.com [64.4.15.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D4B143D46 for ; Thu, 15 Jan 2004 20:28:30 -0800 (PST) (envelope-from segr@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 15 Jan 2004 20:28:30 -0800 Received: from 142.59.20.123 by lw10fd.law10.hotmail.msn.com with HTTP; Fri, 16 Jan 2004 04:28:29 GMT X-Originating-IP: [142.59.20.123] X-Originating-Email: [segr@hotmail.com] X-Sender: segr@hotmail.com From: "Stephane Raimbault" To: "."@babolo.ru Date: Thu, 15 Jan 2004 21:28:29 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 16 Jan 2004 04:28:30.0213 (UTC) FILETIME=[3193AB50:01C3DBE9] 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: Fri, 16 Jan 2004 04:28:31 -0000 Thanks for all your help regarding this problem... I was able to "fix" my problem (for lack of better word) by doing the following deleting the inet address on xl1 and manually re-adding it. I'm not sure why this fixed my problems, but I can ping my servers behind the router with pings sizes greater then 1468 bytes "ping -s 1469 . It seems that at startup, something messes up the vlan setup. here is what I have in my /etc/rc.conf ifconfig_xl0="inet 10.0.0.3 netmask 255.255.255.192" ifconfig_xl1="inet 207.176.232.142 netmask 255.255.255.224" ifconfig_vlan0="inet 10.0.1.3 netmask 255.255.255.224 vlan 3 vlandev xl1" ifconfig_vlan0_alias0="inet 10.0.1.1 netmask 255.255.255.255" ifconfig_vlan1="inet 10.0.11.3 netmask 255.255.255.224 vlan 4 vlandev xl1" ifconfig_vlan1_alias0="inet 10.0.11.1 netmask 255.255.255.255" defaultrouter="207.176.232.158" For some reason, doing an "ifconfig xl1 delete 207.176.232.142" followed by "ifconfig xl1 inet 207.176.232.142 netmask 255.255.255.224" allows me to ping the servers with the ping sizes I couldn't before... perhaps the inet interface on the device needs to be set after the vlan interfaces? Any thoughts? Thanks, Stephane. >From: .@babolo.ru >To: Stephane Raimbault >CC: net@freebsd.org >Subject: Re: VLAN MTU problem in 4.9 ? >Date: Fri, 2 Jan 2004 21:29:43 +0300 (MSK) > > > Setting the MTU to 1496 on the router vlan interfaces didn't seem to >help > > me... however put the MTU to 1496 on the servers on the VLAN itself >seems to > > resolve the problem. so in the current configuration the router vlan > > interfaces are set to 1500 and the servers on those interfaces are set >to > > 1496. Seems to work for now. > > > > Now, this doesn't seem all that normal. Where can I go from here to > > troubleshoot this more and provide more information that might be able >to > > resolve this problem... if it's a problem that is... >You can't be free from tune all your net for vlan mtu: > - all switches involved must be at least verifyed not to drop long frames > or right route vlans if it can work with tag based vlans > - all interfaces in selected vlan must support the same common mtu > >I know now, that xl interface can't pass 1504 frames >and most 1G interfaces can > don't know about another 100M interfaces > _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/photos&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca