User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » Chaining routers Page [1]  
Wyloch
All American
4244 Posts
user info
edit post

I have two wireless routers (different brands). Each has five ports: one for WAN and the other four to connect via ethernet.

Here is a diagram of my setup:
http://www4.ncsu.edu/~whbuchan/untitled.JPG

I have done the following:
-Disabled DHCP on the second router (the NetGear)
-Changed the LAN IP of the second router to 192.168.1.2 (the NetGear)
-Ensured that the LAN IP of the first router is 192.168.0.1 (the DLink)
-Statically assigned the IPs to the machines on the second router (the NetGear)

I can connect to the second router, but I have no internet access.

Anyone know how to solve this puzzle?

8/20/2006 10:11:47 AM

robster
All American
3545 Posts
user info
edit post

ok, so you have a pc off the second router? and that pc can ping the first router, but cannot get to the internet?

8/20/2006 10:51:11 AM

robster
All American
3545 Posts
user info
edit post

ok, I looked at your drawing...

Sounds like a nat problem to me

Try running ethereal (wireshark) and send a request out to the internet... I have a feeling it is getting there, but you just are not recieving a response.

also, if you can run ethereal on a pc that is behind the first router as well, that could help in the troubleshooting


One more question ...

What are you really trying to accomplish? If you are making a dmz with that setup, and actually counting on it to really work, then you might want to consider a small investment into a real firewall or more dependable router (and more programmable). Just my opinion.

[Edited on August 20, 2006 at 11:01 AM. Reason : .]

8/20/2006 10:53:31 AM

smoothcrim
Universal Magnetic!
18955 Posts
user info
edit post

turn off all the routing on the dlink, just use the switched side

[Edited on August 20, 2006 at 11:04 AM. Reason : don't connect anything to the wan of the dlink, just plug it in and plug cables into 1-4]

8/20/2006 11:03:46 AM

joe17669
All American
22728 Posts
user info
edit post

^ that's what I did at my parents house. They have a wiring cabinet that distributes Ethernet all over the house (10 ports), so until I was able to get a large switch, I temporarily daisychained 2 routers together, by connecting a cable from the LAN ports on router 1 to one of the LAN ports on router 2.

It worked intermittently, until I realized I had to disable DHCP on router 2.

8/20/2006 11:08:23 AM

LoneSnark
All American
12317 Posts
user info
edit post

you may have a bigger problem if both routers are trying to have the same IP, as most routers try to occupy 192.168.0.1

This makes NAT fail because the WAN gateway is the same IP address as a LAN device.

best get a switch or configure a router to act as one (my netgear has a button to change the WAN port into an uplink port)

8/20/2006 11:16:28 AM

smoothcrim
Universal Magnetic!
18955 Posts
user info
edit post

also, your firmware doesnt have the option to turn off routing you can do it this way.

manually set the ip of the dlink to 192.168.1.X (x = something other than what your netgear is)
set the gateway and dns to the ip of the netgear
set the dlink's lan ip to something 10.1.1.1 and the dhcp range to 10.1.1.100-254

8/20/2006 11:23:51 AM

Wolfrules
All American
1880 Posts
user info
edit post

btw..I'd use the netgear router as a router/gateway and the dlink as a switch.. but going with your setup... my guess is you are assigning computers to two differnet subnets and aren't providing any routing entries to forward traffic to the other subnet. here's a fix:

disable DHCP on the netgear
change the LAN IP to 192.168.0.2 (netgear)
make sure subnet is 255.255.255.0 (CIDR /24)
make sure the LAN IP on the DLink is 192.168.0.1, same subnet

make sure DHCP on dlink is 192.168.0.x (do a start address of .0.100)

let the DHCP assign all IPs including the ones behind the netgear. or if you want static ips, set the static ip addresses so that they are on the same subnet (192.168.0.x) I'd recommend doing .0.10 through .0.99 for static ips and 100+ for dynamic. This will allow you to add more routers in the future and assign .0.3 .0.4 etc..

since both routers are under the same subnet (.0.x) you should be able to access both routers, and should get internet access.

You could change your subnet mask to 255.255.254.0 (CIDR /23) and both .0.x and .1.x will be under the same subnet. That'll keep you from having to change all of the ips.. but 192.168.x.x /24 is much more simple and easier to diagnose simple networking issues than 192.168.x.x /23 subnets. and you don't need more than 256 ips addresses

edit: just reread your post and some of hte comments.. do not connect the WAN of the netgear to a lan port of the dlink.. that will not work unless you do some fancy configuration.. you should have either a dedicated uplink port or a port that can be both and toggled by a button/switch. Do be aware that on some routers(ones with dedicated uplink ports) you may not be able to use the 1st LAN port as the uplink will disable that particular port.

[Edited on August 20, 2006 at 11:59 AM. Reason : ]

8/20/2006 11:55:06 AM

Wyloch
All American
4244 Posts
user info
edit post

All I really want to do is have two wireless access points in my house - that's all I'm trying to accomplish.

I'll try some of the stuff you've all suggested. Thanks.

8/20/2006 1:03:58 PM

LoneSnark
All American
12317 Posts
user info
edit post

There are better ways to do that.

Go buy a wireless access point, plug it into the router via Ethernet.

Or, go buy a wireless repeater, the D-Link is always cheap on E-Bay, then you don't need to run Ethernet to it.

8/20/2006 7:16:43 PM

Wyloch
All American
4244 Posts
user info
edit post

Revision - all I really want to do is have two wireless access points in my house - without having to spend any more money.

8/20/2006 8:33:04 PM

robster
All American
3545 Posts
user info
edit post

Yeah, then this is an easy thing to do....

Just use the switch part of your second access point... so here is the topology...

cable modem -- wanInterfaceRouter1
LanInterfaceRouter1 connected to:

LanInterfaceRouter2
ComputerA
ComputerB

LanInterfaceRouter2 connected to:

ComputerC
ComputerD

WanInterfaceRouter2 connected to -- NOTHING



That is the same thing I setup at home one time... except my router1 was not wireless but router2 was.

8/20/2006 11:25:42 PM

LoneSnark
All American
12317 Posts
user info
edit post

^^ Indeed, Wolfrules is onto your solution above.

8/20/2006 11:37:05 PM

Wolfrules
All American
1880 Posts
user info
edit post

yep.. that's almost exactly how i setup my current setup with a Siemens Wifi router and a netgear router. only use the siemens as a switch and a WiFi AP

8/21/2006 9:17:41 AM

 Message Boards » Tech Talk » Chaining routers Page [1]  
go to top | |
Admin Options : move topic | lock topic

© 2024 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.38 - our disclaimer.