Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a Linksys router(WRT54G) and I recently got a gateway(dva-g3810BN/TL) from my DSL provider(telus).

I am having a huge trouble of hooking them up together as I want to use my router as the gateway/router I was given is limited in features.

When I try to plugin my router into the gateway I cannot access the internet, the gateway config page nor the the Linksys router.

What do I need to setup to make this work?

share|improve this question
add comment

2 Answers

up vote 0 down vote accepted

This answer is corrected in my comments too.

it probably wouldn't work 'cos DHCP is on both by default. You don't want that. You could turn DHCP off the second router. You want all IPs on your network to be in the same subnet.
DHCP on both is fine there's no clash, because the DHCP from the isp gateway will not go past the linksys WRT54G to its LAN side. DHCP on the isp gateway is useful though it'd only be sending to one device, so no worries if you can't turn it off on the isp gateway, it still even has its use. And on the linksys WRT54G it's very useful for sending to each of your computers.

So no good if one device is 192.168.0.1/24 and another is 192.168.1.1/24 or 10.0.0.1 You do want that situation, devices on the LAN side of the linksys WRT54G to be on a different subnet to the one on the WAN side. That's with NAT on. And I have heard that without NAT on it loses other functionality and becomes just a switch. So it's not great either way in that with NAT on both you'll have double NAT just means port forwarding can be more work to do. With NAT off on the linksys, you may lose functionality you want and then have no need for the linksys at all. Ideally you want to turn NAT off on the isp gateway, maybe use a different router/modem to your ISPs if it can't do it. (Some ISPs try to force you to use theirs with testing the MAC address but some router/modems will apparently let you set the MAC manually or clone it from another device, and get around that.

You mentioned not having internet access. You can have internet access with double NAT it won't cause a problem there. It's just a bit more work with port forwarding if you want to run servers, and you're reliant on 2 things working and being configured right, rather than one when doing port forwarding.

typical working examples would be, you might have a router of 192.168.0.1 , a computer of 192.168.0.2 another computer of 192.168.0.3

or another working example , you might have a router of 192.168.1.1 , a computer of 192.168.1.2 another computer of 192.168.1.3

if a device connected to your router is not on a recognized subnet e.g. simple situation is the same subnet of the device.. Then I don't think that device will get online..

Have one router doing DHCP(handing out IPs) to all other devices. And don't have 2 routers doing DHCP or they'll clash while doing it.

Just so you're aware of the options, if however you did turn NAT off on your linksys WRT, then it'd be a switch and lose router functionality, and then if you still wanted to use it, you may not have a useful use for it, but if you still wanted to use it, then you'd want all devices in the same subnet, either set statically or DHCP done by just one device (presumably the isp gateway), DHCP from 2 devices would clash. And with DHCP from the isp gateway it'd reach all of them, would go through your linksys WRT54G and to your computers. If it was your linksys WRT54G doing it, it'd go to all too. That's with NAT off on your linksys.

share|improve this answer
    
@barlop - I disabled my routers(Linksys) so it is not sending DHCP but it still will not connect. I would prefer that my router be dishing out the ip's but I can't find how to disable it in the gateway. They both seem to be using 255.255.255.0 subnet –  chobo2 May 10 '11 at 4:27
    
@chobo2 255.255.255.0 is a subnet mask not a subnet. are all routers/gateways and comps on 192.168.0.x or 192.168.1.x or a mix? btw router and gateway i think mean the same thing, but i see you refer to the isp one as a gateway/the gateway - ok. –  barlop May 10 '11 at 4:50
    
@chobo2 you may have to tell your linksys to get its IP via DHCP . At the moment it may be statically set to an IP in a different subnet –  barlop May 10 '11 at 4:52
    
i suppose isp ones are commonly called gateways but more specific/technical term would be router/modem. –  barlop May 10 '11 at 4:57
    
@barlop - mine is like 192.168.1.1 and theirs when I am connected to it is like 192.168.1.254. and my ip is like 192.168.1.107. I will look for how it grabs it's dhcp as right now I don't know how. I usually just gave it a starting ip. –  chobo2 May 10 '11 at 4:58
show 6 more comments

If your ISP device is handing out 192.168.1.x, then you can simply assign your linksys to still do DHCP/NAT but use 192.168.0.x range. Your computers will end up with a gateway of 192.168.0.1 (the linksys router) and your linksys router will have a gateway of 192.168.1.1 (the ISP device). Traffic will get routed fine between both gateways and out to the internet. The only problem that this type of setup will cause is with any need to port forward as you will need to port forward from the ISP device to your router and then from your router to the given computer, but it is entirely possible to do. When ISP devices are required to do DHCP, this is the most common setup to make everything work without issue.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.