LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-24-2009, 05:21 PM   #1
zdarova
LQ Newbie
 
Registered: Mar 2009
Location: bologna - italia
Distribution: ubuntu
Posts: 4

Rep: Reputation: 0
Question dhcp problem on my little network


I am not an expert in networking.
I have a network made by a Dlink router-adsl_modem-wifi g624M connected on LAN with Dlink ap 2100 (as WDS) then another 2100 AP as WDS-AP
WDS0=wireless distribution sistem (i don't know if is a general name or only dlink calls it like that)).
The fist router has 192.168.1.1, subnet: 255.255.255.0.
the second: 192.168.1.11, subnet: 255.255.255.0, gateway: 192.168.1.1
the third: 192.168.1.10, subnet: 255.255.255.0, gateway: 192.168.1.1

the problem is that I can connect on the third device ONLY with static IP, the enabled DHCP on the first router don't working.
Why?
i did something wrong?

PS: the dhcp on the second and third device is disabled.
PS1: if you ask me why i don't use the 2100's as repeater, because i get big delay and 20% of the normal speed (2mbits insteed of 10)


i asked this question on other forums but nobody helped me, i read some topics and saw that there are some experts here
thanks
 
Old 03-25-2009, 05:07 PM   #2
devwink
Member
 
Registered: May 2006
Posts: 49

Rep: Reputation: 15
I'm a newbie to but this may prompt discussion and kick off the thread.

I understand that it's best to connect additional air routers by thier lan ports instead of wan ports.

Disable the DHCP on all but one and in your case set the dhcp to start at say 50 , to avoid the land addresses of the routers.

Also you can set unused wan ports as any fixed ip in a different range 192.168.0.???

Hope this helps
 
Old 03-25-2009, 05:09 PM   #3
devwink
Member
 
Registered: May 2006
Posts: 49

Rep: Reputation: 15
BTW, dhcp server should on the gateway router.
 
Old 03-25-2009, 07:38 PM   #4
grizly
Member
 
Registered: Nov 2006
Location: Melbourne Australia
Distribution: Centos, RHEL, Debian, Ubuntu, Mint
Posts: 128

Rep: Reputation: 16
I've used WDS..

If you want users to be able to connect to any of the AP's, they must all be set to WDS+AP, if they are just trunking traffic, set them to WDS only.

Make sure you set them all to different SSID's (they communicate via MAC, so this will assist your clients in roaming)

DHCP is a known problem with some WDS products.. read the docs for your product!

You can try lowering the RTS/CTS to speed up error correction.. (collisions are common in WDS)

Last edited by grizly; 03-25-2009 at 07:43 PM.
 
Old 03-26-2009, 06:12 AM   #5
devwink
Member
 
Registered: May 2006
Posts: 49

Rep: Reputation: 15
Also set each to a different channel and avoid "auto" , if that's an option for channel
 
Old 03-26-2009, 11:03 AM   #6
zdarova
LQ Newbie
 
Registered: Mar 2009
Location: bologna - italia
Distribution: ubuntu
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by devwink View Post
Also set each to a different channel and avoid "auto" , if that's an option for channel
So, i noted that if I use different channel, they didn't connect.
(i try to use the channel that is less interfired by other APs near by, by doing a scan first)

@grizly
yes, the first AP (that is connected via LAN with the router) is set to AP, the second to WDS-AP.

what value of RTS/CTS do you recomand i should try?


thanks for your replays
 
Old 03-26-2009, 11:05 AM   #7
zdarova
LQ Newbie
 
Registered: Mar 2009
Location: bologna - italia
Distribution: ubuntu
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by devwink View Post
I'm a newbie to but this may prompt discussion and kick off the thread.
why? i started the thread in the wrong place?
 
Old 03-26-2009, 10:14 PM   #8
grizly
Member
 
Registered: Nov 2006
Location: Melbourne Australia
Distribution: Centos, RHEL, Debian, Ubuntu, Mint
Posts: 128

Rep: Reputation: 16
If I remember correctly, it will start with RTS/CTS values of 2346 or thereabouts.. I just kept lowering it by 100 until the ping times improved. Experimentation and reading docs did it for me. (this will lower the max packet size and add overhead, lowering throughput, but also lowering response time)

You will want them all set to WDS+AP then mate, otherwise the other AP's wont be able to forward and you won't see the DHCP server.

You can search Google, or read: http://www.wi-fiplanet.com/tutorials...le.php/1445641
 
Old 03-27-2009, 08:48 AM   #9
zdarova
LQ Newbie
 
Registered: Mar 2009
Location: bologna - italia
Distribution: ubuntu
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by grizly View Post
If I remember correctly, it will start with RTS/CTS values of 2346 or thereabouts.. I just kept lowering it by 100 until the ping times improved. Experimentation and reading docs did it for me. (this will lower the max packet size and add overhead, lowering throughput, but also lowering response time)

You will want them all set to WDS+AP then mate, otherwise the other AP's wont be able to forward and you won't see the DHCP server.

You can search Google, or read: http://www.wi-fiplanet.com/tutorials...le.php/1445641
thank you, i remember mow about that from a course...layer stuff and fragmentation (rts and cts)i undestood now how it works.

speaking about dhcp and wds, I know that dhcp is on Application layer from OSI model (right?) i think wds is on MAC sublayer, why did you said that with WDS-AP the dhcp will work and without i won't see it?

It's from your experience or it's a rule?
thanks
 
Old 03-28-2009, 05:50 AM   #10
grizly
Member
 
Registered: Nov 2006
Location: Melbourne Australia
Distribution: Centos, RHEL, Debian, Ubuntu, Mint
Posts: 128

Rep: Reputation: 16
If the AP's aren't forwarding the frames, how will your broadcasts find the DHCP server?


If you set them all to WDS+AP, then they will be communicating with each other (after you program in the MAC's). This creates one network, and one collision/broadcast domain. The RTS/CTS thresholds allow you to tweak the collision domain, the WDS aggregates the broadcast domains into one.

You need this "Single Broadcast Domain" in order for your clients broadcasts to reach the DHCP server on the router.. I don't think I can make that point any clearer.. if they aren't connected to each other, it won't work.

To read more about it:
http://en.wikipedia.org/wiki/Dhcp#Technical_details
http://en.wikipedia.org/wiki/Wireles...ibution_System
ftp://ftp.dlink.com/Wireless/dwl2100...manual_200.zip

EDIT:
You may want to check that your gateway AP can actually do WDS.. I know the 2100's can, I haven't used the g624M (and searches seem to indicate it won't work)

Last edited by grizly; 03-28-2009 at 05:59 AM. Reason: edit
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DHCP network address problem mynameistmp Slackware 9 03-27-2007 08:43 PM
DHCP problem with wireless network SlackPingo Slackware 15 12-30-2005 10:24 AM
SUSE 9.1 network problem: DHCP ??? pcj Linux - Networking 14 06-18-2004 04:29 AM
university dhcp network problem mwa Linux - Networking 18 12-08-2003 12:14 AM
DHCP network problem MasterC Linux From Scratch 4 06-10-2002 08:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration