Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Wildcard mask for an access list

What would be the wildcard mask to limit access to

the first 100 host in network 172.20.28.0 255.255.254.0? My attempts so far have failed....

permit udp 172.20.28.0 0.0.?.? any eq 161

1 ACCEPTED SOLUTION

Accepted Solutions
Bronze

Re: Wildcard mask for an access list

Hi, the masks should be

permit udp 172.20.28.0 0.0.0.63 any eq 161

permit udp 172.20.28.64 0.0.0.31 any eq 161

permit udp 172.20.28.96 0.0.0.3 any eq 161

permit udp host 172.20.28.100 any eq 161

That will give you 172.20.28.0 to 100

hth

4 REPLIES
New Member

Re: Wildcard mask for an access list

Hello,

can you try this :

172.20.28.0 0.0.0.64

172.20.28.64 0.0.0.32

172.20.28.96 0.0.0.4

Regards.

New Member

Re: Wildcard mask for an access list

I tried the following without any luck.

172.20.28.0 0.0.0.64

172.20.28.64 0.0.0.32

172.20.28.96 0.0.0.4

Bronze

Re: Wildcard mask for an access list

Hi, the masks should be

permit udp 172.20.28.0 0.0.0.63 any eq 161

permit udp 172.20.28.64 0.0.0.31 any eq 161

permit udp 172.20.28.96 0.0.0.3 any eq 161

permit udp host 172.20.28.100 any eq 161

That will give you 172.20.28.0 to 100

hth

New Member

Re: Wildcard mask for an access list

Try this :

permit udp 172.20.28.0 100.255.255.255 any eq 161

381
Views
5
Helpful
4
Replies
CreatePlease to create content