LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-05-2011, 05:15 AM   #16
Krishsrinath
LQ Newbie
 
Registered: Jan 2010
Posts: 10

Rep: Reputation: 0

Even I have faced this problem with linux systems having multiple nics.

Change the IP address to different Subnet and it will work.

Still want to know if we can make both Eth Ports of the same system to work in same subnet.

Thanks,
Krishsrinath
 
Old 10-01-2015, 07:07 AM   #17
nesses
LQ Newbie
 
Registered: Oct 2015
Posts: 1

Rep: Reputation: Disabled
I had the same mindblowing problem, in my case the autonegotiation was not active (strange but ...):

read "en.wikipedia.org/wiki/Autonegotiation" for more information.

I tried
Code:
# ethtool eth0
Settings for eth0:
        Supported ports: [ TP MII ]
        Supported link modes:   10baseT/Half 10baseT/Full 
                                100baseT/Half 100baseT/Full 
        Supported pause frame use: No
        Supports auto-negotiation: Yes
        Advertised link modes:  Not reported
        Advertised pause frame use: No
        Advertised auto-negotiation: No
        Speed: 100Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: off
        Supports Wake-on: pumbg
        Wake-on: d
        Current message level: 0x00000000 (0)
                               
        Link detected: yes
then I checked mii-tool
Code:
# mii-tool eth0
eth0: 100 Mbit, full duplex, link ok
as we can see no negotiation.

you can activate the negotiation by simply run
Code:
# ethtool -s eth0 speed 100 duplex full autoneg on
then wait a few seconds because the card now recives the information from the link partner

after a second or two...

Code:
# ethtool eth0
Settings for eth0:
        Supported ports: [ TP MII ]
        Supported link modes:   10baseT/Half 10baseT/Full 
                                100baseT/Half 100baseT/Full 
        Supported pause frame use: No
        Supports auto-negotiation: Yes
        Advertised link modes:  100baseT/Full 
        Advertised pause frame use: Symmetric
        Advertised auto-negotiation: Yes
        Link partner advertised link modes:  10baseT/Half 10baseT/Full 
                                             100baseT/Half 100baseT/Full 
        Link partner advertised pause frame use: Symmetric
        Link partner advertised auto-negotiation: Yes
        Speed: 100Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: pumbg
        Wake-on: d
        Current message level: 0x00000000 (0)
                               
        Link detected: yes
and
Code:
# mii-tool eth0
eth0: negotiated 100baseTx-FD flow-control, link ok
now you should be able to talk with other hosts
Code:
# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=52 time=28.3 ms
^C
--- 8.8.8.8 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 28.339/28.339/28.339/0.000 ms
Have a nice day!
 
  


Reply

Tags
eth0, eth1, networking, pcmcia, slackware



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
eth1 works fine, but eth0 does not alex170872 Linux - Networking 2 12-23-2008 04:03 PM
CentOS 5.2: Only one of eth0 (internet) or eth1 (LAN) works Sinedie Linux - Networking 3 08-20-2008 04:52 AM
iso of a win XPE with working wifi & eth0 eth1 ? frenchn00b General 6 08-10-2007 06:57 AM
Packet Forwarding from eth0 to eth1 isn't working rajat Linux - Networking 1 05-07-2007 04:24 AM
Swapping cables to eth0 & eth1 on the same machine still works. Why? ses Linux - Networking 2 06-07-2005 01:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration