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
ACLs -help please
Jun 20, 2006
7 Replies
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.0Hope that I have this right and haven't confused the matter.
D
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...
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#Join the Discussion
Have something to add? Share your thoughts — no account required.
Didn't find your answer?
Ask the community — no account required