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

From: jason kappy (jasonkappy_at_yahoo.com)
Date: 03/11/05

  • Next message: Grant Lowe: "Disksuite problems"
    Date: Fri, 11 Mar 2005 07:26:04 -0800 (PST)
    To: sunmanagers@sunmanagers.org
    
    

         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


  • Next message: Grant Lowe: "Disksuite problems"

    Relevant Pages

    • Re: Remote Access Sluggish
      ... In network properties this nic is called "Server Local Area Connection" and ... Remote acces is sluggish using RDP and RWW ... whether both NICs were enabled during SBS setup and therefore the SBS ...
      (microsoft.public.windows.server.sbs)
    • Re: Incorrect NIC Status reporting
      ... seems to me the Auto of Speed & Duplex doesn't work on some NICs. ... How to Setup Windows, Network, VPN & Remote Access on ... an Asus P4C800-E Deluxe which has an on-board LAN ... and "A network connection is unplugged". ...
      (microsoft.public.windowsxp.network_web)
    • Re: Error configuring remote access
      ... Still cannot start network services to see the nics. ... Jim Bourque ... Connections and Remote Access Connection Manager are the only two services ...
      (microsoft.public.windows.server.sbs)
    • Re: CEICW & software updates...
      ... why would the 192.168.0.x network be the outside one ?? ... How many nics ... DNS returned ok. ... Ethernet adapter Server Local Area Connection: ...
      (microsoft.public.windows.server.sbs)