*New 11.4 series Release:
2020-07-03: XigmaNAS 11.4.0.4.7633 - released!

*New 12.1 series Release:
2020-04-17: XigmaNAS 12.1.0.4.7542 - released


We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS costs money. Please consider donating for our project so that we can continue to offer you the best.
We need your support! eg: PAYPAL

second NIC does not work at startup

NIC, network controllers, compatibility questions, WOL, wake on lan
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
drnicolas
Advanced User
Advanced User
Posts: 178
Joined: 15 Aug 2013 14:03
Location: Wiesbaden, Germany
Status: Offline

second NIC does not work at startup

#1

Post by drnicolas »

I intend to use a second NIC for a direct connection to my ESXi-box

My NAS4Free-machine has one INtel-NIC (PCI-E card) and an onboard-NIC might be a Realtek

The Intel-NIC has 192.168.1.252/24 and an MTU of 6000.

The second NIC has 10.0.0.1/24 and also MTU of 6000.
Nevertheless after reboot I get the following output from ifconfig :
  • login as: root
    root@192.168.1.252's password:
    Last login: Sat Jul 23 18:10:06 2016
    Welcome to NAS4Free!
    hp-nas: ~# ifconfig
    em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=4319b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MCAST,WOL_MAGIC,VLAN_HWTSO>
    ether 68:05:ca:1a:4b:81
    inet 192.168.1.252 netmask 0xffffff00 broadcast 192.168.1.255
    nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
    media: Ethernet autoselect (1000baseT <full-duplex>)
    status: active
    bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=c219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWTSO,LINKSTATE>
    ether 28:92:4a:32:03:e7
    nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
    media: Ethernet autoselect (1000baseT <full-duplex,master>)
    status: active
    lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
    options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
    inet6 ::1 prefixlen 128
    inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
    inet 127.0.0.1 netmask 0xff000000
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
    hp-nas: ~# ifconfig bge0 up
    hp-nas: ~# ifconfig bge0 10.0.0.1
    hp-nas: ~# ifconfig
    em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=4319b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MCAST,WOL_MAGIC,VLAN_HWTSO>
    ether 68:05:ca:1a:4b:81
    inet 192.168.1.252 netmask 0xffffff00 broadcast 192.168.1.255
    nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
    media: Ethernet autoselect (1000baseT <full-duplex>)
    status: active
    bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=c219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWTSO,LINKSTATE>
    ether 28:92:4a:32:03:e7
    inet 10.0.0.1 netmask 0xff000000 broadcast 10.255.255.255
    nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
    media: Ethernet autoselect (1000baseT <full-duplex,master>)
    status: active
    lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
    options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
    inet6 ::1 prefixlen 128
    inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
    inet 127.0.0.1 netmask 0xff000000
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
    hp-nas: ~#
FOr me, it look as the settings for NIC2 are ignored including IP and MTU-setting.
No wonder, pings from 10.0.0.2 fail.

Doing a ifconfig bge0 10.0.0.1/24 brings NIC2 to work, but after reboot anything is bad again.
Also iSCSI fails due to the wrong settings and I cannot restart it.

What can I do ?
HP Proliant N54L - Bios Mod -16GB non-ECC-RAM - ZFS RAIDZ1 (3x3TB) - 1VM running XigmaNAS 11.2.0.4.6026

Jack Foobar
experienced User
experienced User
Posts: 110
Joined: 07 Jul 2015 01:24
Status: Offline

Re: second NIC does not work at startup

#2

Post by Jack Foobar »

You have to configure this through the web interface, not command line. You didn't specify your install, but it sounds like it's embedded, which means without the gui you are basically making changes to a live usb stick. Which means you ain't changing nothing.

drnicolas
Advanced User
Advanced User
Posts: 178
Joined: 15 Aug 2013 14:03
Location: Wiesbaden, Germany
Status: Offline

Re: second NIC does not work at startup

#3

Post by drnicolas »

I am not sure which version I have. I think it's embedded

NAS4Free boots froom an USB-Stick, but it's fixed to the NAS-Bx.

Where can I see which version I use ?

Of course, I tried first with the GUI; it seems to forget the settings
HP Proliant N54L - Bios Mod -16GB non-ECC-RAM - ZFS RAIDZ1 (3x3TB) - 1VM running XigmaNAS 11.2.0.4.6026

Post Reply

Return to “LAN , Network controllers”