cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
628
Views
10
Helpful
7
Replies

Limit access by HW address

Adrian Ardelean
Level 1
Level 1

Hi,

I have a 2921, and I have 4 network segments.

In segment 172.16.0.0./27 I wand to "pair" somehow connections. I mean IP 172.16.0.x has to have MAC aaaa.bbbb.cccc and so on, and not accept connections otherwise.

How can I do that?

Thank you!

A.                

2 Accepted Solutions

Accepted Solutions

Amjad Abdullah
VIP Alumni
VIP Alumni

I Agree with Paolo. static arp entries is the way.

But why you need this specific requirement? If you have a device with ip 172.16.0.2 for example, why you should bind it to some specific mac? it has only one mac address and that is not supposed to change, right? so why don't you just add MAC ACL if that is really needed?

Amjad

Rating useful replies is more useful than saying "Thank you"

Rating useful replies is more useful than saying "Thank you"

View solution in original post

Hi,

For MAC ACL, you the "mac access-group ... in" command:

http://www.cisco.com/en/US/docs/ios/security/command/reference/sec_m1.html#wp1076835

Kind Regards,
Ivan Shirshin

**Please grade this post if you find it useful.

Kind Regards,
Ivan

View solution in original post

7 Replies 7

paolo bevilacqua
Hall of Fame
Hall of Fame

You will need to setup static arp entries, and disable arp protocol..

That is so time consuming, and so un-managebale, that you should really find a better way to manager you network security rather than relying on IP and MAC.

Amjad Abdullah
VIP Alumni
VIP Alumni

I Agree with Paolo. static arp entries is the way.

But why you need this specific requirement? If you have a device with ip 172.16.0.2 for example, why you should bind it to some specific mac? it has only one mac address and that is not supposed to change, right? so why don't you just add MAC ACL if that is really needed?

Amjad

Rating useful replies is more useful than saying "Thank you"

Rating useful replies is more useful than saying "Thank you"

Sorry for being dumb, but how do i do MAC ACL?

Thanks!

Hi,

For MAC ACL, you the "mac access-group ... in" command:

http://www.cisco.com/en/US/docs/ios/security/command/reference/sec_m1.html#wp1076835

Kind Regards,
Ivan Shirshin

**Please grade this post if you find it useful.

Kind Regards,
Ivan

Amjad Abdullah schrieb:

so why don't you just add MAC ACL if that is really needed?

Don't forget to mention that on most switches and newer IOS versions MAC ACLs don't work for IP packets. Thus they don't have any impact at best or block system relevant network protocoll traffic at worst.

pille1234 wrote:

Amjad Abdullah schrieb:

so why don't you just add MAC ACL if that is really needed?

Don't forget to mention that on most switches and newer IOS versions MAC ACLs don't work for IP packets. Thus they don't have any impact at best or block system relevant network protocoll traffic at worst.

oh, really? I did not know that!!

Rating useful replies is more useful than saying "Thank you"

Rating useful replies is more useful than saying "Thank you"

Adrian Ardelean
Level 1
Level 1

Thank you!

Review Cisco Networking products for a $25 gift card