setting up a home network/ machines won't ping each other
Linux - NetworkingThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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'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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.