cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
255
Views
10
Helpful
2
Replies

wildcard mask question

lifebook567
Level 1
Level 1

"access-list 1 permit 192.168.1.0 0.0.0.255" and "access-list 1 permit 192.168.1.255 0.0.0.255" and "access-list 1 permit 192.168.1.128 0.0.0.255", are they the same(see wildcard mask) and I can use either way?

2 Replies 2

pkhatri
Level 11
Level 11

They are all the same. IN fact you will find that the router will automaticallty convert the last two to the format of the first one ...

Paresh

With 192.168.1.0 0.0.0.255 you are telling the router not to care about any bit in the last octet. Hence, it doesn't matter whether your IP is set 192.168.1.0 or .128 or any other address in the last octet and it's all the same.

HTH

Sundar

Review Cisco Networking for a $25 gift card