Re: vlan with modified MAC fails to communicate

2013-03-31 Thread Pablo Ribalta Lorenzo
>> From what I see, looks like this behavior from FreeBSD side is expected >> and the changes should be incorporated to my NIC. > > I'm not sure what you mean, but there is no existing code to propagate > a MAC change on a VLAN to its parent device. I think it is a bug that > a change appears to

Re: vlan with modified MAC fails to communicate

2013-03-30 Thread Mike Karels
> 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. There is no existing driver API to add MAC addresses in FreeBSD, which is

Re: vlan with modified MAC fails to communicate

2013-03-30 Thread Pablo Ribalta Lorenzo
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 up

Re: vlan with modified MAC fails to communicate

2013-03-30 Thread Adrian Chadd
On 30 March 2013 07:42, Ryan Stone wrote: > ath isn't Ethernet. :) > Hah. At some level it is. :-) The point being, if the NIC has some idea of a "destined for me" filter mask, this concept is doable. Adrian ___ freebsd-net@freebsd.org mailing list

Re: vlan with modified MAC fails to communicate

2013-03-30 Thread Ryan Stone
ath isn't Ethernet. :) ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Re: vlan with modified MAC fails to communicate

2013-03-29 Thread Adrian Chadd
On 29 March 2013 07:37, Ryan Stone wrote: > From a quick glance at if_vlan.c, it doesn't do anything intelligent when > you change its MAC address. I also don't know of any ethernet driver in > FreeBSD that allows you to use multiple unicast MACs at once (I have some > patches for ixgbe, but the

Re: vlan with modified MAC fails to communicate

2013-03-29 Thread Ryan Stone
On Fri, Mar 29, 2013 at 10:05 AM, Pablo Ribalta Lorenzo wrote: > Thanks for your answer Barney, > > I'm going to extend a little bit the explanation of the issue as it may be > too brief. > > First of all, ifconfig shows me this (mge being the NIC): > > mge1: flags=8843 metric 0 mtu > 1500 >

Re: vlan with modified MAC fails to communicate

2013-03-29 Thread Pablo Ribalta Lorenzo
On 03/29/2013 01:57 PM, Barney Cordoba wrote: --- On Fri, 3/29/13, Pablo Ribalta Lorenzo wrote: From: Pablo Ribalta Lorenzo Subject: vlan with modified MAC fails to communicate To: freebsd-net@freebsd.org Date: Friday, March 29, 2013, 7:53 AM Hi there! Lately I've been investigati

Re: vlan with modified MAC fails to communicate

2013-03-29 Thread Barney Cordoba
--- On Fri, 3/29/13, Pablo Ribalta Lorenzo wrote: > From: Pablo Ribalta Lorenzo > Subject: vlan with modified MAC fails to communicate > To: freebsd-net@freebsd.org > Date: Friday, March 29, 2013, 7:53 AM > Hi there! > > Lately I've been investigating an issue th

vlan with modified MAC fails to communicate

2013-03-29 Thread Pablo Ribalta Lorenzo
Hi there! Lately I've been investigating an issue that I would like to share, as I feel I may have to attack it from a different end. I have an ethernet interface from where I create a vlan. Once I set up the ip address in the vlan I can ping correctly on both sides. The issue arrives when I t