cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
411
Views
0
Helpful
1
Replies

Subnet mask problem

xhackuss1
Level 1
Level 1

hi Folks,

I have this situation where a customer has this addressing.

The customer has subnetted 192.168.1.0 network as follows.

192.168.1.48/28 and 192.168.1.64/28.

the problem is,now they want to match the IP range of 192.168.1.80 to 192.168.1.254 in an access-list. So my problem is, what subnet mask will match the remaining range of 192.168.1.80 to 192.168.1.254 after the initial /28 subnetting ?

1 Reply 1

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Yahaya,

being an ACL you can use multiple lines to be able to cover the required address range.

So the answer is multiple ACL lines:

192.168.1.128 0.0.0.127 matches 192.168.1.128-192.168.1.255

192.168.1.80 0.0.0.15 matches 192.168.1.80-192.168.1.95

192.168.1.96 0.0.0.31 matches 192.168.1.96-192.168.127

you need to see every acl line as made of three using the three blocks.

Hope to help

Giuseppe

Review Cisco Networking products for a $25 gift card