Connect two hosts on two separate 10GbE Nics without switch.

Status
Not open for further replies.

helloha

Contributor
Joined
Jul 6, 2014
Messages
109
Hi,

Im experimenting with my new Chelsio dual port 10GbE nic.

I'm trying to hook up two clients on two individual ports on the same server.

However when I configure the second interface things stop working altogether.

I configured the interfaces on the server as follows.

CXGB-0 on server:
ipv4: 192.168.250.1
subnet: 128.0.0.0

Corresponding interface on client-0:
ipv4: 192.1.250.2
subnet: 128.0.0.0

CXGB-1 on server:
ipv4: 192.168.250.3
subnet: 192.0.0.0

Corresponding interface on client-1:
ipv4: 192.1.250.4
subnet: 192.0.0.0

As soon as I configure the second interface I can't reach the server and web interface from host-0.

I put both interfaces on different subnets but am I missing something?

Also I can set the second subnet mask 192.0.0.0 from the console, but not from the web interface. It says the subnet is already in use. Not sure what that is about.

Thanks!
Karel.
 

zambanini

Patron
Joined
Sep 11, 2013
Messages
479
do yourself a favour, use a "real" network mask. your masks are overlapping.
for example in your case 255.255.255.0 : )
 

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
You have 30+ million ip addresses in that subnet space. You need to do more reading.

And 192.1.x.x is public IP space, so that's a bad address to choose. BBN will not be happy.
 

helloha

Contributor
Joined
Jul 6, 2014
Messages
109
Not sure what you mean by "real". But in my case 255.255.255.0 is already in use by client-1 as it's the subnet for the 1GB port to my switch providing internet access.
 

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
Not sure what you mean by "real". But in my case 255.255.255.0 is already in use by client-1 as it's the subnet for the 1GB port to my switch providing internet access.
255.255.255.0 by itself doesn't describe a subnet. You need the ip address to go with it. So you could choose 192.168.2.1/255.255.255.0 and 192.168.3.1/255.255.255.0 as 2 separate networks (subnetted) each containing 255 addresses.

I would highly suggest that you do some reading on subnetting and CIDR before you tackle this.
 

zambanini

Patron
Joined
Sep 11, 2013
Messages
479
helloha, depasseg already told you:
you need a basic knowledge of network and ip addresses.

a network mask divides the ip range - the mask itself doe snot to be unique.
 

helloha

Contributor
Joined
Jul 6, 2014
Messages
109
Thanks for answering my noob question, will certainly do more reading!
 

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
You can also search the forums for configuring a bridge. This allows your 3 systems to be in one subnet and use the 2 10GbE ports on the freenas as a switch.
 

helloha

Contributor
Joined
Jul 6, 2014
Messages
109
You can also search the forums for configuring a bridge. This allows your 3 systems to be in one subnet and use the 2 10GbE ports on the freenas as a switch.

Yes I read about that, but taking things slow first :smile:. Will undoubtedly post again here regarding that endevour!
 

Cheatdeath

Dabbler
Joined
May 25, 2015
Messages
14
You can also search the forums for configuring a bridge. This allows your 3 systems to be in one subnet and use the 2 10GbE ports on the freenas as a switch.


I have a dual port Chelsio s320 on the way to do exactly this. Currently my Freenas has a Chelsio s310 that is direct connected to my workstation with the same Chelsio s310 and it works great. The plan is to put the new s320 dual port nic into the freenas for connection to my workstation and a new server im about to deploy that will use the extra chelsio s310.

If you could explain or point me to the process of adding the network bridge for this to work that would help me a lot, unfortunately when I search the forum for "configuring a bridge" I basically find this thread lol.

Thank you
 

Mirfster

Doesn't know what he's talking about
Joined
Oct 2, 2015
Messages
3,215
I have a dual port Chelsio s320 on the way to do exactly this. Currently my Freenas has a Chelsio s310 that is direct connected to my workstation with the same Chelsio s310 and it works great. The plan is to put the new s320 dual port nic into the freenas for connection to my workstation and a new server im about to deploy that will use the extra chelsio s310.

If you could explain or point me to the process of adding the network bridge for this to work that would help me a lot, unfortunately when I search the forum for "configuring a bridge" I basically find this thread lol.

Thank you
Think this may be the thread you are looking for: Please help - 10gb-10gb-1gb setup without 10gb switch
 
Status
Not open for further replies.
Top