setting up a advanced wireless / wired combo network

dmmh
Posts: 2501
Joined: Thu Jan 04, 2001 8:00 am

setting up a advanced wireless / wired combo network

Post 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?
[i]And shepherds we shall be, for thee my Lord for thee, Power hath descended forth from thy hand, that our feet may swiftly carry out thy command, we shall flow a river forth to thee, and teeming with souls shall it ever be. In nomine patris, et fili, et spiritus sancti.[/i]
dmmh
Posts: 2501
Joined: Thu Jan 04, 2001 8:00 am

Post by dmmh »

cmon nubs
[i]And shepherds we shall be, for thee my Lord for thee, Power hath descended forth from thy hand, that our feet may swiftly carry out thy command, we shall flow a river forth to thee, and teeming with souls shall it ever be. In nomine patris, et fili, et spiritus sancti.[/i]
User avatar
Foo
Posts: 13840
Joined: Thu Aug 03, 2000 7:00 am
Location: New Zealand

Post 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?
"Maybe you have some bird ideas. Maybe that’s the best you can do."
― Terry A. Davis
shadd_
Posts: 2512
Joined: Tue Jun 28, 2005 4:02 pm

Post 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.
dmmh
Posts: 2501
Joined: Thu Jan 04, 2001 8:00 am

Post 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
[i]And shepherds we shall be, for thee my Lord for thee, Power hath descended forth from thy hand, that our feet may swiftly carry out thy command, we shall flow a river forth to thee, and teeming with souls shall it ever be. In nomine patris, et fili, et spiritus sancti.[/i]
dmmh
Posts: 2501
Joined: Thu Jan 04, 2001 8:00 am

Post 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 :)
[i]And shepherds we shall be, for thee my Lord for thee, Power hath descended forth from thy hand, that our feet may swiftly carry out thy command, we shall flow a river forth to thee, and teeming with souls shall it ever be. In nomine patris, et fili, et spiritus sancti.[/i]
User avatar
Foo
Posts: 13840
Joined: Thu Aug 03, 2000 7:00 am
Location: New Zealand

Post 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 :)
"Maybe you have some bird ideas. Maybe that’s the best you can do."
― Terry A. Davis
shadd_
Posts: 2512
Joined: Tue Jun 28, 2005 4:02 pm

Post 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.
User avatar
Foo
Posts: 13840
Joined: Thu Aug 03, 2000 7:00 am
Location: New Zealand

Post by Foo »

But isn't that dependant on your subnet mask?
"Maybe you have some bird ideas. Maybe that’s the best you can do."
― Terry A. Davis
shadd_
Posts: 2512
Joined: Tue Jun 28, 2005 4:02 pm

Post 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.
[size=75]i never meant to give you mushrooms girl[/size]
Tormentius
Posts: 4108
Joined: Sat Dec 14, 2002 8:00 am

Post 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).
dmmh
Posts: 2501
Joined: Thu Jan 04, 2001 8:00 am

Post by dmmh »

they are both routers, but I dont know what they use....
[i]And shepherds we shall be, for thee my Lord for thee, Power hath descended forth from thy hand, that our feet may swiftly carry out thy command, we shall flow a river forth to thee, and teeming with souls shall it ever be. In nomine patris, et fili, et spiritus sancti.[/i]
Tormentius
Posts: 4108
Joined: Sat Dec 14, 2002 8:00 am

Post 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.
dmmh
Posts: 2501
Joined: Thu Jan 04, 2001 8:00 am

Post by dmmh »

ok :)
[i]And shepherds we shall be, for thee my Lord for thee, Power hath descended forth from thy hand, that our feet may swiftly carry out thy command, we shall flow a river forth to thee, and teeming with souls shall it ever be. In nomine patris, et fili, et spiritus sancti.[/i]
dmmh
Posts: 2501
Joined: Thu Jan 04, 2001 8:00 am

Post by dmmh »

well cant get the cunting thing to work :S
[i]And shepherds we shall be, for thee my Lord for thee, Power hath descended forth from thy hand, that our feet may swiftly carry out thy command, we shall flow a river forth to thee, and teeming with souls shall it ever be. In nomine patris, et fili, et spiritus sancti.[/i]
shadd_
Posts: 2512
Joined: Tue Jun 28, 2005 4:02 pm

Post 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.
[size=75]i never meant to give you mushrooms girl[/size]
dmmh
Posts: 2501
Joined: Thu Jan 04, 2001 8:00 am

Post 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)
[i]And shepherds we shall be, for thee my Lord for thee, Power hath descended forth from thy hand, that our feet may swiftly carry out thy command, we shall flow a river forth to thee, and teeming with souls shall it ever be. In nomine patris, et fili, et spiritus sancti.[/i]
shadd_
Posts: 2512
Joined: Tue Jun 28, 2005 4:02 pm

Post 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.
[size=75]i never meant to give you mushrooms girl[/size]
MidnightQ4
Posts: 520
Joined: Tue Oct 18, 2005 7:59 pm

Post 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.
shadd_
Posts: 2512
Joined: Tue Jun 28, 2005 4:02 pm

Post 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.
[size=75]i never meant to give you mushrooms girl[/size]
dmmh
Posts: 2501
Joined: Thu Jan 04, 2001 8:00 am

Post 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
[i]And shepherds we shall be, for thee my Lord for thee, Power hath descended forth from thy hand, that our feet may swiftly carry out thy command, we shall flow a river forth to thee, and teeming with souls shall it ever be. In nomine patris, et fili, et spiritus sancti.[/i]
User avatar
raw
Posts: 2739
Joined: Tue Nov 16, 1999 8:00 am

Post by raw »

Have you tried adding a static route in router 2 to tell it how to reach router 1?
dmmh
Posts: 2501
Joined: Thu Jan 04, 2001 8:00 am

Post 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]
[i]And shepherds we shall be, for thee my Lord for thee, Power hath descended forth from thy hand, that our feet may swiftly carry out thy command, we shall flow a river forth to thee, and teeming with souls shall it ever be. In nomine patris, et fili, et spiritus sancti.[/i]
dmmh
Posts: 2501
Joined: Thu Jan 04, 2001 8:00 am

Post 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?
[i]And shepherds we shall be, for thee my Lord for thee, Power hath descended forth from thy hand, that our feet may swiftly carry out thy command, we shall flow a river forth to thee, and teeming with souls shall it ever be. In nomine patris, et fili, et spiritus sancti.[/i]
shadd_
Posts: 2512
Joined: Tue Jun 28, 2005 4:02 pm

Post 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.
[size=75]i never meant to give you mushrooms girl[/size]
Locked