LinuxQuestions.org
Visit Jeremy's Blog.
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 10-12-2003, 09:33 PM   #1
StonedZealot
Member
 
Registered: May 2003
Location: St. Louis
Distribution: Slack 9
Posts: 42

Rep: Reputation: 15
NIC to NIC communication.


First, the technical stuff. I have two computers connected between two NICs with normal network cable. One computer is an x86, the other an iMac (got it for free, whaddya gonna do?). Both are running Gentoo Linux 1.4. The NIC in the x86 computer is a sis900 onboard NIC and the iMac's is a Tulip NIC. Both NICs work (when they're connected to the router directly, they can hit the internet).

Previously, I'd set up networking between my x86 and my Zaurus PDA using the usbnet module, so I figured that getting these two computers to communicate similarly would follow along the same lines.

Anyway, this is what I've done so far, but with no luck:
on the X86:
ifconfig eth1 192.168.2.101 netmask 255.255.255.0 up
route add -host 192.168.2.102 eth1
<note, eth1 here because eth0 is the NE2k PCI NIC that's connected to the router and then to the internet>

on the iMac:
ifconfig eth0 192.168.2.102 netmask 255.255.255.0 up
route add -host 192.168.2.101 eth0
route add default gw 192.168.2.101

Apart from that, I'm lost. The two can't ping each other. The one thing that I have found is the kernel option for "fast switching" that enables NIC to NIC data transfer, but that's only supported by very few NICs (and this shouldn't really require top of the line hardware, should it?).

To boil it all down: How would you get these two computers to talk to each other?
 
Old 10-12-2003, 10:16 PM   #2
projo
LQ Newbie
 
Registered: Oct 2003
Location: Mississippi
Posts: 5

Rep: Reputation: 0
Are you connecting a cable directly between the two computers?

Twisted pair: If you are directly connecting them and if you are not using a crossover cable they are bumping heads, i.e. transmitting on the same pair. Just will not work. You need either a crossover cable or a hub/router/etc.

Coax cable: Be sure to use a terminator on each end of the cable. Some NICs have a dip switch or jumper to terminate with a resistor on the card. Maybe even a software switch. Otherwise you have to manually add a terminator to each end of the cable.
 
Old 10-13-2003, 01:46 PM   #3
StonedZealot
Member
 
Registered: May 2003
Location: St. Louis
Distribution: Slack 9
Posts: 42

Original Poster
Rep: Reputation: 15
Interesting, I was thinking that if they were twisting it would cause the problem. Fortunately, I have a converter and another cable. Thanks, I'll give it a whirl!
 
  


Reply



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
eth0 NIC Card Not Working! 3com 3c501 NIC. Mustard010 Linux - Networking 16 08-15-2007 02:22 AM
two nics--ftp on outside nic--samba on inside nic tyler0123 Linux - Networking 2 04-15-2005 07:27 PM
troubles getting Gigabit NIC to work in slack 10 (HGA32T NIC) TheLinuxDuck Slackware 10 03-10-2005 04:37 PM
NIC Driver for NVidia NForce onboard NIC. rajjpajj Linux - Software 9 09-28-2004 03:54 PM
1st nic regular FTP, 2nd nic SSH Riselong Linux - Distributions 2 02-02-2004 05:13 PM

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

All times are GMT -5. The time now is 07:24 AM.

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