Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Mar 2013 12:04:40 -0600
From:      Pablo Ribalta Lorenzo <rlp@semihalf.com>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        Barney Cordoba <barney_cordoba@yahoo.com>, Ryan Stone <rysto32@gmail.com>, freebsd-net <freebsd-net@freebsd.org>
Subject:   Re: vlan with modified MAC fails to communicate
Message-ID:  <29d7f4b41db63f9410075b1881f813b6@smtp.semihalf.com>
In-Reply-To: <CAJ-Vmo=KCjPhLB1U1=J0tGkCWeTjwVanKcePfZm8vq0h=v-GsA@mail.gmail.com>
References:  <1364561838.74177.YahooMailClassic@web121605.mail.ne1.yahoo.com> <51559F9B.3060608@semihalf.com> <CAFMmRNwfwhkP%2B8jrxjj5ou9jnuoHdeArk8wJdipLVS3mMrNC=g@mail.gmail.com> <CAJ-VmonghbdcT9qzjMGghhNRXUBz-Eu8OOOfpTiEop=ONiobnw@mail.gmail.com> <CAFMmRNz-9fdQDoLR-W7kxsQV%2BrzXGEbGfPp2J9-dB9uBWNas5Q@mail.gmail.com> <CAJ-Vmo=KCjPhLB1U1=J0tGkCWeTjwVanKcePfZm8vq0h=v-GsA@mail.gmail.com>

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

In my case, my NIC driver is strictly for ethernet, if not Adrian's idea
would be a phenomenal solution for my issue, but maybe it's useful for me
in the long run, so thanks for providing some insight.

As for if_vlan.c, I verified that in the case when NIC's MAC adress is
modified, it updates the values in the vlan to keep them in sync. However,
I don't see this behavior when the changes are performed over the vlan.

>From what I see, looks like this behavior from FreeBSD side is expected and
the changes should be incorporated to my NIC.

Set the NIC to promisc mode whenever both MAC addresses are not equal looks
like a good workaround, however try to work out some improvement in the
packet filtering method looks more like a fix to me. What holds me back is
the inherent loss of performance in promisc mode, but I need to see if I'm
able to live with this overhead :)




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