LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-22-2004, 10:22 PM   #1
fred22
Member
 
Registered: Apr 2004
Posts: 42

Rep: Reputation: 15
distributing cable connection through adsl router


Just got cable but already have a adsl modem/router obviously I don't have an adsl connection. Anyway can I connect my cable modem to the router and then distribute the connection to other computers?
The cable modem is a DHCP server but so is the router.....Pretty new to this, my router has wireless connectivity which is why I wish to use it.
Not so much a linux specific question, but thanks anyway.

-Matt
 
Old 09-25-2004, 07:06 PM   #2
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
Since I don't know what hardware you have specifically, I cannot promise anything. I don't see any reason why not. You are going to need to play with your equipments a bit though.

What you are going to need to start with is setting up IP addresses that are on the same subnet, but that don't conflict. Most routers will choose an IP address such as 192.168.0.1 or 172.16.0.1 .

To further complicate matters, each router will have two addresses, an internal and an external. The external for your cable modem will likely be set by your ISP by DHCP. The external to your DSL router is likely also set up for DHCP, but doesn't go anywhere. I mention this because you can safely ignore these and concentrate on the internal addresses only (If I understand what you're trying to do).

First, pick a subnet to use. What I would do is set internal addresses to something like this:

192.168.0.1 Cable router
192.168.0.2 DSL router
192.168.0.100-192.168.0.150 DHCP range on the Cable router

The same principle goes with the 172.16.0.0 network. keep the first three numbers the same, and the last different. Since most routers are accessed via html it is important to keep tabs on what the IP addresses are for each.

it will be a good idea to turn DHCP off on one of your devices. I'd probably leave it on in the Cable router because that will need to be your 'gateway ' to the rest of the Internet (the DHCP server is responsible to report the gateway.) If you have trouble getting DHCP leases this way, you may need to manually configure IP addresses throughout your network (not hard, but some people find it intimidating.)

If you need clarification or run into trouble, just ask. Good luck.
 
Old 09-26-2004, 09:12 PM   #3
fred22
Member
 
Registered: Apr 2004
Posts: 42

Original Poster
Rep: Reputation: 15
I have a netgear DG834G wireless adsl router. According to netgear I found out today and another forum(whirlpool) that the WAN port is the phone line...... Which sucks. Does this mean I cannot distribute the connection even with some kind of trickery? Or is it time to sell up and just get a router?

Thanks heaps for your help
 
Old 09-26-2004, 09:50 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 21,212

Rep: Reputation: 3972Reputation: 3972Reputation: 3972Reputation: 3972Reputation: 3972Reputation: 3972Reputation: 3972Reputation: 3972Reputation: 3972Reputation: 3972Reputation: 3972
It might be possible to use the netgear unit but you would still need to purchase another router. And so IMHO just get the one that includes wireless too and forget about the netgear unit.
 
Old 09-29-2004, 09:37 PM   #5
fred22
Member
 
Registered: Apr 2004
Posts: 42

Original Poster
Rep: Reputation: 15
Ok how about this?
I now have my desktop pc with 2 NICS running the cable modem into 1 and using the desktop to route the internet connection to the the adsl/modem router and out again to the other machines in the network?
Like what michealk said.
I'm having a try now.....
thanks.
 
Old 11-01-2006, 07:37 AM   #6
davecs
Member
 
Registered: Feb 2003
Location: Barking, Essex, Britain
Distribution: PCLinuxOS and MX-Linux
Posts: 502

Rep: Reputation: 32
Has anyone tried what this thread aims for with any success? My situation is this: I have bought an ADSL router because it was on offer, and I will be needing it soon. I have just switched my phone from Cable to BT, but I still have Cable internet. Once I serve my 3 months with BT I intend to see what offers are on, TalkTalk looks cheap, I am aware of the problems there but I have helped others get going with it and I'm pretty familiar with what can go wrong.

In the meantime, I've added a laptop with wireless, so I want to network it to the existing setup, which is just the cable modem straight into my desktop computer via USB. My Desktop computer has 2 Ethernet ports, one of which is in use, and a Wireless port, not used.

If I connect a LAN socket on the Router to the spare ethernet socket on the computer, could I share the internet connection via that (provided of course the computer is switched on)?
 
Old 11-02-2006, 07:25 PM   #7
fred22
Member
 
Registered: Apr 2004
Posts: 42

Original Poster
Rep: Reputation: 15
Hello, you know in the end I actually swapped my adsl modem for a wireless router, as all I could figure was that the WAN port was the phone line in on the adsl modem router. But recently I had to set up a wireless router as an AP which required me plugging the incoming connection to NOT be plugged into the wan port and it happily works as an AP and a cabled router. With that said I guess you could try turning off DHCP( set a static IP ) on the adsl modem and plugging the cable modem into the adsl modem, the only problem I could see would be that the cable modem might not be able to hand out multiple IPs......You may also need to disable WAN on the adsl modem.....

This all comes from searching for how to use a wireless router as an AP (or access point) that is in turn behind a router.

Good luck thats the best I can think of.

cheers and beers
 
Old 11-03-2006, 03:02 PM   #8
davecs
Member
 
Registered: Feb 2003
Location: Barking, Essex, Britain
Distribution: PCLinuxOS and MX-Linux
Posts: 502

Rep: Reputation: 32
I did try linking the router to my computer via the spare ethernet, and it should have been working, but my laptop refused point blank to log into it, so I must have been doing something wrong.

No worries, I'll just have to wait until I get ADSL in the new year.
 
Old 11-04-2006, 06:20 PM   #9
dicedaniels
LQ Newbie
 
Registered: Nov 2006
Posts: 9

Rep: Reputation: 0
i dont know if this helps, but i was able to use a dsl modem/router as a usb to ethernet adapter for a laptop. had some issues with ip addresses beings i had it setup as cablemodem/wireless broadband router/dslmodem/laptop. the dslmodem and the router liked the same ip's but it was easy enough to re-configure. i was able to switch the dsl off and use it just as a router. worked supprisingly well actualy.
 
Old 08-14-2007, 06:48 PM   #10
UhhMaybe
Member
 
Registered: Jul 2004
Location: Salt Lake City, Utah
Distribution: Absolute 12.0 Studio 64 1.3.0
Posts: 470

Rep: Reputation: 30
Cool

YOUR Linux Box needs to configure each of the Ethernet Ports on the back. All of them. I'm guessing that one of the two Ethernet ports is located on YOUR Motherboard. This may require a separate module/driver to be loaded with the appropriate Linux Kernel. Later when the Linux Kernel; the modules and the drivers are in sync,...the Network may find the Ethernet Cards and they will reach the Internet. YOUR Distro needs to have the applications installed and configured to include, enable and run the Ethernet Cards. Please check YOUR BIOS for the settings to be as close as possible to the software and hardware of YOUR system. This will smooth things over,..for a better chance to align the Networking.

Last edited by UhhMaybe; 08-14-2007 at 06:50 PM.
 
Old 08-15-2007, 04:28 PM   #11
davecs
Member
 
Registered: Feb 2003
Location: Barking, Essex, Britain
Distribution: PCLinuxOS and MX-Linux
Posts: 502

Rep: Reputation: 32
Hope the discussion here helps someone else! I am now on ADSL so my router works normally!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
My cable connection through router is like 56K connection ExtremeSupremacy Linux - Networking 1 07-10-2005 03:01 AM
Cable modem and router - connection lost koswo Linux - Networking 13 01-09-2004 11:19 AM
Help with Router /Cable connection Soulex Linux - Networking 1 02-17-2003 12:19 PM
sharing cable modem connection using router kbaldor Linux - Networking 3 01-29-2002 05:44 PM
Linksys router and cable connection... Krycek Linux - Networking 2 05-09-2001 02:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration