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.
Hello, I'm trying to setup internet connection sharing between two boxes. Here's my setup:
Cable Modem --> Slackware/Windows --> Slackware
Slackware/Windows = Gateway
Slackware = Client
I have a crossover cable going from the Gateway to the Client. I went ifconfig eth1 192.168.0.1 on the gateway. Then typed netconfig on the client and told it to do static, that it's IP was 192.168.0.2, the gateway was 192.168.0.1, and the netmask is 255.255.255.0. I left the nameserver/dns thing blank. When I try to from the client to the gateway, it says:
PING 192.168.0.1 (192.168.0.1) 56 octets of data
and it just sits there. It works the same way from the gateway, changing the IP's of course. Each machine can ping itself from its 192.168.0.whatever address.
EDIT: I think I found it out. I don't think eth1 is configured right. If you could help me out with that, I'd appriciate it.
P.S. While in Windows, the box can't even setup the eth1 card(Ne2000 ISA). It found it once and called it 'net'. I tried to load the drivers and gave up. I figured I'd get Linux to get it going first. I tried to remove it and put it back in but its dissappeared again. (Not sure if this means anything to you at all)
If all you are trying to do at the moment is check they can ping each other and haven't setup up any connection sharing or anything on the main one try netconfig again both of them but don't put in any gateway.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.