LinuxQuestions.org
Visit Jeremy's Blog.
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 10-14-2004, 03:36 PM   #1
tomas412
LQ Newbie
 
Registered: May 2004
Posts: 17

Rep: Reputation: 0
Can't ping the other computer over a "private" cable


Ok, so this is the story:

I have two computers connected to each other via a crappy router. The router itself is sufficient for sharing the Internet connection, but for filetransfers between the computers in the LAN, it's a bit slow, so I thought I might be able to speed things up a little by connecting my two computers to each other using a crossed-pair cable (or whatever they're called), bypassing the router.

The reason I didn't set up one of my two computers as a router instead of using the hardware router I'm using now, is that the two computers must be able to connect to the Internet at all times, even if one of them are down (which is about 50% of the time).

Anyway, so I threw in an extra NIC in each computer and configured them as I wanted things to be. I set Samba to bind only to the LAN-NIC (which I call the NIC connected to the other computer over the crossed-pair-cable), and disabled File & Printer Sharing on the Internet-NIC (connected to the router) on the other machine (running win2k, by the way).
I set up both LAN-NICs to use static IPs (192.168.0.2 and 192.168.0.3), and the LEDs on the LAN-NICs all light (which, by the way, they don't when connected usign a twisted-pair-cable so I know it's not a problem with that).
Linux detects both NICs, and Samba has no problems binding to the LAN-NIC. Same thing goes for Win2k.

Everything was set to go, I thought, but nooo.. The computers can't ping each other over the "private channel" (which I call the connection over the crossed-pair-cable), they do find each other via the router...

There's nothing wrong with the NICs or the cables; I tested both NICs on both computers (ie connected the Internet-NIC and then the LAN-NIC to the router), they both work.
Then I tried straightening the crossed-cable and connected the Internet-NIC to the router using that cable, and it works just fine.
As I mentioned above, all NICs work just fine, I can surf the Internet from either computer, using any NIC.

I'm not using any firewall on either computer, and I'm out of ideas. I've searched a bit on this forum, and seen others having similar problems, but I couldn't find one matching my problem 100%.

Computer 1: Slackware 10.0 running Linux 2.6.8.1
Computer 2: Win2k

Any ideas would be greatly appreciated.


Tomas412
 
Old 10-14-2004, 04:03 PM   #2
f0ul_Oli
LQ Newbie
 
Registered: Sep 2004
Location: Cheshire, UK
Distribution: Mandrake
Posts: 17

Rep: Reputation: 0
Seems to me that your crossed cable isn't a crossed cable!

Are you pinging when you are checking the cable when it is connected to the router?

Did you try to ping from both machines?

It sounds like a physical problem rather than a configuration issue - but I might be wrong!

Hope this helps a little

F0ul Oli
 
Old 10-14-2004, 04:30 PM   #3
tomas412
LQ Newbie
 
Registered: May 2004
Posts: 17

Original Poster
Rep: Reputation: 0
It's a crossed cable for sure. I can connect the crossed one to the router, but that's only because it supports either twisted or crossed cables.
I got this little extender, it's crossed, so when I connect a crossed cable to it, the cable becomes a normal twisted pair and vice versa. Without the extender, all LEDs are lit on the NICs using the crossed cable. With the extender, they're off.
Using a twisted pair cable, without the extender the LEDs are off, and when using the twisted pair cable and the extender, the LEDs are on.


There must be something I've misconfigured in the software, I'm sure of it. Thanks for the tip, though.


Tomas412
 
Old 10-14-2004, 04:46 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,165

Rep: Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784
What are the IP address range of the router NICs?

If they are also 192.168.0.x then change them to 192.168.1.x.
 
Old 10-15-2004, 09:57 AM   #5
tomas412
LQ Newbie
 
Registered: May 2004
Posts: 17

Original Poster
Rep: Reputation: 0
Of cource.... why didn't I think of that... Thanks alot! It works like a charm now!



Tomas412
 
  


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
Telling people to use "Google," to "RTFM," or "Use the search feature" Ausar General 77 03-21-2010 12:26 PM
Lost DHCP Lease when putting computer in "Standby" mode for a "long" time pnellesen Linux - Networking 1 01-07-2005 12:44 AM
"Completely" Private Wiki Linux Server PhuckFonix Linux - General 1 11-13-2004 04:38 PM
My clients "can browse" outside but "can't ping" outside mrnoe Linux - Networking 1 09-05-2003 03:55 PM
"host" ok, but "ping" can't find ip address hardigunawan Linux - Networking 2 05-16-2002 06:41 PM


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