Valid access-list line

Nov 30, 2006 2 Replies

Hi



access-list 102 permit tcp 62.43.0.0 0.0.128.255 host 62.204.109.241 eq smtp



Can someone tell me if this line is valid? I thought the wildcards had to be one less than the block size, meaning it should be



access-list permit tcp 62.43.0.0 0.0.127.255 host 62.204.109.241eq smtp



But my router is accepting it. Will routers accept invalid wilcard masks?



Thx!



Both masks are valid. The wildcardmask does not have to be contignious.

No such thing.

acce 101 pe tcp 0.0.0.0 255.254.255.255 any

is perfectly acceptable - permit any where the second octet is even.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required