From owner-freebsd-net@FreeBSD.ORG Mon Sep 9 13:02:27 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id BA8447CF for ; Mon, 9 Sep 2013 13:02:27 +0000 (UTC) (envelope-from marek_sal@wp.pl) Received: from mx4.wp.pl (mx4.wp.pl [212.77.101.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 441A322FF for ; Mon, 9 Sep 2013 13:02:26 +0000 (UTC) Received: (wp-smtpd smtp.wp.pl 11559 invoked from network); 9 Sep 2013 15:02:24 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wp.pl; s=1024a; t=1378731744; bh=s11SUU6lMbJRupGOTEJRgiC8LEvGPw9SyzvAFJbt86I=; h=From:To:Subject; b=ak6TeCzVLsmv83NwEawJ8tgGtGLIQlH5DiG8gsfZkoXBlymlHjqe4TIdVCcHt6epY JIA6bMCfGbtJeaIqB517BVNqCKZpduY5WKwocRvzCurXSnh4ilcwiqZrgFpDEQTJgE A7/ASaT1H9ZdVLb0Q6me/7f54RHHJMi7faYYxXsY= Received: from zcp.comp.com.pl (HELO [172.31.2.53]) (marek_sal@[91.198.145.1]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with CAMELLIA256-SHA encrypted SMTP for ; 9 Sep 2013 15:02:24 +0200 Message-ID: <522DC6DE.3040908@wp.pl> Date: Mon, 09 Sep 2013 15:02:22 +0200 From: Marek Salwerowicz User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: freebsd-net@freebsd.org Subject: igb Intel Gigabit Network Connection I350, lagg, vlan - increase mtu Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-WP-AV: skaner antywirusowy poczty Wirtualnej Polski S. A. X-WP-SPAM: NO 0000000 [kbPk] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Sep 2013 13:02:27 -0000 Hi, My server is running with 4 Gigabit NICs: igb0@pci0:5:0:0: class=0x020000 card=0x152115d9 chip=0x15218086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = 'I350 Gigabit Network Connection' class = network subclass = ethernet igb1@pci0:5:0:1: class=0x020000 card=0x152115d9 chip=0x15218086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = 'I350 Gigabit Network Connection' class = network subclass = ethernet igb2@pci0:5:0:2: class=0x020000 card=0x152115d9 chip=0x15218086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = 'I350 Gigabit Network Connection' class = network subclass = ethernet igb3@pci0:5:0:3: class=0x020000 card=0x152115d9 chip=0x15218086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = 'I350 Gigabit Network Connection' class = network subclass = ethernet those NICs are connected to switch with LACP aggregation: lagg0: flags=8843 metric 0 mtu 1500 options=401bb ether 00:25:90:c1:1d:18 inet6 fe80::225:90ff:fec1:1d18%lagg0 prefixlen 64 scopeid 0x8 nd6 options=21 media: Ethernet autoselect status: active laggproto lacp lagghash l2,l3,l4 laggport: igb3 flags=1c laggport: igb2 flags=1c laggport: igb1 flags=1c laggport: igb0 flags=1c Using this lagg interface I created 2 vlan interfaces: vlan14: flags=8843 metric 0 mtu 1500 options=103 ether 00:25:90:c1:1d:18 inet 192.168.1.65 netmask 0xffffff00 broadcast 192.168.1.255 inet6 fe80::225:90ff:fec1:1d18%vlan14 prefixlen 64 scopeid 0x9 nd6 options=29 media: Ethernet autoselect status: active vlan: 14 parent interface: lagg0 vlan900: flags=8843 metric 0 mtu 1500 options=103 ether 00:25:90:c1:1d:18 inet6 fe80::225:90ff:fec1:1d18%vlan900 prefixlen 64 scopeid 0xa inet 172.25.25.65 netmask 0xffff0000 broadcast 172.25.255.255 nd6 options=29 media: Ethernet autoselect status: active vlan: 900 parent interface: lagg0 I would like to increase the MTU on cards, but I can't set it in any way: % sudo ifconfig igbX mtu 9000 [14:59:37] ifconfig: ioctl (set mtu): Invalid argument event setting the MTU to 1500 (default value) results in same error. same for lagg0, and vlanX How can I increase the MTU for lagg interface ? Is it possible without rebooting or only via /etc/rc.conf ? Regards, -- Marek Salwerowicz