Discussion Locked

Cisco IOS

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
permit ip 147.150.213.64 0.0.0.31 194.72.6.64 0.0.0.15 What is 0.0.0.15 means?Please explain.

2 replies

by theta-max

Obviously this is part of the access-list.
permit ip (source address)(wildcard mask)(destination address)(wildcard mask)
Example...
If I had an entry in my outbound access-list like
permit ip 192.168.52.0 0.0.0.255 192.168.85.0 0.0.0.255
that would mean that I am allowing access out from the network 192.168.52.0 as long as they go to the network 192.168.85.0. My example wildcard mask is 0.0.0.255 meaning that all computers that start with 192.168.52.? will be allowed.
your wildcard mask 0.0.0.15 means the following
ip host addresses:194.72.6.65 to 194.72.6.78
subnet mask: 255.255.255.240
maximum hosts: 14
broadcast address: 194.72.6.79

by nico baggus

The previous answer is almost correct.
The access mask allows for 16 addresses,
The network and broadcast "addresses" have no
special meaning here.

You can use this f.e. is you have a range of
systems say 4 pc's with address x.y.z.20, 21, 22,
23 to access a remote network a.b.c.0 ->
a.b.c.255...

it would be:
permit ip x.y.z.20 0.0.0.3 a.b.c.0 0.0.0.255

The talk of network address and broadcast address
only get meaning when applied to an interface.

Kind regards,
Nico

This discussion is closed to new replies.