Re: 1000mbps connection problem between Linux and Solaris



I managed to fix the problem. I reinstalled my NIC drivers on the
Linux Machine and things went like breeze. 1000mbps auto detected. I
am now working on tuning my NFS and Disk performance, so that IO can
be faster. Any suggestions are welcome.

Apparently the cable i used is the right one. Crossover GE. Somewhere
i had read that its suppose to be Straight for GE. But for me the
cross worked just fine.

Thanks everyone.


On Oct 26, 11:56 am, Vishal Sharma <visha...@xxxxxxxxx> wrote:
Hello All,

I am facing this weird problem. Hope someone here will be able to help
me. Below is my situation:

One Sun Fire 480R Installed with Sun Solaris 9.0. This system has two
10/100/1000 LAN Interface.
One Intel Desktop Box Installed with RedHat Enterprise Linux 5.0. This
system has one 10/100/1000 LAN Interface as well.

The Solaris Box has 2 NIC's one with IP Address 10.10.10.8 (this is
connected to the switch and is at 100mbps full duplex) and another
with IP Address 192.168.1.2 (this is connected to the Linux Box using
a cross over Cat6 Cable and is at 100mbps full duplex). Both are ce
interfaces. ce0 and ce1.

The Linux Box has one NIC with IP Address 192.168.1.1 (this is
connected to the Solaris Box's NIC with IP Address 192.168.1.2 at
100mbps full duplex using a Cat6 cross cable.)

Since my Sun server is running short of storage space, so i have done
NFS mount on Solaris Box for one of the paritions from the Linux Box.
All is fine. The systems are able to communicate well. But these two
interfaces i.e 192.168.1.2 (on Solaris Box) and 192.168.1.1 (on linux
box) only communicate with 100mbps full duplex link, instead of
1000mbps full duplex.

To troubleshoot my problem, I have performed the following on the
Linux Box and Solaris Box:

On the Linux Box:

ethtool -s eth0 speed 1000 duplex full

i get the following on my /var/log/messages

Oct 25 16:22:06 naspoc kernel: e1000: eth0: e1000_watchdog: NIC Link
is Up 1000 Mbps Full Duplex
Oct 25 16:22:09 naspoc kernel: e1000: eth0: e1000_watchdog: NIC Link
is Down
Oct 25 16:22:12 naspoc kernel: e1000: eth0: e1000_watchdog: NIC Link
is Up 100 Mbps Full Duplex
Oct 25 16:22:12 naspoc kernel: e1000: eth0: e1000_watchdog: 10/100
speed: disabling TSO

So the system does detect 1000mbps but it falls back to 100mbps.

On the Solaris Box:

ndd -set /dev/ce instance 1
ndd -set /dev/ce adv_autoneg_cap 0
ndd -set /dev/ce adv_1000fdx_cap 1

if i do the above, Solaris box is unable to communicate with the Linux
Box. So when revert back the commands the link is active with a
100mbps full duplex connection.

Below is the output of my ethtool command on linux box:

Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: umbg
Wake-on: g
Current message level: 0x00000007 (7)
Link detected: yes

To test the cable connectivity, i connected 2 windows boxes with this
cable and they communicated fine with each other at 1000mbps full
duplex.

Can someone help me with this problem. Is there a cable problem or the
OS problem?

I need the communication from Linux Box to the Solaris Box at 1000mbps
to work. So that the speed is good over the NFS shares.

Thanks in advance and thank you for reading my post.

Regards,
Vishal


.



Relevant Pages

  • Re: 1000mbps connection problem between Linux and Solaris
    ... One Sun Fire 480R Installed with Sun Solaris 9.0. ... One Intel Desktop Box Installed with RedHat Enterprise Linux 5.0. ... a cross over Cat6 Cable and is at 100mbps full duplex). ... 100mbps full duplex connection. ...
    (comp.unix.solaris)
  • 1000mbps connection problem between Linux and Solaris
    ... One Sun Fire 480R Installed with Sun Solaris 9.0. ... One Intel Desktop Box Installed with RedHat Enterprise Linux 5.0. ... a cross over Cat6 Cable and is at 100mbps full duplex). ... 100mbps full duplex connection. ...
    (comp.os.linux.networking)
  • 1000mbps connection problem between Linux and Solaris
    ... One Sun Fire 480R Installed with Sun Solaris 9.0. ... One Intel Desktop Box Installed with RedHat Enterprise Linux 5.0. ... a cross over Cat6 Cable and is at 100mbps full duplex). ... 100mbps full duplex connection. ...
    (comp.unix.solaris)
  • Re: [Info-Ingres] The never ending database name, JDBC and other stories.
    ... I cant recall seeing anything in the manuals that suggest this should be ... points from Linux to Solaris where db lives. ... the sense of a connection is made but values got garbled. ...
    (comp.databases.ingres)
  • Re: 1000mbps connection problem between Linux and Solaris
    ... One Intel Desktop Box Installed with RedHat Enterprise Linux 5.0. ... system has one 10/100/1000 LAN Interface as well. ... a cross over Cat6 Cable and is at 100mbps full duplex). ... 100mbps full duplex connection. ...
    (comp.unix.solaris)