LinuxQuestions.org
Help answer threads with 0 replies.
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 04-18-2003, 09:05 PM   #1
rsheridan6
Member
 
Registered: Mar 2003
Location: Kansas City
Distribution: Debian unstable
Posts: 57

Rep: Reputation: 21
setting up a home network/ machines won't ping each other


I have two computers, both with hd-installed Knoppix (i also tried with slackware), and I'm trying to set up a network so they can share my internet connection. But so far, I've been unable to even ping one machine from another.

One of them has 2 ethernet cards and the other has one; the one with two ethernet cards has one connected to my DSL modem and the other is connected directly to the second machine. Is that OK or do I need to buy a switch, hub, or router?

I know that all three NICs work because I've managed to get each of them to connect to my DSL by themselves.

My only other ideas at this point are that Knoppix sets up some firewall that screws things up, or that there is an IRC problem (both NICs on the gateway machine use IRC 9 - I don't know how to change this or how to tell if its a problem).

I set up the network by doing

ifconfig eth1 192.168.0.1 netmask 255.255.255.0 (first machine)
ifconfig eth0 192.168.0.2 netmask 255.255.255.0 (second machine).

And the routing tables appear to be ok. Am I doing something totally wrong, or missing something?

Thanks.
 
Old 04-18-2003, 10:03 PM   #2
DigitalTygrrr
Member
 
Registered: Apr 2003
Location: /home/BillyGoatStrut
Distribution: Ubuntu, Debian "Sarge", Mac OS X
Posts: 110

Rep: Reputation: 15
I'm a total linux newbie...but I do know networking. If the cable you are using to connect your 2 boxen is a patch cable (straight through) you will need to either make or buy a crossover cable. OR you could simply buy a hub. It depends what your future needs are.

I think that if you were planning on keeping these two machines close to each other, then a crossover cable should be sufficient.
 
Old 04-19-2003, 05:39 PM   #3
rsheridan6
Member
 
Registered: Mar 2003
Location: Kansas City
Distribution: Debian unstable
Posts: 57

Original Poster
Rep: Reputation: 21
Thanks for your answer.. it was a patch cable so I went out today and bought a crossover cable - but Im still having the same problem.

Does anyone have any ideas?
 
Old 04-20-2003, 11:17 AM   #4
DigitalTygrrr
Member
 
Registered: Apr 2003
Location: /home/BillyGoatStrut
Distribution: Ubuntu, Debian "Sarge", Mac OS X
Posts: 110

Rep: Reputation: 15
Can you at least get the machines to ping each other?
 
Old 04-20-2003, 09:11 PM   #5
rsheridan6
Member
 
Registered: Mar 2003
Location: Kansas City
Distribution: Debian unstable
Posts: 57

Original Poster
Rep: Reputation: 21
I got them to ping each other after all.. It looks like using the wrong cable was my problem after all. I haven't gotten them to do anything else yet (ssh, IP Masquerade) but I'll go read some docs and give that a try.

Thanks for your help, Digitial TyGrrr.
 
Old 04-21-2003, 02:12 AM   #6
DigitalTygrrr
Member
 
Registered: Apr 2003
Location: /home/BillyGoatStrut
Distribution: Ubuntu, Debian "Sarge", Mac OS X
Posts: 110

Rep: Reputation: 15
No problem. If you're still having problems...feel free to ask. I'll help if I can.

Last edited by DigitalTygrrr; 04-21-2003 at 02:14 AM.
 
  


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
Home network: connecting to a Linksys router for DHCP IP address - no ping gunther Linux - Networking 28 05-20-2005 10:14 PM
All I can do on my small home network is ping other machines will103 Linux - Networking 5 02-02-2005 03:13 PM
Home network setup cannot ping between Lnux and WindowsXP Please help akreg Linux - Networking 5 10-23-2004 09:49 AM
can ping to/from pcs on home network but not connect to internet stumblefingers Linux - Networking 13 04-12-2004 09:34 AM
Setting up a home network gi13s Linux - Networking 1 08-06-2001 08:37 AM


All times are GMT -5. The time now is 09:04 AM.

Main Menu
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