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

From: jason kappy <jasonkappy_at_yahoo.com>
Date: Fri Mar 11 2005 - 10:26:04 EST
     First thanks to Andrew Williams, Russell Page,
Hendrik Visage for there most appreciated suggestions.
I kind off used all there suggestions.

I ended up setting auto-negotiate on v440 system and
no-autonegotiate on v480R. I found that if both are
hard wired to 1000Mbps and we bring down and back up
one interface card, the link won't come up. One of the
members suggested that v480 has problems when
interface parameters are set using ndd. So I set
interface parameters on v480 by editing the ce device
driver configuration file, ce.conf. Thanks to Andrew's
documentation which made this task very simple.
---------------------------------------------------------
           Editing ce.conf

Configuring ce.conf
1) Determine the names:
$ grep ce /etc/path_to_inst
"/pci@9,700000/network@2" 0 "ce"
"/pci@9,600000/network@1" 1 "ce"

When configuring for ce0 use line 1. In this case the
parent name is: /pci@9,700000 In the case of a ce
device the tree name is pci108e,abba by
definition(sun document: 816-3330.pdf, pg. 81). As for
the unit name in this case it is 2 from the first line
network@2.

2) Construct ce.conf
$ cd /platform/sun4u/kernel/drv
$ vi ce.conf
Enter the following line (as a single line):

name="pci108e,abba" parent="/pci@9,700000"
unit-address="2" adv_autoneg_cap=0 adv_10hdx_cap=0
adv_10fdx_cap=0 adv_100hdx_cap=0 adv_100fdx_cap=1
adv_1000hdx_cap=0 adv_1000fdx_cap=0 adv_100T4_cap=0;
This will set the system too 100 fdx mode just move
the 1 around to specify the correct operating mode.

3) Reboot the system.
4) Check the /var/adm/messages file to see the
connection speed.
Problems:
If there is a message in the /var/adm/messages file
which says something like:
WARNING: ce@2: ce.conf properties not merged
This means that the values containned in ce.conf are
wrong in someway.
-check the parent name (/pci@9,700000")
-check the unit-address
------------------------------------------------------------

Original question with responses from Hendrik:

 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. 

At least it's twice as fast as 100Mbps ethernet ;^)

> I used a different subnet addresses for crossover
connection to 
prevent any confusion.

Which was to be the expected :)

> 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

Why? It's already on the same network?
Rather check the ARPs with "arp"

then if it's there, use snoop -d ce1 to see what's not
going over that 
link.

Also check dmesg etc. for link status.
__________________________________________________
>#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 

Thank you,
J.
Sunmanagers is great!!!!


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Fri Mar 11 10:26:34 2005

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:44 EST