cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
363
Views
0
Helpful
1
Replies

MAC Based browsing on cisco2800

Srinivas N
Level 1
Level 1

Dear Friend,

I have cisco 2800 serice router, and I configured DHCP, NATING AND DNS.

Nearly 25 nos computers are connected in that network, And what i want is i want to those mac address only should get internet and if new computer is joined in the same network the internet should not work on that pc, untile i added the mac.

Please help me in such a way to work on

Thanks,

Srinivas. N.

Thanks & Regards, Srinivas. N.
1 Reply 1

cadet alain
VIP Alumni
VIP Alumni

Hi,

if you want to do this on the router then you can do something like this:

class-map match-any PERMITTED_MACS

match  source-address mac xxxx.xxxx.xxxx

match source-address mac xxxx.xxxx.xxxx

# add as many matches as paermitted MAC addresses

class-map DENIED_MACS

match not class-map PERMITTED_MACS

policy-map DENIED_MACS

class DENIED_MACS

drop

int x/x                     # inside address where client traffic enters the router to go out the Internet.

service-policy in DENIED_MACS

To verify: sh policy-map interface x/x

Regards.

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.
Review Cisco Networking for a $25 gift card