Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-18-2003, 09:05 PM
|
#1
|
|
Member
Registered: Mar 2003
Location: Kansas City
Distribution: Debian unstable
Posts: 57
Rep:
|
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.
|
|
|
|
04-18-2003, 10:03 PM
|
#2
|
|
Member
Registered: Apr 2003
Location: /home/BillyGoatStrut
Distribution: Ubuntu, Debian "Sarge", Mac OS X
Posts: 110
Rep:
|
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.
|
|
|
|
04-19-2003, 05:39 PM
|
#3
|
|
Member
Registered: Mar 2003
Location: Kansas City
Distribution: Debian unstable
Posts: 57
Original Poster
Rep:
|
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?
|
|
|
|
04-20-2003, 11:17 AM
|
#4
|
|
Member
Registered: Apr 2003
Location: /home/BillyGoatStrut
Distribution: Ubuntu, Debian "Sarge", Mac OS X
Posts: 110
Rep:
|
Can you at least get the machines to ping each other?
|
|
|
|
04-20-2003, 09:11 PM
|
#5
|
|
Member
Registered: Mar 2003
Location: Kansas City
Distribution: Debian unstable
Posts: 57
Original Poster
Rep:
|
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.
|
|
|
|
04-21-2003, 02:12 AM
|
#6
|
|
Member
Registered: Apr 2003
Location: /home/BillyGoatStrut
Distribution: Ubuntu, Debian "Sarge", Mac OS X
Posts: 110
Rep:
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:59 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|