LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 09-17-2010, 08:42 PM   #1
ritu.kaur
LQ Newbie
 
Registered: Sep 2010
Posts: 3

Rep: Reputation: 0
Ping between 2 eth ports on the same machine


Newbie to linux.

I have eth1 and eth2 connected with back to back cable on the same machine.

I configure eth1 with 11.11.11.11 and eth2 with 11.11.11.14.

I use ping -I eth1 11.11.11.14, I get Destination Host Unreachable...

using tcpdump on eth1 shows ARP request broadcast being sent out

using tcpdump on eth2 shows ARP request received, no ARP reply being sent out

Not sure whether this config is supposed to work?

Inputs appreciated.
 
Old 09-17-2010, 09:17 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 18,639

Rep: Reputation: 2789Reputation: 2789Reputation: 2789Reputation: 2789Reputation: 2789Reputation: 2789Reputation: 2789Reputation: 2789Reputation: 2789Reputation: 2789Reputation: 2789
Most cables are patch cables. While that isn't really bad you should have a cross over cable to be sure. Most newer nic's can auto correct for the wrong cable but it fails sometimes. Usually you have to power off the system then connect the cable. It may not auto correct if you plug it in after it has power. I do mean power from ac plug too. Many nics can be powered when the system is off.

If not that then test the cable.

And I assume icmp is not blocked, so you have to check that also.
 
Old 09-25-2010, 09:33 AM   #3
ritu.kaur
LQ Newbie
 
Registered: Sep 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks, for the inputs, rechecked the cables and power-off/power-on machine, it works fine now.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Can't Ping Linux CentOS 5.3 Machine to XP SP2 Windows Machine Moderns Linux - Networking 20 11-04-2009 01:33 AM
not able to ping a machine but can do ssh to machine , wanna run vnc client amolgupta Linux - Software 4 07-28-2009 06:17 PM
(Mepis) Windows machine cannot ping linux machine by IP mabtjie Linux - Networking 1 11-08-2008 10:54 AM
how to switch eth for the default one on my multi card machine? wucan Linux - Networking 1 04-21-2006 03:41 AM
[ DNS ] - Master and Slave in one machine with 2 eth? maginotjr Linux - Networking 1 12-06-2005 09:08 AM

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

All times are GMT -5. The time now is 11:34 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration