SOLVED 11.2-U2.1 simple VLAN setup not working at all ...

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
Hi all,

My FreeNAS system:
Code:
bnxt0: flags=8842<BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=e527bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,WOL_MAGIC,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
    ether 00:25:90:5f:9a:82
    hwaddr 00:25:90:5f:9a:82
    nd6 options=9<PERFORMNUD,IFDISABLED>
    media: Ethernet autoselect (1000baseT <full-duplex,rxpause,txpause>)
    status: active
vlan1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=600703<RXCSUM,TXCSUM,TSO4,TSO6,LRO,RXCSUM_IPV6,TXCSUM_IPV6>
    ether 00:25:90:5f:9a:82
    inet 217.29.45.32 netmask 0xffffff00 broadcast 217.29.45.255
    nd6 options=9<PERFORMNUD,IFDISABLED>
    media: Ethernet autoselect (1000baseT <full-duplex,rxpause,txpause>)
    status: active
    vlan: 1 vlanpcp: 0 parent interface: bnxt0
    groups: vlan


The corresponding port on the Cisco switch:
Code:
interface GigabitEthernet0/9
 description freenas02.intern.punkt.de
 switchport trunk encapsulation dot1q
 switchport trunk native vlan 1001
 switchport mode trunk


"native vlan" is Cisco speak for how to treat untagged frames with a default to put them into VLAN 1. Since I want to run VLAN 1 tagged, I have a dummy VLAN throughout my layer 2 network where all untagged frames on trunk ports get dumped.

I'm running this in production with literally dozens of plain FreeBSD servers - can't see what's different here with FreeNAS. Only the bnxt(4) interface is new for us.

tcpdump(1) does not show any traffic coming in either on bnxt0 or vlan1 ...

Any hints greatly appreciated, thanks.
Patrick
 
Last edited:

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
D

dlavigne

Guest
Any idea if there's an open FreeBSD ticket? If not, it might be worth reporting at redmine.ixsystems.com so our os dev can investigate.
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
I'll create a report for FreeNAS first. There seems to be no FreeBSD bug report that matches the problem, but I suspect there is at least one FreeNAS specific problem and possibly an additional FreeBSD bnxt(4) bug involved. First things first ;)

Progress:
Code:
ifconfig bnxt0 up
ifconfig bnxt0 promisc

fixes things.

Kind regards,
Patrick
 
Last edited:

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
See the linked tickets for the resolution, please. One operator error, one FreeBSD bug. Configuring the parent interface up promisc via UI works as intended.

Kind regards
Patrick
 
Top