Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Nov 2021 02:12:25 +0300
From:      Rozhuk Ivan <rozhuk.im@gmail.com>
To:        Kevin Bowling <kevin.bowling@kev009.com>
Cc:        freebsd-hackers@freebsd.org, freebsd-net@freebsd.org
Subject:   Re: Bug in MAC filter on IGB/if_vlan?
Message-ID:  <20211110021225.2baadd49@rimwks.local>
In-Reply-To: <CAK7dMtDPZ7ubkrQQn6cO6XMesLAMt-KUuig36_CiEDfWnR5cEA@mail.gmail.com>
References:  <20211107010311.70eceebd@rimwks.local> <CAK7dMtDPZ7ubkrQQn6cO6XMesLAMt-KUuig36_CiEDfWnR5cEA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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.




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