Wireless Networks Thread, what comes first ip address or authentication in Technical; Hi all i am probably being really 'fick' here but can anyone tell me definitively what happens first when an ...
-
8th November 2010, 10:35 AM #1
- Rep Power
- 14
what comes first ip address or authentication
Hi all i am probably being really 'fick' here but can anyone tell me definitively what happens first when an ipod/iphone device connects to the network. Does it get issued an ip address from dhcp and then have to authenticate via any wireless security or is that it has to authenticate before it gets an ip.
I ask because my dhcp server is filling up with iphone/ipods and i can't imagine them guessing ir being told the wpa keys.
As always thanks in advance for any help.
Uraken
-
-
IDG Tech News
-
8th November 2010, 10:37 AM #2 AFAIK any wireless device authenticates with the Access Point before the dhcp request is sent across the rest of the network.
-
-
8th November 2010, 01:54 PM #3
- Rep Power
- 14
Thats how i would of thought it happened but this does not explain the dhcp leases also what protocol dooe sit use? if its tcp surely it must have an ip to do this?
-
-
8th November 2010, 02:00 PM #4 The protocal would be TCP and no it does not need an IP to do this. What happens is the device broadcasts a dhcp request packet across the network and awaits for a reply to be broadcast back. AFAIK, all machine on the network would receive both network packets as they are broadcast to the network as a whole and not directed to any one machine. Only the dhcp server will respond to the first packet, all other PC's will simply discard the packet. Simarly on the PC requesting an IP address, assuming it's marked with the PC's MAC address, would open and use the responding packet - again all other computers will receive and ignore that packet.
You are right, it doesn't explain the leases.
Are all the leases live at the same time? Is it one, or a handful of devices, that have been given the AP key requesting an address multiple times. Maybe days or hours apart?
-
-
8th November 2010, 02:36 PM #5 
Originally Posted by
tmcd35
The protocal would be TCP
Wrong. http://www.faqs.org/rfcs/rfc2131.html
-
Thanks to powdarrmonkey from:
tmcd35 (8th November 2010)
-
8th November 2010, 03:05 PM #6 We are having a similar problem with ipods filling up our IP addresses. However we know that some silly bugger has leaked our WEP key to the Sixth Form so am having to think about changing the SSID throughout the school.
I don't suppose anyone knows a way, using built in Windows features, that I can block these ipods receiving an IP once I have a list of their MAC addresses??
-
-
8th November 2010, 03:08 PM #7 
Originally Posted by
themightymrp
I don't suppose anyone knows a way, using built in Windows features, that I can block these ipods receiving an IP once I have a list of their MAC addresses??
Give them a reservation with a stupid IP.
-
Thanks to powdarrmonkey from:
themightymrp (8th November 2010)
-
8th November 2010, 03:12 PM #8 DOH! Why didn't I think of that before??!! Cheers
-
-
8th November 2010, 11:54 PM #9 there is also block/allow built into the newer versions of DHCP server. 2008 R2 yes. 2008 maybe. 2003 downloadable add-in.
but yes reservation with stupid ip would be preferable
-
-
9th November 2010, 07:18 AM #10 
Originally Posted by
themightymrp
I don't suppose anyone knows a way, using built in Windows features, that I can block these ipods receiving an IP once I have a list of their MAC addresses??
If you have an Windows 2008 R2 DHCP server you can create a mac-address block list
bio..
-
-
9th November 2010, 07:47 AM #11 
Originally Posted by
powdarrmonkey
Give them a reservation with a stupid IP.
Because they are all apple devices - just a thought here, am guessing they all use the same make of network card so the first part of the mac address should be the same, is there anyway to use a wild card or the likes when you use a dhcp reservation to dish out daft network details ??
-
-
9th November 2010, 07:49 AM #12 
Originally Posted by
mac_shinobi
Because they are all apple devices - just a thought here, am guessing they all use the same make of network card so the first part of the mac address should be the same, is there anyway to use a wild card or the likes when you use a dhcp reservation to dish out daft network details ??
Ban all Apple devices from the network, I like the way you think
-
Thanks to SYNACK from:
mac_shinobi (9th November 2010)
-
9th November 2010, 08:27 AM #13 
Originally Posted by
mac_shinobi
Because they are all apple devices - just a thought here, am guessing they all use the same make of network card so the first part of the mac address should be the same, is there anyway to use a wild card or the likes when you use a dhcp reservation to dish out daft network details ??
Nope, and it would be short-sighted to do so anyway.
-
-
9th November 2010, 09:20 AM #14 
Originally Posted by
powdarrmonkey
Nope, and it would be short-sighted to do so anyway.
and odds on they are say broadcom/realtek wifi cards anyway rather than really apple so you would probably wnd up blocking legit laptops etc
as mentioned simplest way is just to give them a stupid ip reservation
-
Thanks to sted from:
mac_shinobi (9th November 2010)
-
9th November 2010, 10:31 AM #15 OK, the block feature of DHCP is built in to 2008 R2 only. However with this free add-in you can add the feature to 2003 or 2008 R1 server 
DHCP Server Callout DLL for MAC Address based filtering - Microsoft Windows DHCP Team Blog - Site Home - TechNet Blogs
All you need to do is modify a TXT file to tell it to deny the following MAC addresses and then populate as many MAC's as you can find! Personally I just went down the list of DHCP leases and looked for obvious ones such as 'Dannys-ipod'. The MAC's are right there in the console. Working a treat so far
Have managed to block 43 devices this morning!
-
Thanks to themightymrp from:
Uraken (9th November 2010)
SHARE: 
Similar Threads
-
By mattx in forum Wireless Networks
Replies: 10
Last Post: 17th August 2010, 12:12 PM
-
By GoldenWonder in forum *nix
Replies: 16
Last Post: 3rd June 2010, 08:40 AM
-
By Dom_ in forum Internet Related/Filtering/Firewall
Replies: 6
Last Post: 8th January 2010, 04:16 PM
-
Replies: 8
Last Post: 29th August 2006, 02:13 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules