Hooking a modem to two computers via a broadband router
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.
Hooking a modem to two computers via a broadband router
I've got two computers (Win98 and RH Linux 7.3) networked and a broadband router in between. I'm trying to get them hooked up to the Internet with a DSL modem, which is plugged into the router.
I really don't know where to begin, but that's never stopped me before. Do I set it up like a proxy? If so, how do I assign it an IP address? Or do I do it a totally different way?
if the boradmand router is online properly then it really shouldn't matter if you've got Win/Linux/Sun/Mac boxes. They should all get an IP from the router (most factory configs enable this).
The router should get its IP address from the WAN (Internet side) via your Internet Service Provider. On the inside the router will issue 'private' IP addresses which your computers can use to access the internet through your router. The router itself goes through the process of masqerading your internal (private) address from the outside world so that other machines on the Internet see only the address of the router.
Most cunsumer-oriented router/firewall boxes are set up to go off-the-shelf and act as a packet filtering/forwarding firewall. All you need to do is ensure that your internal machines are set up to 'obtain an IP address automatically' which your router should provide(via DHCP).
Once you have a working conection from the inside you can start messing with the firewall rulesets.
Also check out your router's documentation, most come with the ability to setup static internal IP's as well in which makes it more easy if you ever decide to forward requests to a particular machine thru the firewall.
But I would suggest reading your manual, if its a linksys router, they pretty much tell you straight forward how to setup the router.
The router is a D-Link and doesn't have anything helpful in the manual except "be sure to keep it in a well ventilated area." Oh, that's just what I was wondering. I guess I'll search for info on Google.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.