cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
893
Views
5
Helpful
4
Replies

Wildcard mask for an access list

randyclark
Level 1
Level 1

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

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

View solution in original post

4 Replies 4

DWAM_2
Level 3
Level 3

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.

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

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

Try this :

permit udp 172.20.28.0 100.255.255.255 any eq 161

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: