[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cable Modem and Routing



At 06:40 AM 11/29/2000 -0500, you wrote:
>I just had a cable modem installed. I would like to connect it to my Linux
>Server (RH 7.0) and route my other PC's through it. I spent 4 hours last
>night trying to set up routing with no luck. I could see the routes on the
>server, but I could not ping the ISP from my PC. So...
>
>1. Should I be routing or masquerading?
>2. Has anyone else tried this?
>3. Why can't they count votes in Florida (oops, I digressed)
>
>Thanks
>Dan


I helped a couple friends of mine setup a linux box to do this through 
mediaone.

 From what I remember:
1: Make sure you have all the necessary routing and masq stuff compiled 
into the kernel. Alos include the fast switching stuff between NICs.
2: Set your machine up as a gateway. I think you just have to turn it on in 
linuxconf. Also make sure packet forwarding is turned on.
3: Make sure you have a firewall. Email me if you want one, I've got a copy 
of the one they used. I use it at work to masq a modem connection.
4: Originally we also had it setup as a DHCP server. Optional but nice. If 
you've got NT as a DHCP server set the router property to the linux box's 
ip, this will make it the gateway box on the client machines.
5: OH, almost forgot, make sure you have two NICs, if the cable modem is 
external, if not you only need one.

The machine we had was a P133 with 32mb of ram and a 1gig HD. They 
originally were using WinGate through on of the win98 boxes to share the 
connection. They'de get about 30-40K/sec on the end machines. After the 
linux box was in everyone had the potential get pull 100K/sec.

Once this is setup, you've got a few more options, such as a caching dns 
server, email, news, ftp servers, etc..

Hope this helped,
Dan Downs