Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Mar 2016 10:48:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-amd64@FreeBSD.org
Subject:   [Bug 207701] vlan interface over failover lagg has empty/00:00:00:00:00:00 mac/ether address
Message-ID:  <bug-207701-6-SOp4wW0uXH@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-207701-6@https.bugs.freebsd.org/bugzilla/>
References:  <bug-207701-6@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207701

Pushkar Kothavade <pushkarbk@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pushkarbk@gmail.com

--- Comment #2 from Pushkar Kothavade <pushkarbk@gmail.com> ---
Hi Team,=20

After going through the issue specified here, I investigated this issue on
FreeBSD 10 stable, Freebsd 10.2 release and FreeBSD HOL platforms by creati=
ng
lagg and vlan interfaces.

After investigation, problem statement is as follows:

*************************
*** Problem Statement ***
*************************

After machine boots up, when we create a vlan on Lagg interface, vlan inter=
face
takes the same MAC address as that of lagg interface. This works fine as
expected.  Now going further, when we add/delete members of lagg bundle,=20
MAC address of the lagg bundle changes as expected. It is expected that vlan
MAC should also get changed, when MAC of lagg interface changes, but it is =
not
happening.=20

This issue is present in only 10 stable. It is not present in HOL and 10.2
release.=20


*************************
******** Fix ************
*************************

https://reviews.freebsd.org/differential/diff/14418/


*************************
***** Test Plan *********
*************************

####################
#### Before Fix ####
####################

[Step-0] uname -a

** Output **

FreeBSD Host-XXX 10.3-PRERELEASE FreeBSD 10.3-PRERELEASE #2 r294978M: Thu J=
an
28 16:46:33 IST 2016 amd64

[Step-1] ifconfig lagg1 create

[Step-2] ifconfig lagg1 laggproto failover laggport le1 laggport le2

[Step-3] ifconfig vlan1 create

[Step-4] ifconfig vlan1 vlan 1 vlandev lagg1

[Step-5] ifconfig

** Output **

lagg1: flags=3D8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=3D8<VLAN_MTU>
        ether 00:0c:29:5b:6a:04
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet autoselect
        status: no carrier
        laggproto failover lagghash l2,l3,l4
        laggport: le1 flags=3D1<MASTER>
        laggport: le2 flags=3D0<>

vlan1: flags=3D8842<BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 00:0c:29:5b:6a:04
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet autoselect
        status: no carrier
        vlan: 1 parent interface: lagg1

[Step-6] ifconfig lagg1 -laggport le1

[Step-7] ifconfig

** Output **

lagg1: flags=3D8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=3D8<VLAN_MTU>
        ether 00:0c:29:5b:6a:0e
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet autoselect
        status: no carrier
        laggproto failover lagghash l2,l3,l4
        laggport: le2 flags=3D1<MASTER>

vlan1: flags=3D8842<BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 00:0c:29:5b:6a:04
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet autoselect
        status: no carrier
        vlan: 1 parent interface: lagg1

** Conclusion  **

vlan1 MAC does not change, when Lagg1 MAC changes.=20

###################
#### After Fix ####
###################

[Step-0] uname -a

** Output **

FreeBSD Host-XXX 10.3-PRERELEASE FreeBSD 10.3-PRERELEASE #6 r296988: Fri Ma=
r 18
08:30:25 IST 2016 amd64

[Step-1] ifconfig lagg1 create

[Step-2] ifconfig lagg1 laggproto failover laggport le1 laggport le2

[Step-3] ifconfig vlan1 create

[Step-4] ifconfig vlan1 vlan 1 vlandev lagg1

[Step-5] ifconfig

** Output **

lagg1: flags=3D8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=3D8<VLAN_MTU>
        ether 00:0c:29:5b:6a:04
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet autoselect
        status: no carrier
        laggproto failover lagghash l2,l3,l4
        laggport: le1 flags=3D1<MASTER>
        laggport: le2 flags=3D0<>

vlan1: flags=3D8842<BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 00:0c:29:5b:6a:04
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet autoselect
        status: no carrier
        vlan: 1 parent interface: lagg1

[Step-6] ifconfig lagg1 -laggport le1

[Step-7] ifconfig

** Output **

lagg1: flags=3D8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=3D8<VLAN_MTU>
        ether 00:0c:29:5b:6a:0e
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet autoselect
        status: no carrier
        laggproto failover lagghash l2,l3,l4
        laggport: le2 flags=3D1<MASTER>

vlan1: flags=3D8842<BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 00:0c:29:5b:6a:0e
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet autoselect
        status: no carrier
        vlan: 1 parent interface: lagg1

** Conclusion  **

vlan1 MAC changes, when Lagg1 MAC changes.=20

Thanks,
Pushkar Kothavade

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-207701-6-SOp4wW0uXH>