lagg of em0/em1 + VLAN = lower MTU?

Marek Salwerowicz marek_sal at wp.pl
Tue Jul 14 10:28:25 UTC 2015


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


More information about the freebsd-net mailing list