A Broadband and ADSL forum. BroadbanterBanter

Welcome to BroadbanterBanter.

You are currently viewing as a guest which gives you limited access to view most discussions and other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today.

Go Back   Home » BroadbanterBanter forum » Newsgroup Discussions » uk.telecom.broadband (UK broadband)
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

uk.telecom.broadband (UK broadband) (uk.telecom.broadband) Discussion of broadband services, technology and equipment as provided in the UK. Discussions of specific services based on ADSL, cable modems or other broadband technology are also on-topic. Advertising is not allowed.

An interesting DHCP issue with WIFI



 
 
Thread Tools Display Modes
  #1  
Old October 20th 11, 11:42 PM posted to uk.telecom.broadband
Peter
external usenet poster
 
Posts: 330
Default An interesting DHCP issue with WIFI

I had been noticing that sometimes wifi clients would not connect to
some of my several wifi APs.

Especially the Iphone or Ipad...

I may have found out why.

The main router is a Draytek 2900, with wifi. That had DHCP enabled,
as one usually has.

Then I had several Linksys (etc) APs coming off the LAN. These did not
have DHCP enabled, so the DHCP was done by the router.

So far so good; worked fine.

Until you try to move a particular client from one end of the house to
the other.

The Draytek router sees the same named device (not sure what that
means...) appearing via different APs, so each time it needs a new
routing.

With the Ipad/Iphone, the problem got extra bad because they are moved
around more.

Does this make sense?

I have changed all the APs to do DHCP, and it already works better.

The WAG354G cannot do DHCP (if used as an AP) so that will go on Ebay.
  #2  
Old October 21st 11, 12:02 AM posted to uk.telecom.broadband
Graham J
external usenet poster
 
Posts: 620
Default An interesting DHCP issue with WIFI

Peter wrote:
I had been noticing that sometimes wifi clients would not connect to
some of my several wifi APs.

Especially the Iphone or Ipad...

I may have found out why.

The main router is a Draytek 2900, with wifi. That had DHCP enabled,
as one usually has.

Then I had several Linksys (etc) APs coming off the LAN. These did not
have DHCP enabled, so the DHCP was done by the router.

So far so good; worked fine.

Until you try to move a particular client from one end of the house to
the other.

The Draytek router sees the same named device (not sure what that
means...) appearing via different APs, so each time it needs a new
routing.

With the Ipad/Iphone, the problem got extra bad because they are moved
around more.

Does this make sense?

I have changed all the APs to do DHCP, and it already works better.

The WAG354G cannot do DHCP (if used as an AP) so that will go on Ebay.


More likely it has to do with stale values in the ARP caches of each of
the wireless devices.

New AP sees MAC address of device, but all the ARP caches say **that**
MAC address is accessed via a different AP.

Your solution might work reliably if each DHCP server issues a unique
range of addresses within the subnet. If two DHCP servers issue
addresses from the same range you risk two different devices getting the
same IP address - a recipe for disaster.

Migh be better to use WDS between all the different APs

--
Graham J

  #3  
Old October 21st 11, 01:32 AM posted to uk.telecom.broadband
Graham.
external usenet poster
 
Posts: 876
Default An interesting DHCP issue with WIFI



"Graham J" wrote in message ...

Peter wrote:
I had been noticing that sometimes wifi clients would not connect to
some of my several wifi APs.

Especially the Iphone or Ipad...

I may have found out why.

The main router is a Draytek 2900, with wifi. That had DHCP enabled,
as one usually has.

Then I had several Linksys (etc) APs coming off the LAN. These did not
have DHCP enabled, so the DHCP was done by the router.

So far so good; worked fine.

Until you try to move a particular client from one end of the house to
the other.

The Draytek router sees the same named device (not sure what that
means...) appearing via different APs, so each time it needs a new
routing.

With the Ipad/Iphone, the problem got extra bad because they are moved
around more.

Does this make sense?

I have changed all the APs to do DHCP, and it already works better.

The WAG354G cannot do DHCP (if used as an AP) so that will go on Ebay.


More likely it has to do with stale values in the ARP caches of each of
the wireless devices.

New AP sees MAC address of device, but all the ARP caches say **that**
MAC address is accessed via a different AP.

Your solution might work reliably if each DHCP server issues a unique
range of addresses within the subnet. If two DHCP servers issue
addresses from the same range you risk two different devices getting the
same IP address - a recipe for disaster.

Migh be better to use WDS between all the different APs

--
Graham J


Or move to a smaller house ;-)

Graham.
%Profound_observation%

  #4  
Old October 21st 11, 07:36 AM posted to uk.telecom.broadband
Peter
external usenet poster
 
Posts: 330
Default An interesting DHCP issue with WIFI


"Graham." wrote

More likely it has to do with stale values in the ARP caches of each of
the wireless devices.

New AP sees MAC address of device, but all the ARP caches say **that**
MAC address is accessed via a different AP.

Your solution might work reliably if each DHCP server issues a unique
range of addresses within the subnet.


The internal LAN is 192.168.5.x.

On the DHCP on the wifi APs I am issuing 192.168.y.50 onwards where y
is more than 5 and is different for each AP. Is that OK?

Or should I set each AP to issue say 192.168.10.z where z is a
different range for each AP?

If two DHCP servers issue
addresses from the same range you risk two different devices getting the
same IP address - a recipe for disaster.

Migh be better to use WDS between all the different APs

  #5  
Old October 22nd 11, 12:00 AM posted to uk.telecom.broadband
alexd
external usenet poster
 
Posts: 1,765
Default An interesting DHCP issue with WIFI

Graham J (for it is he) wrote:

Peter wrote:


The main router is a Draytek 2900, with wifi. That had DHCP enabled,
as one usually has.

Then I had several Linksys (etc) APs coming off the LAN. These did not
have DHCP enabled, so the DHCP was done by the router.


The Draytek router sees the same named device (not sure what that
means...) appearing via different APs, so each time it needs a new
routing.


OK, so how does the Draytek *know* that you're on a different AP, and why
would it care? From what you've described, the APs are bridged wireless to
wired so they're all in the same subnet. Is the Draytek wireless bridged
with its LAN, or does the wireless interface on the Draytek have a different
subnet? Are the APs really APs [bridged] or are they doing something clever
IP-wise as well?

With the Ipad/Iphone, the problem got extra bad because they are moved
around more.

Does this make sense?

I have changed all the APs to do DHCP, and it already works better.


Give it time. Multiple DHCP servers will get interesting soon enough if
you're not careful!

Migh be better to use WDS between all the different APs


If the APs are already wired in then that's only going to lead to reduced
performance. Still won't help if the wireless client doesn't want to roam
either.

--
http://ale.cx/ (AIM:troffasky) )
22:50:01 up 35 days, 4:03, 5 users, load average: 0.11, 0.12, 0.13
"People believe any quote they read on the internet
if it fits their preconceived notions." - Martin Luther King

  #6  
Old October 22nd 11, 12:10 AM posted to uk.telecom.broadband
Graham J
external usenet poster
 
Posts: 620
Default An interesting DHCP issue with WIFI

Peter wrote:

wrote

More likely it has to do with stale values in the ARP caches of each of
the wireless devices.

New AP sees MAC address of device, but all the ARP caches say **that**
MAC address is accessed via a different AP.

Your solution might work reliably if each DHCP server issues a unique
range of addresses within the subnet.


The internal LAN is 192.168.5.x.

On the DHCP on the wifi APs I am issuing 192.168.y.50 onwards where y
is more than 5 and is different for each AP. Is that OK?

Or should I set each AP to issue say 192.168.10.z where z is a
different range for each AP?

If two DHCP servers issue
addresses from the same range you risk two different devices getting the
same IP address - a recipe for disaster.

Migh be better to use WDS between all the different APs


That implies that each AP is routing between the 192.168.5.0/24 network
and the respective 192.168.y.0/24 network. If so, then that should
work. Presumably your intention is that machines connected to one AP
shall not see machines conencted to another AP?

If you want them all on the same network then set (for example):

ADSL router DHCP 192.168.5.0 - 192.168.5.49
AP1 DHCP 192.168.5.50 - 192.168.5.99
AP1 DHCP 192.168.5.100 - 192.168.5.149

.... etc

But I would expect all the APs to behave sensibly with their respective
DHCP services turned off.

I think you need to give us a better network diagram ...

--
Graham J


  #7  
Old October 22nd 11, 11:17 AM posted to uk.telecom.broadband
Peter
external usenet poster
 
Posts: 330
Default An interesting DHCP issue with WIFI


alexd wrote

OK, so how does the Draytek *know* that you're on a different AP, and why
would it care?


A good Q; I don't know.

There might be an issue with just the Apple devices. These have a
tendency to behave strangely. The Ipad wifi is capable of crashing the
Draytek 2900 wifi, so the Draytek needs a reboot. It also fails to
connect to a WPA network if there is a WEP network in range, for which
it has the login. None of these things have been investigated
thoroughly however - there is only so much time I want to sink into
useless IT hardware

From what you've described, the APs are bridged wireless to
wired so they're all in the same subnet. Is the Draytek wireless bridged
with its LAN, or does the wireless interface on the Draytek have a different
subnet? Are the APs really APs [bridged] or are they doing something clever
IP-wise as well?


They should be just bridged.

Since I went back to the DHCP config in each one, it seems to work OK
for now.
  #8  
Old October 23rd 11, 11:09 PM posted to uk.telecom.broadband
Denis McMahon
external usenet poster
 
Posts: 37
Default An interesting DHCP issue with WIFI

On Fri, 21 Oct 2011 23:10:31 +0100, Graham J wrote:

That implies that each AP is routing between the 192.168.5.0/24 network
and the respective 192.168.y.0/24 network. If so, then that should
work. Presumably your intention is that machines connected to one AP
shall not see machines conencted to another AP?

If you want them all on the same network then set (for example):

ADSL router DHCP 192.168.5.0 - 192.168.5.49 AP1 DHCP 192.168.5.50 -
192.168.5.99
AP1 DHCP 192.168.5.100 - 192.168.5.149

... etc

But I would expect all the APs to behave sensibly with their respective
DHCP services turned off.

I think you need to give us a better network diagram ...


If he sets the netmask to /16 instead of /24, then he can have each ap on
a different x 192.168.x.0 and still all be in 192.168/16

Rgds

Denis McMahon
  #9  
Old October 24th 11, 05:11 PM posted to uk.telecom.broadband
Graham J
external usenet poster
 
Posts: 620
Default An interesting DHCP issue with WIFI

Denis McMahon wrote:
On Fri, 21 Oct 2011 23:10:31 +0100, Graham J wrote:

That implies that each AP is routing between the 192.168.5.0/24 network
and the respective 192.168.y.0/24 network. If so, then that should
work. Presumably your intention is that machines connected to one AP
shall not see machines conencted to another AP?

If you want them all on the same network then set (for example):

ADSL router DHCP 192.168.5.0 - 192.168.5.49 AP1 DHCP 192.168.5.50 -
192.168.5.99
AP1 DHCP 192.168.5.100 - 192.168.5.149

... etc

But I would expect all the APs to behave sensibly with their respective
DHCP services turned off.

I think you need to give us a better network diagram ...


If he sets the netmask to /16 instead of /24, then he can have each ap on
a different x 192.168.x.0 and still all be in 192.168/16


Of course you are correct, but given the difficulty that the OP seems to
have in understanding what he is doing, I thought it better not to
confuse him further.

--
Graham J

 




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to? WiFi access passing only HTTP & DHCP Peter Crosland uk.telecom.broadband (UK broadband) 3 October 4th 06 11:38 AM
WiFi, WPA and DHCP Clint Sharp uk.comp.home-networking (UK home networking) 11 November 27th 05 12:13 PM
WiFi, WPA and DHCP Clint Sharp uk.telecom.broadband (UK broadband) 9 November 2nd 05 12:39 AM
Wifi DHCP Problems Elcuolo uk.comp.home-networking (UK home networking) 2 September 22nd 05 11:20 PM
Very weird DHCP issue, advice needed please? T i m uk.comp.home-networking (UK home networking) 10 April 15th 04 09:21 PM


All times are GMT +1. The time now is 01:35 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.Content Relevant URLs by vBSEO 2.4.0
Copyright 2004-2019 BroadbanterBanter.
The comments are property of their posters.