11-14-2010 09:26 AM - edited 03-11-2019 12:09 PM
hi all
I have cisco 800 router, router configure as DHCP server, i want to bind user MAC ID with IP and block only Internet Access.
please assist
sagar panday
11-14-2010 05:37 PM
Sagar,
You can creates specific dhcp pools for hosts with the following example:
ip dhcp pool Desktop1
host 192.168.2.55
hardware-address 0a0a.0b0b.0c0c ieee802
client-name Dsktop1
Then use access-list to control your internet acces.
- Magnus
11-17-2010 01:08 AM
thanks magnus for your help
one more thing for each client (MAC ) i have to create seperate DHCP pool,
can you please give me example of access list.
thanks with regards
sagar panday
11-17-2010 11:50 AM
Yes, you should create a separate pool for each MAC.
Once done you can use acl to restrict access.
conf t
access-l 100 permit tcp ho 192.168.2.55 any eq 80
(Then apply this acl on an interface behind which this host lives.)
int e0
ip access-g 100 in
-KS
11-19-2010 05:34 AM
i have configured my router as
ip dhcp pool xxx
host 192.168.1.4 255.255.255.0
hardware-address 0026.9e9d.9466 ieee802
client-name xxx
default-router 192.168.1.1
dns-server x.x.x.x
but PC (0026.9e9d.9466) is not getting IP (192.168.1.4) .from router.
please assist
regards
sagar
11-19-2010 06:12 AM
Hello ,
Can you try :
ip dhcp pool user
host 192.168.1.4 255.255.255.0
client-identifier 0026.9e9d.9466
if not , please post show ip dhcp bind
Dan
04-29-2013 11:52 PM
you could use XLATE command also
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: