ACLs -help please

Hello- i have been reading through the chapter on ACLs -I have a couple of points I need help with please-firstly -is the "any any" syntax the same as 0.0.0.0 255.255.255.255? and when I use "host" that replaces the wildcard mask-eg access-list 1 permit host 192.168.10.1--would this be the same as access-list 1 permit 192.168.10.1 0.0.0.1 ? Many thanks

Reply to
gregg johnstone
Loading thread data ...

Hi

From my understanding, you got the first part right. 'any any' is the same as 0.0.0.0 255.255.255.255

The host syntax substitutes the mask as 0.0.0.0 In your example, permit host 192.168.10.1 is the same as permit 192.168.10.1

0.0.0.0

Hope that I have this right and haven't confused the matter.

D
Reply to
Danny

Reply to
gregg johnstone

Reply to
Mike Dorn

Reply to
gregg johnstone

You can either use host or 0.0.0.0. It both means the same.

"gregg johnstone" schreef in bericht news: snipped-for-privacy@p79g2000cwp.googlegroups.com...

Reply to
CCNA Nerd

Reply to
gregg johnstone

Many fine comments previously. I thought that it was worth mentioning that the router actually translates a wildcard mask of 0.0.0.0 *into* the keyword host and the mask of 255.255.255.255 into the keyword any so you *never* see these masks explicitly in config files.

IOS 12.4(8) on 837 but I have seen this over a long time

temp#sh access-l 101

temp#conf t Enter configuration commands, one per line. End with CNTL/Z. temp(config)#access-l 101 permit ip 1.2.3.4 255.255.255.255 5.6.7.8

0.0.0.0 temp(config)#^Z temp#sh access-l 101 Extended IP access list 101 10 permit ip any host 5.6.7.8 temp#
Reply to
anybody43

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.