LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Sharing Cable Modem (https://www.linuxquestions.org/questions/linux-newbie-8/sharing-cable-modem-115642/)

ShawnC 11-13-2003 12:31 PM

Sharing Cable Modem
 
I know this is a basic question, but I'm new, so all my questions are basic.

I have a PC running WinXP which my cable modem is hooked up to. I want to share that connection with another PC that I have running RedHat 9. I'm assuming that a router is the way to go, but will any router work or do I need a certain kid of hardware to go between the two computers.

Once I get the hardware and connections in place do I need to configure Linux to recognize it, if so how?

Thanks!

Shawn

PhoenixZorn 11-13-2003 12:41 PM

check out netgear's line of routers available at best buy... they are dirt cheap and work with basically any broadband connection. Make sure you configure it properly though...

a basic telnet session to the router IP will get you to a unix based, but very easy to use menu. Set it up with all the pertinent information from your ISP, and before you disconnect your current setup, write down your Gateway, DNS servers, and DHCP server...

On the router end, you will need your hostname (which is issued by the ISP) and the domain, which IS the ISP... for me, wi.rr.com

use the 192.168.0.x or 1.x IP scheme, and you should have no problems. Have your windows computer use DHCP, but have the Linux box static on a higher IP address like 192.168.0.4-6. Set the DNS to 192.168.0.1 for the Linux box, reset your connection a few hundred times to get a WAN IP, and then reset both boxes to get connected. The windows box may need to be rebooted after making changes, my 2kAS box just had to be, but now it at least works again on the network.


All times are GMT -5. The time now is 05:30 AM.