Recommended Posts

I have a router installed behind modem and its configuration is:

ip 192.168.0.1

pool 192.168.0.100-192.168.0.200

behind the router is a switch where 4 computers are connected to.

Now I am trying to connect a wireless router through straight cable which comes from the switch.

Its ip is 192.168.0.2 and I can only access to this device if I put the cable in LAN port on wireless router! once I put it in WAN it wont connect!

Does the cable has to be crossover or not?

Link to comment
https://www.neowin.net/forum/topic/649317-setting-up-two-routers/
Share on other sites

What you want to do is use your wireless router as an access point

http://www.dslwebserver.com/main/wireless-...cess-point.html

How to Use a Wireless Router as a Wireless Access Point

In a nutshell, turn off the dhcp server of the 2nd router. connect it to your switch from one of its lan ports. Shazam accesspoint!

You will want to change its lan IP to be on your first routers network, say 192.168.0.99 so you can access its web interface and configure your wireless.

Cant really simplify it but just plug your network cable from the switch into a port that is not the wan port on the wireless router. Then goto the admin page 192.168.0.2 with your browser and turn off DHCP and make sure wireless is set to on. Then get your laptop and try connect and it should get the ip from the main router.

What doesn't work???? You can not access the accesspoint? Your clients are not getting IPs they do not see the wireless network? What?

You do not have AP isolation on do you? If so -- then no you would not be able to use it as an accesspoint, sometimes this is also called client isolation. In a nutshell it prevents wireless clients from talking to clients connected to the lan of the router.

Can your wireless client connect to the wireless network and ping the IP you gave the wireless router? Looks like you made it 192.168.0.2, are you accessing the web page from a wired box connected to the switch?

If your wireless clients are connecting but just not getting an IP address from the dhcp server of your first router -- give them a static, do they work then?

You really need to give us more to go on than "it didn't work".. Thats like saying my car is broke ;) Oh its broke you saw -- ok then sure I know exactly whats the problem! :rolleyes:

  BudMan said:
What doesn't work???? You can not access the accesspoint? Your clients are not getting IPs they do not see the wireless network? What?

You do not have AP isolation on do you? If so -- then no you would not be able to use it as an accesspoint, sometimes this is also called client isolation. In a nutshell it prevents wireless clients from talking to clients connected to the lan of the router.

Can your wireless client connect to the wireless network and ping the IP you gave the wireless router? Looks like you made it 192.168.0.2, are you accessing the web page from a wired box connected to the switch?

If your wireless clients are connecting but just not getting an IP address from the dhcp server of your first router -- give them a static, do they work then?

You really need to give us more to go on than "it didn't work".. Thats like saying my car is broke ;) Oh its broke you saw -- ok then sure I know exactly whats the problem! :rolleyes:

The client sees the wireless network but the internet doesnt work. And yes, I am accessing the web page from a wired box connected to the switch. I dont know what am I missing here? Could it be the straight cable?

Edit: here I found a diagram telling the cable should be crossover!?

post-73306-1216168804.jpg

Edited by ZOR

You do NOT need a FREAKING crossover cable -- if you did how exactly do you think you would access the routers interface from a wired box to the switch!!

If your wireless clients can not access the internet -- it sounds to me like they are are still pointing to the 2nd router as their gateway. Or you have client/ap isolation on which only allows the wireless to talk to the wan interface of the router - not lan ports.

Can they ping the 2nd routers IP? Can they ping the 1st routers IP? Post the output of a wireless clients ipconfig /all

I have no idea where you picked up that diagram but is 110% WRONG!! you do not need a cross over cable. Home network equipment has all been auto crossover for YEARS!!

If you can access the 2nd routers web ui from a box connected to the switch, which in turn is connected to the routers lan port -- HATF do you think your connection is not good????? :rolleyes: Or that you would need a crossover cable -- since it is clearly working!!

Why do people always insist on using 2 routers? :huh:

Some instances it might be necessary. But here, not so much. Atleast it doesn't seem like it.

But yeah, like budman said I would assume something isn't correct with the gateway info on the wireless devices since you can connect to the wireless but get no internet.

Quite often its because the idiot at the computer store said that what they needed without asking even the most basic questions ;) Like do you have a router now? What is the model number of the device your computer plugs into for internet?

But using a wireless router as a accesspoint is a valid use to be sure. Normally it would be better to swap out the non wireless router with the wireless one yes. But if you need to add wireless to your existing network, and for some reason do not want to swap out your existing router -- then sure any wireless router can be used as just an accesspoint. Where the problems come up is most of the time the users end up daisy chaining them in a double nat setup vs using as just an accesspoint.

True accesspoint devices are normally more expensive than just any off the shelf wireless router.

  StevoFC said:
Why do people always insist on using 2 routers? :huh:

Some instances it might be necessary. But here, not so much. Atleast it doesn't seem like it.

But yeah, like budman said I would assume something isn't correct with the gateway info on the wireless devices since you can connect to the wireless but get no internet.

Its a must for me to use a wired router (pc) cause my ISP has blocked using more than 1 device...TTL thing if you know what I mean. And with the wired router I can connect as many computers to the internet as I want. And now I need a wireless at home for my mobile phone and laptop.

Here is the setup of my current network.

I assume that I have to give wireless router a gateway somewhere in there?

post-73306-1216213592_thumb.jpg

Ok Im going to ask this 1 more time -- can your wireless devices PING the wireless routers IP? Can they ping the wired routers IP? Can you post the output of ipconfig /all on the wireless device!

You do not have to give the wireless router any gateway info -- its acting as just a dumb accesspoint, ie it bridges your wireless to your wired network.

Your wireless clients should point to your router pc for their gateway, 192.168.0.1 if NOT -- then NO they will never get to the internet. Also -- where are the clients pointing to for dns?

If you plug a pc into another one of the wireless routers lan ports -- can it get to the internet?

BTW -- your drawing is pretty much exactly how my home network is setup, I run pfsense as my router, I have 2 switches and few more devices mind you ;) But my wireless router (wrt54g running dd-wrt) is being used as just an accesspoint connected to one of the switches.

Edited by BudMan

Now the internet is working great in laptop. I ping the wireless router and the wired router and its all good.

But what doesnt work is the internet on my mobile phone!? I can see the network (ssid), I can connect to it but internet doesnt work! Let me tell you that when I go to coffe shop I can access the internet from my mobile phone. I have Nokia E51 (Wi-Fi 802.11b/g).

  BudMan said:
And are you using security on your wireless? Maybe your phone does not support WPA or WPA2?

Yeah it supports WPA and WPA2 but I found out that Nokia E51 has some bugs. I tried a procedure from a guy that explained in here http://discussions.europe.nokia.com/discus...thread.id=22109 but it didnt work for my phone. I gave my phone an

ip eg: 192.168.0.125

sub.mask: 255.255.255.0

gw: 192.168.0.1

as explained in the article...but it didnt work. I'll see what I can do later. And thank you guys for helping. :)

  • 2 weeks later...

I am renting a room in a place where there is WIFI internet included... and I was wondering how to set up my LAN to work properly for everything to get internet access.

HOUSE:

Wifi Access Point (dhcp, 192.168.0.1)

MY ROOM:

Laptop (wifi + lan)

Xbox (lan)

Xbox 360 (lan)

Router (wifi AP + 4 lan ports)

All users of the WIFI seems be getting an IP from the dhcp in the 100-255 range.

You need to setup your router as a wireless bridge, or connect it into the house wifi WDS. But that would require changes to the house router. As a client bridge you only need to make changes to your router.

What router do you have? If you can run say dd-wrt or open-wrt on it then it supports client bridge mode.

http://www.dd-wrt.com/wiki/index.php/Wireless_Bridge

798px-Standard_bridge_large.jpg

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.