Page 1 of 2
setting up a advanced wireless / wired combo network
Posted: Mon Nov 21, 2005 12:39 pm
by dmmh
ok, heres the deal
I have 1 wireless router/ modem, which is on floor 1, ROUTER 1
Wireless IP range: 192.168.2.x
DHCP enabled
Wired IP range: 192.168.6.x
255.255.255.0 SUBNET
I have a wireless router/ Access Point which is on floor 3 (nothing in between) ROUTER 2
I connected the two via ethernet, since ROUTER 1 doesnt support WDS
DHCP disabled
Setup static IP: 192.168.28.1
default gateway: 192.168.6.1 (ROUTER 1's IP adress)
255.255.255.0 SUBNET
even though everything seems to work fine, including wireless network on 3rd floor, I cannot enjoy the joy that is called DNS
I can connect to ROUTER 2, I can access both wireless networks, it sees the internet link, so it is connected to ROUTER 1 properly, but DNS doesnt work
what do I need to do aside from this all?
Do I need to setup DNS forwarding on ROUTER 1?
Shouldnt it work like this?
or should I do it like this?
ROUTER 1:
192.168.6.1 IP
255.255.255.0 SUBNET
ROUTER 2:
192.168.6.2 IP
255.255.255.0 SUBNET
192.168.6.1 GATEWAY
shouldnt make a difference right?
Posted: Mon Nov 21, 2005 2:32 pm
by dmmh
cmon nubs
Posted: Mon Nov 21, 2005 2:37 pm
by Foo
And connecting to router 1 via an ethernet cable works ok?
If you turn router 2 off, connecting to router 1 wirelessly works OK as well?
Posted: Mon Nov 21, 2005 2:37 pm
by shadd_
ROUTER 1:
192.168.6.1 IP
255.255.255.0 SUBNET
ROUTER 2:
192.168.6.2 IP
255.255.255.0 SUBNET
192.168.6.1 GATEWAY
that should work.
Posted: Mon Nov 21, 2005 4:41 pm
by dmmh
Foo wrote:And connecting to router 1 via an ethernet cable works ok?
If you turn router 2 off, connecting to router 1 wirelessly works OK as well?
It sees the link to the internet on router 2 (the light is on) so I can only asume it can find its gateway like it should
wirelesly accessing the internet on router 1 works, on router 2 I have wireless access to the network, not to the internet though, so I can only assume its and DNS issue
Posted: Mon Nov 21, 2005 4:42 pm
by dmmh
shadd_ wrote:ROUTER 1:
192.168.6.1 IP
255.255.255.0 SUBNET
ROUTER 2:
192.168.6.2 IP
255.255.255.0 SUBNET
192.168.6.1 GATEWAY
that should work.
ok, I can try this, but why is this any different then:
ROUTER 1:
192.168.6.1 IP
255.255.255.0 SUBNET
ROUTER 2:
192.168.28.1 IP
255.255.255.0 SUBNET
192.168.6.1 GATEWAY
?
Id just like to know so I actually learn anything

Posted: Mon Nov 21, 2005 4:44 pm
by Foo
I think it's more likely you just can't find the gateway.
When connected through router 2, try pinging an internet IP address (google is 64.233.187.99)
That'll isolate DNS or not

Posted: Mon Nov 21, 2005 4:44 pm
by shadd_
the two routers need to be in the same subnet. if router one is 192.168.6.xx, router 2 needs to be 192.168.6.xx.
192.168.28.xx is different subnet.
Posted: Mon Nov 21, 2005 5:13 pm
by Foo
But isn't that dependant on your subnet mask?
Posted: Mon Nov 21, 2005 5:34 pm
by shadd_
masks can be hard to understand. i don't fully get it all myself but basically using a mask of 255.255.255.0 means he needs to have the first three sets the same. 192.168.6.x on everything in his network.
Posted: Mon Nov 21, 2005 7:56 pm
by Tormentius
Foo wrote:But isn't that dependant on your subnet mask?
It can be if you're not using standard, class-based subnets. In this case the mask is a class C 24 bit subnet mask so the machines will need to be on the same logical segment in order to communicate (unless there is a router, not a gateway, using RIP v1, RIP v2, or OSPF routing traffic between the two subnets).
Posted: Mon Nov 21, 2005 8:20 pm
by dmmh
they are both routers, but I dont know what they use....
Posted: Mon Nov 21, 2005 8:29 pm
by Tormentius
dmmh wrote:they are both routers, but I dont know what they use....
They're both gateways with an option to be a router. I haven't seen a consumer-grade router yet that can be both at the same time
. Putting them on the same subnet should resolve your issue.
Posted: Tue Nov 22, 2005 7:21 am
by dmmh
ok

Posted: Mon Nov 28, 2005 11:20 am
by dmmh
well cant get the cunting thing to work :S
Posted: Mon Nov 28, 2005 6:22 pm
by shadd_
heh, i don't think that setup can work. you cant hook up 2 consumer grade routers like that.
it should have dawned on me before. router 2 has to be able to broadcast to router one that it has x.x.x.x ip's behind it. i'm not %100 sure but i don't think those routers can do that.
does router 2 have a repeater mode on it? i know you can get wireless routers/access points with repeater mode.
you have setup all ip's on both the wired and wireless to be in the same range?
you could try dhcp on router 2 and wireless computers or manually type in your isp dns servers on router 2 and wireless computers.
Posted: Mon Nov 28, 2005 8:14 pm
by dmmh
yes it has, it even has WDS, but router 1 doesnt.
All ips are in the same range, router 1 asings DHCP adresses, router 2 has static IP in the range asigned by router 1, same subnet, and router 2 has DHCP disabled. Enabled, doesnt make a difference
Can connect to router 2 fine, not to router 1 though (only through router 1's wireless network directly)
Posted: Mon Nov 28, 2005 9:03 pm
by shadd_
how is the wireless computer configured? are you using router1 as gateway? wireless computer should be in same subnet, router1 wired ip# as gateway and you may have to manually input dns servers.
Posted: Tue Nov 29, 2005 12:39 am
by MidnightQ4
copy the dns server ip from your router 1 info screen.
set this as a manual value on your floor 3 computer. i.e. set the ip and the dns both to be static.
you should be able to link two routers together.
based on your subnet mask, you did need all IP's to be in the same subnet. if you wanted to do as you were doing before, a subnet mask of 255.255.0.0 should have worked, but I've had issues doing that before so your new setup is safer.
Posted: Tue Nov 29, 2005 12:59 am
by shadd_
if he was just using the wired ports on router2 it wouldn't be a problem. it would just act as a switch and problem solved. because he has to go through the wireless interface on router2 thats where the problems lies. unless he has a bridge mode in the wireless settings or wds(i assume wds is a bridge mode but maybe not)it won't work. router2 wireless has to broadcast arp information over the network to work like this.
anyways, if he can set router2 wireless to bridge and config his wireless computer as mentioned above it will work.
Posted: Tue Nov 29, 2005 10:47 am
by dmmh
well you arent quite getting it tbh

I dont actually need the wireless on floor 3, nor do I actually connect to it. Its is enabled yes, but I connect to the wireless network on floor 1 for the time beeing.
So its just a simpe matter of wireless repeating.
I have set all clients to fetch their stuff via DHCP
router 1:
192.168.6.1
255.255.255.0
asigns IP's in range 192.168.6.10-192.168.6.20
router 2:
192.168.6.10
255.255.255.0
192.168.6.1 gateway
asigns via DHCP addies in range 192.168.6.110-192.168.6.120
all clients via DHCP, works, but cannot ping the gateway with this setup, even though I am connected fine to router 2 :S
so strange
Posted: Tue Nov 29, 2005 12:05 pm
by raw
Have you tried adding a static route in router 2 to tell it how to reach router 1?
Posted: Tue Nov 29, 2005 1:16 pm
by dmmh
actually no, this router is a bitch to configure
I found this when poking on a side note (was looking for something to set hop count or what ever
should I activate NAT on some of the interfaces, especially the ethernet ones for the shit to work?
edit: mer0 is the WAN interface btw
[lvlshot]http://home.wanadoo.nl/s.vanderlinden/naamloos.JPG[/lvlshot]
Posted: Tue Nov 29, 2005 1:23 pm
by dmmh
shadd_ wrote:how is the wireless computer configured? are you using router1 as gateway? wireless computer should be in same subnet, router1 wired ip# as gateway and you may have to manually input dns servers.
I have to use router 1 as the gateway for the clients?
this means I have to enter shit static, I really dont want this. DHCP owns me
why cant it just connect to router 2 via DHCP (which works) then connect to router 1?
since both have a gateway, this should work right?
Posted: Tue Nov 29, 2005 1:45 pm
by shadd_
so you don't need wireless on router2?
if you wire router1 to port1 on router2 and wire your computer to port2-router2 it will get dhcp from router1.
just disable router2 dhcp and it will act like a plain switch. sending everything along nicely to router1.