09-22-2011 10:53 PM - edited 03-07-2019 02:23 AM
Im using wifi connected to C3750 catalyst switch , switch is the DHCP server for the vlan created 101
Here are my configuaration:
ip dhcp excluded-address 10.10.30.1 10.10.30.10
! ip dhcp pool init
network 10.10.30.0 255.255.255.0
default-router 10.10.X.X
dns-server 10.10.X.X 8.8.4.4
!
ip dhcp pool SR
host 10.10.30.151 255.255.255.0
client-identifier 01ac.7289.0d86.67
client-name Client1
interface Vlan101
description internal userwifi
ip address 10.10.30.1 255.255.255.0
im using WI-fi to the vlan assigned
verification:
wavel3#sh ip dhcp binding
wavel3#sh ip dhcp binding
IP address Client-ID/ Lease expiration Type
Hardware address
10.10.30.11 01ac.7289.0d86.67 Mar 03 1993 11:13 PM Automatic
10.10.30.151 01ac.7289.0d86.67 Infinite Manual
Its taking automatic IP to the client machine connected to wifi
i need to get the manual IP assigned to the loop, any suggestions will be appreciated
where am i going wrong in this scenario.
I have about 40 client machines and all have to get the ip Mac based static assigned to the pool.
Thanks & regards
Srikanth
09-22-2011 11:57 PM
hi,
try re-configuring as per below and try again. don't forget to do a clear ip dhcp binding.
ip dhcp pool SR
host 10.10.30.151 255.255.255.0
client-identifier 01ac.7289.0d86.67
client-name SR
09-23-2011 12:16 AM
done withe chages as above mentioned created the pool name and client name same .but the client is getting the ip 10.10.30.11 where he should get 10.10.30.151.
ip dhcp excluded-address 10.10.30.1 10.10.30.10
! ip dhcp pool init
network 10.10.30.0 255.255.255.0
default-router 10.10.X.X
dns-server 10.10.X.X 8.8.4.4
!
ip dhcp pool SR
host 10.10.30.151 255.255.255.0
client-identifier 01ac.7289.0d86.67
client-name SR
interface Vlan101
description internal userwifi
ip address 10.10.30.1 255.255.255.0
help me out please?
thanks and regards
srikanth
09-23-2011 01:14 AM
Hi,
You say it is taking the other IP from the output of sh ip dhcp binding or from ipconfig/all on machine?
Regards.
Alain.
09-23-2011 02:16 AM
Problem fixed. its working now . as i reebooted the Wireless Access points.
now the new problem arises. i got to add about 40 mac-address so i need to use 40 ips.
if i excluded all oter IPs still client can get the ip from excluded address
!
ip dhcp excluded-address 10.10.30.1 10.10.30.10
ip dhcp excluded-adress 10.10.30.50 10.10.30.254
is this is the correct way to configure. as i only need 40 ips from the network of 10.10.30.0 as for security i need to give static ips to only 40 laptops not to any other devices used internal network.
hope u got my point can any one show me the way to configure or is ther any other security method i can take or configure in L3 switch. t prevent access other than 40 laptops...
thanks & regards
srikanth
09-23-2011 02:28 AM
Hi,
if the machine acquired an ip from dhcp before you madse these changes then of course you must release and renew your lease on the clients.
You want 40 IPs as statically configured and no other machine should get a DHCP address? is that so?
then excluding these IPs from the range seems ok.
Regards.
Alain
09-23-2011 02:49 AM
HI Alain
thanks for the update, will reply if i had problem with it..
Thanks & regards
srikanth
09-23-2011 06:26 AM
Hi
the problem persits i have excluded ips for and given only 10 ips in a network range for the vlan WIFI client usage
but almost 20 people can get the IP from it..and accessing internet ...
IP dhcp excluded-address 10.10.30.4 10.10.30.141
ip dhcp excluded-address 10.10.30.152 10.10.30.255
! ip dhcp pool init
network 10.10.30.0 255.255.255.0
default-router 10.10.X.X
dns-server 10.10.X.X 8.8.4.4
!
ip dhcp pool SR
host 10.10.30.151 255.255.255.0
client-identifier 01ac.7289.0d86.67
client-name SR
interface Vlan101
description internal userwifi
ip address 10.10.30.1 255.255.255.0
problem with the Switch configuration .or WIFi access point anyhow the simple point is we have excluded ipaddress in dhcp in L3 switch right. but still the client can get an ip from exluded ip list ..where should it be. the problem.
THanks and regards
Srikanth
09-23-2011 07:07 AM
Hi,
they shouldn't get an excluded-address.
Clear all dhcp bindings stop dhcp service, release IP on client misbehaving
fire up a sniffer like wireshark and restart DHCP service on switch, renew IP and post pcap file.
Also post output of sh run | s dhcp
Regards.
Alain.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide