From owner-freebsd-net@freebsd.org Tue Jul 14 10:28:25 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0837E99C1E5 for ; Tue, 14 Jul 2015 10:28:25 +0000 (UTC) (envelope-from marek_sal@wp.pl) Received: from mx4.wp.pl (mx4.wp.pl [212.77.101.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.wp.pl", Issuer "RapidSSL SHA256 CA - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8679FB52 for ; Tue, 14 Jul 2015 10:28:24 +0000 (UTC) (envelope-from marek_sal@wp.pl) Received: (wp-smtpd smtp.wp.pl 20254 invoked from network); 14 Jul 2015 12:28:14 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wp.pl; s=1024a; t=1436869694; bh=CfQS6jgVsCtpGNAOfgSq1401uy+1tKQSlzUWjs/NHTU=; h=Subject:To:From; b=QzCdIAptWbuNVzxs+AzkvrvwhgBiReC5hLaf/ZdHLPTTK3i+fzRHp4bnsb5yYLQWe 2yJ+wfMeKwfQWtJE//llrnpMwq9rdIyatUtZEF8rO0AYoKR0iPyxqjOn2Y4+omjoCy ZvcKszGqobcbdrVIMsbN0H6lzt7SQWucaBBKIy6E= Received: from pb-d-128-141-2-235.cern.ch (HELO [128.141.2.235]) (marek_sal@[128.141.2.235]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with ECDHE-RSA-AES256-SHA encrypted SMTP for ; 14 Jul 2015 12:28:14 +0200 Subject: Re: lagg of em0/em1 + VLAN = lower MTU? To: Karl Pielorz , freebsd-net@freebsd.org References: <7CFE75F7566F5789DAD9FBB2@[10.12.30.106]> From: Marek Salwerowicz Message-ID: <55A4E429.10605@wp.pl> Date: Tue, 14 Jul 2015 12:27:53 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 MIME-Version: 1.0 In-Reply-To: <7CFE75F7566F5789DAD9FBB2@[10.12.30.106]> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-WP-MailID: 830a4b82da7f2ca24da6e2a291434342 X-WP-AV: skaner antywirusowy poczty Wirtualnej Polski S. A. X-WP-SPAM: NO 0000000 [cfOU] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jul 2015 10:28:25 -0000 W dniu 2015-07-10 o 15:04, Karl Pielorz pisze: > > > The MTU on lagg0.10 has shrunk by 4 (size of VLAN tag). Is there a way > of avoiding that? That's my working setup (hardware is based on http://www.supermicro.com/products/system/4U/6047/SSG-6047R-E1R36L.cfm) #/etc/rc.conf: ifconfig_igb0="mtu 9000 up" ifconfig_igb1="mtu 9000 up" ifconfig_igb2="mtu 9000 up" ifconfig_igb3="mtu 9000 up" cloned_interfaces="lagg0 vlan14 vlan100 vlan900" ifconfig_lagg0="laggproto lacp laggport igb0 laggport igb1 laggport igb2 laggport igb3" #VLAN ifconfig_vlan14="inet 192.168.1.72/24 vlan 14 vlandev lagg0" ifconfig_vlan100="inet 192.168.21.253/24 vlan 100 vlandev lagg0" ifconfig_vlan900="inet 172.25.25.72/24 vlan 900 vlandev lagg0" % ifconfig -a | grep mtu igb0: flags=8843 metric 0 mtu 9000 igb1: flags=8843 metric 0 mtu 9000 igb2: flags=8843 metric 0 mtu 9000 igb3: flags=8843 metric 0 mtu 9000 lo0: flags=8049 metric 0 mtu 16384 lagg0: flags=8843 metric 0 mtu 9000 vlan14: flags=8843 metric 0 mtu 9000 vlan100: flags=8843 metric 0 mtu 9000 vlan900: flags=8843 metric 0 mtu 9000 Reboot is needed after MTU change. Cheers -- Marek