<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Finding which ethernet cards are connected to the network. in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/finding-which-ethernet-cards-are-connected-to-the-network/m-p/3985411#M27987</link>
    <description>Hi Prasad,&lt;BR /&gt;&lt;BR /&gt;I think you'll probably want to look at mii-tool&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Rob</description>
    <pubDate>Fri, 20 Apr 2007 01:53:43 GMT</pubDate>
    <dc:creator>Rob Leadbeater</dc:creator>
    <dc:date>2007-04-20T01:53:43Z</dc:date>
    <item>
      <title>Finding which ethernet cards are connected to the network.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/finding-which-ethernet-cards-are-connected-to-the-network/m-p/3985410#M27986</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;The question is for Linux OS.&lt;BR /&gt;&lt;BR /&gt;I have some servers each of which are having 6 Ethernet cards from eth0-eth5 but, only some of them are connected to the network. Most of the times they are eth0-eth2 of which eth0 is configured an IP Address but, not always the case. &lt;BR /&gt;&lt;BR /&gt;I want to findout the which Ethernet cards are connected to the network.&lt;BR /&gt;&lt;BR /&gt;Generally, what I do is assign a temporary unused IP Address to each eth card and check whether it is pingable but, this procedure will take too much of time if I have to repeat the procedure for more than 10 servers (and which is the case with me). &lt;BR /&gt;&lt;BR /&gt;Is there any better way of doing the same? I am looking for any utility link linkloop on HP-UX. I tried linkloop from this URL &lt;A href="http://freshmeat.net/projects/linkloop/" target="_blank"&gt;http://freshmeat.net/projects/linkloop/&lt;/A&gt; but, it is giving segmentation fault. &lt;BR /&gt;&lt;BR /&gt;Please inform. Thanks in advance. &lt;BR /&gt;&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;Prasad.</description>
      <pubDate>Fri, 20 Apr 2007 01:49:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/finding-which-ethernet-cards-are-connected-to-the-network/m-p/3985410#M27986</guid>
      <dc:creator>Prasad Joshi</dc:creator>
      <dc:date>2007-04-20T01:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: Finding which ethernet cards are connected to the network.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/finding-which-ethernet-cards-are-connected-to-the-network/m-p/3985411#M27987</link>
      <description>Hi Prasad,&lt;BR /&gt;&lt;BR /&gt;I think you'll probably want to look at mii-tool&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Rob</description>
      <pubDate>Fri, 20 Apr 2007 01:53:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/finding-which-ethernet-cards-are-connected-to-the-network/m-p/3985411#M27987</guid>
      <dc:creator>Rob Leadbeater</dc:creator>
      <dc:date>2007-04-20T01:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: Finding which ethernet cards are connected to the network.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/finding-which-ethernet-cards-are-connected-to-the-network/m-p/3985412#M27988</link>
      <description>Thanks a lot mii-tool worked the way I wanted. &lt;BR /&gt;&lt;BR /&gt;Now, I have one more question.&lt;BR /&gt;&lt;BR /&gt;How can I find out whether I am able to communicate between &lt;BR /&gt;&lt;BR /&gt;eth1 card of A machine and eth1 card of B machine.&lt;BR /&gt;&lt;BR /&gt;In short I want to know whether the communication between the two machines is possible through which eth cards (these cards must not be from cards configured with Ip address)?&lt;BR /&gt;&lt;BR /&gt;Please reply. Thanks in advance.&lt;BR /&gt;&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;Prasad.</description>
      <pubDate>Fri, 20 Apr 2007 02:47:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/finding-which-ethernet-cards-are-connected-to-the-network/m-p/3985412#M27988</guid>
      <dc:creator>Prasad Joshi</dc:creator>
      <dc:date>2007-04-20T02:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: Finding which ethernet cards are connected to the network.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/finding-which-ethernet-cards-are-connected-to-the-network/m-p/3985413#M27989</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I'm not sure that's possible if I've understood your requirement correctly...&lt;BR /&gt;&lt;BR /&gt;Surely you can't communicate over an interface if it's not configured...?&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;Rob</description>
      <pubDate>Fri, 20 Apr 2007 02:57:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/finding-which-ethernet-cards-are-connected-to-the-network/m-p/3985413#M27989</guid>
      <dc:creator>Rob Leadbeater</dc:creator>
      <dc:date>2007-04-20T02:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: Finding which ethernet cards are connected to the network.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/finding-which-ethernet-cards-are-connected-to-the-network/m-p/3985414#M27990</link>
      <description>With the -I option to ping (that's a capital i) you can tell the machine to use a specific interface for the ping. &lt;BR /&gt;&lt;BR /&gt;You could for example 'ping -I eth1 machineB' from machineA, and then check the arp cache:&lt;BR /&gt;&lt;BR /&gt;# arp -i eth1 -a machineB&lt;BR /&gt;&lt;BR /&gt;Then you'd know the MAC address of machineB which returned the ping packets from machineA's eth1.&lt;BR /&gt;&lt;BR /&gt;Linkloop would be easier and less time consuming (and there might be a better way than the above), but hey, as long as we get the job done I guess :-)&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Wout</description>
      <pubDate>Fri, 20 Apr 2007 03:04:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/finding-which-ethernet-cards-are-connected-to-the-network/m-p/3985414#M27990</guid>
      <dc:creator>Wouter Jagers</dc:creator>
      <dc:date>2007-04-20T03:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: Finding which ethernet cards are connected to the network.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/finding-which-ethernet-cards-are-connected-to-the-network/m-p/3985415#M27991</link>
      <description>Hi Prasad,&lt;BR /&gt;&lt;BR /&gt;I only wanted to thank you for pointing my attention to the linkloop tool which I knew well from HP-UX.&lt;BR /&gt;But I didn't know that someone had written a port for Linux.&lt;BR /&gt;&lt;BR /&gt;If I could, I would assign you 10 points for showing me the Linux port of linkloop.&lt;BR /&gt;&lt;BR /&gt;So I downloaded the source tarball, compiled and installed it.&lt;BR /&gt;Luckily, it seems to work for me, and I don#t get a segmantation fault.&lt;BR /&gt;However, it must be run as root (or maybe the suid bit be set on the executable)&lt;BR /&gt;&lt;BR /&gt;e.g. "ping" layer2 level a NIC from an HP-UX box&lt;BR /&gt;&lt;BR /&gt;$ linkloop -i eth0 0x001083f5abcd&lt;BR /&gt;Link connectivity to LAN station: 0x001083f5abcd (HW addr 00:10:83:F5:AB:CD)&lt;BR /&gt;socket: Operation not permitted&lt;BR /&gt;&lt;BR /&gt;Ok, one must be root&lt;BR /&gt;&lt;BR /&gt;$ su -c "linkloop -i eth0 0x001083f5abcd"&lt;BR /&gt;Password: &lt;BR /&gt;Link connectivity to LAN station: 0x001083f5abcd (HW addr 00:10:83:F5:AB:CD)&lt;BR /&gt;  -- OK -- 1 packets&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Nice to have linkloop now also on Linux :-)&lt;BR /&gt;This is the distro I built it on:&lt;BR /&gt;&lt;BR /&gt;$ uname -srv&lt;BR /&gt;Linux 2.6.9-5.ELsmp #1 SMP Wed Jan 5 19:30:39 EST 2005&lt;BR /&gt; &lt;BR /&gt;$ cat /etc/redhat-release &lt;BR /&gt;Red Hat Enterprise Linux WS release 4 (Nahant)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;As the others already have mentioned,&lt;BR /&gt;the usual tool on Linux for link checking&lt;BR /&gt;is mii-tool (use -v to see more)&lt;BR /&gt;or ethtool.&lt;BR /&gt;Btw, ethtool has lots of features.&lt;BR /&gt;A nice gimmick is that you can make a NICs LED blink to help in identifying the HW.&lt;BR /&gt;(see -p in man ethtool)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Apr 2007 05:10:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/finding-which-ethernet-cards-are-connected-to-the-network/m-p/3985415#M27991</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2007-04-20T05:10:22Z</dc:date>
    </item>
  </channel>
</rss>

