Valid access-list line

Have a question or want to start a discussion? Post it! No Registration Necessary.  Now with pictures!

Threaded View
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!


Re: Valid access-list line
Both masks are valid. The wildcardmask does not have to be contignious.

Quoted text here. Click to load it



Re: Valid access-list line
smokejo@googlemail.com wrote:
Quoted text here. Click to load it

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.
--
Paul Matthews                          
paul@cattytown.me.uk
http://www.hepcats.co.uk

Site Timeline