2 NIC interfaces with different speeds and Crossover connection between 2 SunFire systems.

From: jason kappy (jasonkappy@yahoo.com)
Date: Tue Mar 08 2005 - 16:22:44 EST


Hello Gurus,
                  We have a 100Mbps network and have v440,v480 systems with two NICs on each which can support 1000Mbps .We only use one NIC on each system to connect to network. I thought of using the additional NIC card of each system to be connected directly using crossover so that we get 1000Mbps between appserver and database server. I was successfully able to do this but wanted to get this verified. I am getting a speed of 19MBytes/sec over this link using ftp.
I did add a entry in /etc/defaultrouter and touched /etc/notrouter file to turn off routing.
 
These are the settings in /etc/rc2.d/S99ndd of each system. ce0 is connected to 100Mbps and ce1 to 1000Mbps. Do I need to disable auto-negotiation for crossover connection too? We did for 100Mbps becuase our switch doesn't support it.
#ce0
ndd -set /dev/ce instance 0
#ndd -set /dev/ce link_master 0
ndd -set /dev/ce adv_1000fdx_cap 0
ndd -set /dev/ce adv_1000hdx_cap 0
ndd -set /dev/ce adv_100fdx_cap 1
ndd -set /dev/ce adv_100hdx_cap 0
ndd -set /dev/ce adv_10fdx_cap 0
ndd -set /dev/ce adv_10hdx_cap 0
ndd -set /dev/ce adv_autoneg_cap 0
 
#ce1
ndd -set /dev/ce instance 1
#ndd -set /dev/ce link_master 0
ndd -set /dev/ce adv_1000fdx_cap 1
ndd -set /dev/ce adv_1000hdx_cap 0
ndd -set /dev/ce adv_100fdx_cap 0
ndd -set /dev/ce adv_100hdx_cap 0
ndd -set /dev/ce adv_10fdx_cap 0
ndd -set /dev/ce adv_10hdx_cap 0
ndd -set /dev/ce adv_autoneg_cap
 
I used a different subnet addresses for crossover connection to prevent any confusion.
Here are the routing table of one system. Both are same except for IP addresses(.50,.51). Ce1 is the Gig crossover link. 10.50.5.254 is our network gateway entry /etc/defaultrouter.

192.168.125.0 192.168.125.51 U 1 0 ce1
10.50.5.0 10.50.5.3 U 1 2 ce0
224.0.0.0 10.50.5.3 U 1 0 ce0
default 10.50.5.254 UG 1 7
127.0.0.1 127.0.0.1 UH 2 8 lo0
 
I wanted to setup a static route but couldn't do it.
# route add -host 192.168.125.50 192.168.125.51
#ping 192.168.125.51
The above command adds route, but when I do ping I get ICMP host unreachable. Please let me know if I did setup something wrong.
 
Cheers,
J.
 

 

 

 
 

 

                
---------------------------------
Celebrate Yahoo!'s 10th Birthday!
 Yahoo! Netrospective: 100 Moments of the Web
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:30:18 EDT