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

Wild card mask

jonk34567
Level 4
Level 4
10 permit ip 0.0.0.0 255.255.255.0 any

in above statement wildcard mask is  255.255.255.0 i.e subnet mask is 0.0.0.255. 

is it possible to have 255.255.255.0 wildcard mask ? 

1 Reply 1

Predrag Jovic
Level 3
Level 3

Yes, it is possible.

- 255 is equivalent to any keyword

- 0 is equivalent to host keyword

 

access-list 10 permit 0.0.0.25 255.255.255.0

Translate

permit IP address where any.any.any.25

matching IP addresses would be:

10.1.1.25, 101.243.23.25, 3.4.5.25 etc...

so, as long as last octet is = 25 IP address will be match

 

 

Review Cisco Networking for a $25 gift card