Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jul 2015 12:27:53 +0200
From:      Marek Salwerowicz <marek_sal@wp.pl>
To:        Karl Pielorz <kpielorz_lst@tdx.co.uk>, freebsd-net@freebsd.org
Subject:   Re: lagg of em0/em1 + VLAN = lower MTU?
Message-ID:  <55A4E429.10605@wp.pl>
In-Reply-To: <7CFE75F7566F5789DAD9FBB2@[10.12.30.106]>
References:  <7CFE75F7566F5789DAD9FBB2@[10.12.30.106]>

next in thread | previous in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
igb1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
igb2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
igb3: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
vlan14: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
vlan100: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 
9000
vlan900: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 
9000


Reboot is needed after MTU change.

Cheers


-- 
Marek



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55A4E429.10605>