All NIC's down when disconnecting OnBoard NIC

Status
Not open for further replies.

mattman555

Cadet
Joined
Nov 6, 2012
Messages
9
My freenas home-built server contains 3 RealTek NIC's, 1 Onboard, and 2 on a Dual NIC.
I am running Freenas 8.3.0x64
They are connected to single Layer3 Network Switch with multiple subnets, VLANS, and VLAN routing enabled.
The onboard NIC was identified as NIC2 and the Dual NICs were listed as NIC1 and NIC0.

Here are the NIC Settings…
NIC0 - 172.16.72.203/24
NIC1 – 172.16.73.203/24
NIC2 – 172.16.74.203/24

Freenas Default Route 172.16.74.254
Freenas Static Route 172.16.72.254
Freenas Static Route 172.16.73.254

Here is the behavior I would expect….
If I setup a ping from a PC on the 172.16.75.*** network to each IP address (72.203, 73.203, 74.203) on the freenas server then I would expect the following –
Each IP should reply
I should be able to disconnect any associated network cable to the freenas server and the others should stay up.

Here is what I am seeing…
I start an ongoing ping to each IP address of the Freenas server.
When I disconnect the network cable from NIC2, then NIC2, NIC1 and NIC0 all go to down
When I plug it back in all NIC’s start to Ping

Any ideas what may be causing this?


Thanks..

MattMan555
LIAN LI PC-Q25 Case | Cooler Master 500W PS | Zotac M880G-ITX | SYBA Dual NIC SY-PEX24028
8GB Corsair RAM | 5 x Seagate ST2000DM001 2TB SATAIII | 1 x Corsair 60GB SSD SATAIII
 

mattman555

Cadet
Joined
Nov 6, 2012
Messages
9
I believe I have solved these issues...
Thinking a bit more about networking and routing I realized that the freenas box only has 1 default route which in my case is 74.254.
I am sending the ping from the 75.*** network to the 73.*** or 72.*** networks.
73 or 72 default route is 74.254, this means the 74.*** network always needs to be up to return traffic as 73 and 72 only know their own subnet.

Long story short.... if you using multiple subnets you "technically" should have your targets on the same subnet, else you’re going to route traffic out your default route.
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,681
In theory you can have multiple default routes, but to get it you need:

1) to be able to use setfib with a kernel compiled with multiple routing table support, or

2) to be able to use ipfw or something that allows packet forwarding based on source IP address

neither of which is the case for FreeNAS. The old-school solution is to use a routing protocol, but implementing OSPF or something like that for a NAS is probably overkill.
 
Status
Not open for further replies.
Top