Intel x520 dual port NIC doesn't work after setting static IP address

Status
Not open for further replies.

skyyxy

Contributor
Joined
Jul 16, 2016
Messages
136
Sorry for my bad English, but I really need help.
My freenas box is built on:
INTEL XEON 2670V1
SUPERMICRO X9SRA
32GB ECC MEMORY
2 INTEL ONBOARD 1GB NIC AND 1 INTEL X520 DUAL 10GB NIC (has 2 10gb ports)
without SSD for any kind of cache,just 6 Seagate desktop HDDs for raidz.

FreeNAS ver: 9.3

The problem is :
I want to give each network NIC has their own IP address.
Something like:1gb A---192.168.1.100
1gb B---192.168.1.111
10GB prot1:192.168.1.112
10GB prot2:192.168.1.113
1:Both onboard 1gb are working good if I do not use 10GB intel x520.
2:If I use the x520 with onboard 1gb together,only 1 10gb ports can work after setting a static IP address for these 4 ports (other 3 ports can set IP addresses but don't work and can't access)
3:if I just use x520 and disable two 1gb onboard in BIOS. Also just 1 10gb port can work. another one same like point 2.

So anybody has same problem? or What I need to do.
Thanks in advance.

BTW: I want build my own workteam and not use internet, so the small network doesn't have router or switch or hub just use cable direct connect. 1GB using normal RJ-45 cable, 10gb using SFP+ cable.
 
Last edited by a moderator:

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
You can't have multiple interfaces configured in the same subnet. And I'm assuming you used 255.255.255.0 which would mean those are all in the same subnet.
 

skyyxy

Contributor
Joined
Jul 16, 2016
Messages
136
You can't have multiple interfaces configured in the same subnet. And I'm assuming you used 255.255.255.0 which would mean those are all in the same subnet.
Thank you very much for the reply, But what I should be do now? set subnet like /24 /23/22/21 for each port? thanks
 
Last edited by a moderator:

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
set subnet like /24 /23/22/21 for each port?
No.

You need to create different subnets, not just use smaller masks (for example, /24 is contained in the /23, /22 and /21). If this doesn't make sense, then do some more reading about subnetting. If this does make sense, then place each interface on it's own subnet and then figure out how to redesign your network. Alternatively, look into LAGG.
 
Joined
Mar 22, 2016
Messages
217
I would forget the 1GB ports and just use your 10GB ports and the IPMI port. You can set up the 10GB ports in LAGG or set them up on different subnets, which is what I personally did.
 

skyyxy

Contributor
Joined
Jul 16, 2016
Messages
136
No.

You need to create different subnets, not just use smaller masks (for example, /24 is contained in the /23, /22 and /21). If this doesn't make sense, then do some more reading about subnetting. If this does make sense, then place each interface on it's own subnet and then figure out how to redesign your network. Alternatively, look into LAGG.
Thanks a lot, I solved it use your way. Thank you very much again. And thanks everybody.
 
Status
Not open for further replies.
Top