Re: Bug in MAC filter on IGB/if_vlan?

From: Rozhuk Ivan <rozhuk.im_at_gmail.com>
Date: Tue, 09 Nov 2021 23:12:25 UTC
On Tue, 9 Nov 2021 08:39:12 -0600
Kevin Bowling <kevin.bowling@kev009.com> wrote:

> > I have in rc.conf:
> >
> > =====================================================================================
> > vlans_igb0="vlan77 vlan86 vlan87"
> > create_args_vlan87="vlan 87"
> > create_args_vlan86="vlan 86"
> > create_args_vlan77="vlan 77"
> > ifconfig_vlan87="inet 185.44.68.92 netmask 255.255.252.0 mtu 1500
> > down up" ifconfig_vlan87_alias0="link 00:aa:fa:dd:44:55"
> > ifconfig_vlan86="DHCP mtu 1500"
> > ifconfig_vlan86_alias0="link 00:ff:fa:dd:44:55"
> > ifconfig_vlan77="inet 192.168.0.254 netmask 255.255.255.0"
> > ifconfig_vlan77_alias0="link 00:0f:43:48:67:fe"
> > ifconfig_vlan77_ipv6="inet6 2001:470:2345:555::1/64 prefixlen 64
> > auto_linklocal"
> > ifconfig_igb0="-lro -tso -vlanhwtso mtu 9000 down up"
> >
> > =====================================================================================
> >
> > There is 4 different MAC addresses.
> > System is unavailable after boot until: ifconfig igb0 promisc down
> > up
> >
> > FreeBSD 13 build from fresh sources.
> >
> >
> > Is this a bug or this is normal?  
> 
> 
> Which chip?  Please post uname -a or git rev.

igb0@pci0:8:0:0:	class=0x020000 rev=0x03 hdr=0x00 vendor=0x8086 device=0x1539 subvendor=0x1849 subdevice=0x1539
    vendor     = 'Intel Corporation'
    device     = 'I211 Gigabit Network Connection'
    class      = network
    subclass   = ethernet

514a095250b178ad81319bf8c30938c3f08dd16f
few days old build from 13 branch.


> Why do you have “down up” in the stateful config, please remove
> “down” and the MTU change and report back findings

It from some posts that recomend to use
ifconfig em0 mtu 2345 down up
to force mtu apply.