9.2 Multiple Nics / VLANs not active after reboot

Status
Not open for further replies.

BTW

Dabbler
Joined
Feb 1, 2014
Messages
33
Hello,
I am relatively new to FreeNAS, so apologizes if this is a newbie question/problem.

**Please see below for system details and configurations**

Problem:
I have a new build of Freenas 9.2. This system has 3 nics (two as a lagg [lagg0] for iSCSI and one for management [re2]). I also have VLAN interface configured with IP's assigned to the VLAN interfaces. The problem is that my network configurations say all interfaces are active after a reboot but no traffic is passed (if i try to ping anything, receive "host not up").

Workaround:
I will enter the shell and type the following commands (in order), my network works fine:

Code:
ifconfig re0 down
ifconfig re1 down
ifconfig re2 down
ifconfig lagg0 down
ifconfig vlan220 down
ifconfig vlan221 down
ifconfig re0 up
ifconfig re1 up
ifconfig re2 up
ifconfig lagg0 up
ifconfig vlan220 up
ifconfig vlan221 up



What I can assume is the VLANs are trying to come up before the actual interfaces are fully active. If i just restart the physical interface + lagg0, it does not fix the network. I have to bring all physical interfaces + lagg0 up then the VLANs.
I have also attached files with outputs from "ifconfig" & "ifconfig -m" while the system is functioning and not (I did not want to paste in the thread as they are long). The only main difference I can see is:
  • When the system first boots
    • media of interface = 10baseT/UTP <half-duplex>
  • When I run the commands to fix
    • media of interface = 1000baseT <full-duplex>
Side note:
I also tried this with a completely fresh install of FreeNAS and only one nic (onboard) and get the exact same results.
Any help?
Thanks
System Details:
MoBo = Asus E35M1-I Deluxe
Nic = dual port Startech
Switch = Cisco 3650 (I also tried this with a Netgear GB and DLink hub, same results)
FreeNAS = FreeNAS-9.2.0-RELEASE-x64 (ab098f4)
Network Conf = re0 + re1 > lagg0
re2 > standalone
vlan220 > 192.168.15.16/24
vlan221 > 192.168.8.110/24
default route > 192.168.8.1
 

Attachments

  • notworking_network.txt
    2.6 KB · Views: 283
  • notworking_nic_lagg0.txt
    540 bytes · Views: 255
  • notworking_nic_re0.txt
    1 KB · Views: 247
  • notworking_nic_re1.txt
    1 KB · Views: 238
  • notworking_nic_re2.txt
    974 bytes · Views: 273
  • notworking_nic_vlan220.txt
    460 bytes · Views: 266
  • notworking_nic_vlan221.txt
    486 bytes · Views: 292
  • working_network.txt
    2.6 KB · Views: 341
  • working_nic_lagg0.txt
    529 bytes · Views: 237
  • working_nic_re0.txt
    1 KB · Views: 274

BTW

Dabbler
Joined
Feb 1, 2014
Messages
33
I have attached the remainder of the outputs.
Thanks
 

Attachments

  • working_nic_re1.txt
    1 KB · Views: 284
  • working_nic_re2.txt
    983 bytes · Views: 307
  • working_nic_vlan220.txt
    460 bytes · Views: 256
  • working_nic_vlan221.txt
    484 bytes · Views: 254

BTW

Dabbler
Joined
Feb 1, 2014
Messages
33
I should have done this from the beginning. Here are two files of the combined files above for easy comparison.
Thanks
 

Attachments

  • notworking_combined.txt
    7.2 KB · Views: 361
  • working_combined.txt
    7.2 KB · Views: 277

BTW

Dabbler
Joined
Feb 1, 2014
Messages
33
Here is a dump of the hardware installed. According to the FreeBSD site that my RealTek nics are supported.

Code:
hostb0@pci0:0:0:0:    class=0x060000 card=0x84a51043 chip=0x15101022 rev=0x00 hdr=0x00
    vendor    = 'Advanced Micro Devices [AMD]'
    device    = 'Family 14h Processor Root Complex'
    class      = bridge
    subclass  = HOST-PCI
vgapci0@pci0:0:1:0:    class=0x030000 card=0x84a51043 chip=0x98021002 rev=0x00 hdr=0x00
    vendor    = 'ATI Technologies Inc'
    device    = 'AMD Radeon HD 6310 GraphicsATI'
    class      = display
    subclass  = VGA
none0@pci0:0:1:1:    class=0x040300 card=0x84a51043 chip=0x13141002 rev=0x00 hdr=0x00
    vendor    = 'ATI Technologies Inc'
    device    = 'Wrestler HDMI Audio [Radeon HD 6250/6310]'
    class      = multimedia
    subclass  = HDA
pcib1@pci0:0:4:0:    class=0x060400 card=0x12341022 chip=0x15121022 rev=0x00 hdr=0x01
    vendor    = 'Advanced Micro Devices [AMD]'
    device    = 'Family 14h Processor Root Port'
    class      = bridge
    subclass  = PCI-PCI
ahci0@pci0:0:17:0:    class=0x01018f card=0x84961043 chip=0x43901002 rev=0x40 hdr=0x00
    vendor    = 'ATI Technologies Inc'
    device    = 'SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode]'
    class      = mass storage
    subclass  = ATA
ohci0@pci0:0:18:0:    class=0x0c0310 card=0x84961043 chip=0x43971002 rev=0x00 hdr=0x00
    vendor    = 'ATI Technologies Inc'
    device    = 'SB7x0/SB8x0/SB9x0 USB OHCI0 Controller'
    class      = serial bus
    subclass  = USB
ehci0@pci0:0:18:2:    class=0x0c0320 card=0x84961043 chip=0x43961002 rev=0x00 hdr=0x00
    vendor    = 'ATI Technologies Inc'
    device    = 'SB7x0/SB8x0/SB9x0 USB EHCI Controller'
    class      = serial bus
    subclass  = USB
ohci1@pci0:0:19:0:    class=0x0c0310 card=0x84961043 chip=0x43971002 rev=0x00 hdr=0x00
    vendor    = 'ATI Technologies Inc'
    device    = 'SB7x0/SB8x0/SB9x0 USB OHCI0 Controller'
    class      = serial bus
    subclass  = USB
ehci1@pci0:0:19:2:    class=0x0c0320 card=0x84961043 chip=0x43961002 rev=0x00 hdr=0x00
    vendor    = 'ATI Technologies Inc'
    device    = 'SB7x0/SB8x0/SB9x0 USB EHCI Controller'
    class      = serial bus
    subclass  = USB
none1@pci0:0:20:0:    class=0x0c0500 card=0x84961043 chip=0x43851002 rev=0x42 hdr=0x00
    vendor    = 'ATI Technologies Inc'
    device    = 'SBx00 SMBus Controller'
    class      = serial bus
    subclass  = SMBus
atapci0@pci0:0:20:1:    class=0x01018a card=0x84961043 chip=0x439c1002 rev=0x40 hdr=0x00
    vendor    = 'ATI Technologies Inc'
    device    = 'SB7x0/SB8x0/SB9x0 IDE Controller'
    class      = mass storage
    subclass  = ATA
none2@pci0:0:20:2:    class=0x040300 card=0x848d1043 chip=0x43831002 rev=0x40 hdr=0x00
    vendor    = 'ATI Technologies Inc'
    device    = 'SBx00 Azalia (Intel HDA)'
    class      = multimedia
    subclass  = HDA
isab0@pci0:0:20:3:    class=0x060100 card=0x84961043 chip=0x439d1002 rev=0x40 hdr=0x00
    vendor    = 'ATI Technologies Inc'
    device    = 'SB7x0/SB8x0/SB9x0 LPC host controller'
    class      = bridge
    subclass  = PCI-ISA
pcib6@pci0:0:20:4:    class=0x060401 card=0x00000000 chip=0x43841002 rev=0x40 hdr=0x01
    vendor    = 'ATI Technologies Inc'
    device    = 'SBx00 PCI to PCI Bridge'
    class      = bridge
    subclass  = PCI-PCI
ohci2@pci0:0:20:5:    class=0x0c0310 card=0x84961043 chip=0x43991002 rev=0x00 hdr=0x00
    vendor    = 'ATI Technologies Inc'
    device    = 'SB7x0/SB8x0/SB9x0 USB OHCI2 Controller'
    class      = serial bus
    subclass  = USB
pcib7@pci0:0:21:0:    class=0x060400 card=0x00001002 chip=0x43a01002 rev=0x00 hdr=0x01
    vendor    = 'ATI Technologies Inc'
    device    = 'SB700/SB800 PCI to PCI bridge (PCIE port 0)'
    class      = bridge
    subclass  = PCI-PCI
pcib8@pci0:0:21:1:    class=0x060400 card=0x00001002 chip=0x43a11002 rev=0x00 hdr=0x01
    vendor    = 'ATI Technologies Inc'
    device    = 'SB700/SB800 PCI to PCI bridge (PCIE port 1)'
    class      = bridge
    subclass  = PCI-PCI
pcib9@pci0:0:21:2:    class=0x060400 card=0x00001002 chip=0x43a21002 rev=0x00 hdr=0x01
    vendor    = 'ATI Technologies Inc'
    class      = bridge
    subclass  = PCI-PCI
pcib10@pci0:0:21:3:    class=0x060400 card=0x00001002 chip=0x43a31002 rev=0x00 hdr=0x01
    vendor    = 'ATI Technologies Inc'
    class      = bridge
    subclass  = PCI-PCI
ohci3@pci0:0:22:0:    class=0x0c0310 card=0x84961043 chip=0x43971002 rev=0x00 hdr=0x00
    vendor    = 'ATI Technologies Inc'
    device    = 'SB7x0/SB8x0/SB9x0 USB OHCI0 Controller'
    class      = serial bus
    subclass  = USB
ehci2@pci0:0:22:2:    class=0x0c0320 card=0x84961043 chip=0x43961002 rev=0x00 hdr=0x00
    vendor    = 'ATI Technologies Inc'
    device    = 'SB7x0/SB8x0/SB9x0 USB EHCI Controller'
    class      = serial bus
    subclass  = USB
hostb1@pci0:0:24:0:    class=0x060000 card=0x00000000 chip=0x17001022 rev=0x43 hdr=0x00
    vendor    = 'Advanced Micro Devices [AMD]'
    device    = 'Family 12h/14h Processor Function 0'
    class      = bridge
    subclass  = HOST-PCI
hostb2@pci0:0:24:1:    class=0x060000 card=0x00000000 chip=0x17011022 rev=0x00 hdr=0x00
    vendor    = 'Advanced Micro Devices [AMD]'
    device    = 'Family 12h/14h Processor Function 1'
    class      = bridge
    subclass  = HOST-PCI
hostb3@pci0:0:24:2:    class=0x060000 card=0x00000000 chip=0x17021022 rev=0x00 hdr=0x00
    vendor    = 'Advanced Micro Devices [AMD]'
    device    = 'Family 12h/14h Processor Function 2'
    class      = bridge
    subclass  = HOST-PCI
hostb4@pci0:0:24:3:    class=0x060000 card=0x00000000 chip=0x17031022 rev=0x00 hdr=0x00
    vendor    = 'Advanced Micro Devices [AMD]'
    device    = 'Family 12h/14h Processor Function 3'
    class      = bridge
    subclass  = HOST-PCI
hostb5@pci0:0:24:4:    class=0x060000 card=0x00000000 chip=0x17041022 rev=0x00 hdr=0x00
    vendor    = 'Advanced Micro Devices [AMD]'
    device    = 'Family 12h/14h Processor Function 4'
    class      = bridge
    subclass  = HOST-PCI
hostb6@pci0:0:24:5:    class=0x060000 card=0x00000000 chip=0x17181022 rev=0x00 hdr=0x00
    vendor    = 'Advanced Micro Devices [AMD]'
    device    = 'Family 12h/14h Processor Function 6'
    class      = bridge
    subclass  = HOST-PCI
hostb7@pci0:0:24:6:    class=0x060000 card=0x00000000 chip=0x17161022 rev=0x00 hdr=0x00
    vendor    = 'Advanced Micro Devices [AMD]'
    device    = 'Family 12h/14h Processor Function 5'
    class      = bridge
    subclass  = HOST-PCI
hostb8@pci0:0:24:7:    class=0x060000 card=0x00000000 chip=0x17191022 rev=0x00 hdr=0x00
    vendor    = 'Advanced Micro Devices [AMD]'
    device    = 'Family 12h/14h Processor Function 7'
    class      = bridge
    subclass  = HOST-PCI
pcib2@pci0:1:0:0:    class=0x060400 card=0x00000000 chip=0x8232104c rev=0x02 hdr=0x01
    vendor    = 'Texas Instruments'
    device    = 'XIO3130 PCI Express Switch (Upstream)'
    class      = bridge
    subclass  = PCI-PCI
pcib3@pci0:2:0:0:    class=0x060400 card=0x00000000 chip=0x8233104c rev=0x02 hdr=0x01
    vendor    = 'Texas Instruments'
    device    = 'XIO3130 PCI Express Switch (Downstream)'
    class      = bridge
    subclass  = PCI-PCI
pcib4@pci0:2:1:0:    class=0x060400 card=0x00000000 chip=0x8233104c rev=0x02 hdr=0x01
    vendor    = 'Texas Instruments'
    device    = 'XIO3130 PCI Express Switch (Downstream)'
    class      = bridge
    subclass  = PCI-PCI
pcib5@pci0:2:2:0:    class=0x060400 card=0x00000000 chip=0x8233104c rev=0x02 hdr=0x01
    vendor    = 'Texas Instruments'
    device    = 'XIO3130 PCI Express Switch (Downstream)'
    class      = bridge
    subclass  = PCI-PCI
re0@pci0:3:0:0:    class=0x020000 card=0x816810ec chip=0x816810ec rev=0x02 hdr=0x00
    vendor    = 'Realtek Semiconductor Co., Ltd.'
    device    = 'RTL8111/8168B PCI Express Gigabit Ethernet controller'
    class      = network
    subclass  = ethernet
re1@pci0:4:0:0:    class=0x020000 card=0x816810ec chip=0x816810ec rev=0x02 hdr=0x00
    vendor    = 'Realtek Semiconductor Co., Ltd.'
    device    = 'RTL8111/8168B PCI Express Gigabit Ethernet controller'
    class      = network
    subclass  = ethernet
none3@pci0:7:0:0:    class=0x028000 card=0x1d891a3b chip=0x002b168c rev=0x01 hdr=0x00
    vendor    = 'Atheros Communications Inc.'
    device    = 'AR9285 Wireless Network Adapter (PCI-Express)'
    class      = network
re2@pci0:8:0:0:    class=0x020000 card=0x84321043 chip=0x816810ec rev=0x06 hdr=0x00
    vendor    = 'Realtek Semiconductor Co., Ltd.'
    device    = 'RTL8111/8168B PCI Express Gigabit Ethernet controller'
    class      = network
    subclass  = ethernet
none4@pci0:9:0:0:    class=0x0c0330 card=0x84131043 chip=0x01941033 rev=0x03 hdr=0x00
    vendor    = 'NEC Corporation'
    device    = 'uPD720200 USB 3.0 Host Controller'
    class      = serial bus
    subclass  = USB
none5@pci0:10:0:0:    class=0x0c0330 card=0x84131043 chip=0x01941033 rev=0x03 hdr=0x00
    vendor    = 'NEC Corporation'
    device    = 'uPD720200 USB 3.0 Host Controller'
    class      = serial bus
    subclass  = USB
 

BTW

Dabbler
Joined
Feb 1, 2014
Messages
33
Ok. The plot thickens.

I rearranged my network and connections so I can physically separate my management and iSCSI connections (no longer need VLAN tags from FreeNAS). I removed the FreeNAS VLAN tags and placed the IPs directly on the interfaces.

Now my system and nics behave as per normal. They are active (actually transmit data) after a reboot.

THIS IS NOT A RESOLUTION!!!!

So there is something wrong with FreeNAS and VLAN tagging. Is there somewhere else I can check or is this a bug issue?
Thanks
 

ser_rhaegar

Patron
Joined
Feb 2, 2014
Messages
358
Vlan tagging is working well for me. I'm also using a lagg interface with an ip on the native vlan.

What switch are you using and what is the config on that as well?
 

BTW

Dabbler
Joined
Feb 1, 2014
Messages
33
@ser_rhaegar

I have attempted this with and without a lagg (same result). The most basic was one nic and a VLAN interface on the FreeNAS. The port configuration (at that point was)
Code:
switchport mode truck
switchport trunk encapsulation dot1q
switchport trunk native vlan 4094
switchport trunk allowed vlan 220,221
no shut


I also tried to move the native to an actual VLAN (220 or 221....not best switch security practice) with the same results. Everything seems to point to the system does not detect the hardware on the RealTek chipset correctly when VLAN tagging is enabled (more precisely the Auto-configuration is broken/interrrupted as the system detects the ports to be 10MB half-duplex).
I cannot prove this as I do not know where to look or isolate it.

Any ideas?
Thanks
 

ser_rhaegar

Patron
Joined
Feb 2, 2014
Messages
358
Status
Not open for further replies.
Top