06-27-2008 06:47 AM - edited 03-03-2019 10:31 PM
Dear experts,
iam facing a big problem that is
Access Rule1: 172.16.0.34 IP should be allowed through LAN.
Access Rule2: Allowed network traffic 172.16.2.100 - 172.16.2. 254
Except the above network range no other traffic should be allowed through our LAN (LAN to WAN).
How can i do this .If any body helps i will be very greatfull to him.
Thanks&Regards
srini
Solved! Go to Solution.
06-27-2008 07:16 AM
access-list 1 permit ip host 172.16.0.34
access-list 1 permit ip 172.16.2.100 0.0.0.3
access-list 1 permit ip 172.16.2.104 0.0.0.7
access-list 1 permit ip 172.16.2.112 0.0.0.15
access-list 1 permit ip 172.16.2.128 0.0.0.127
HTH,
__
Edison.
Please rate helpful posts
06-27-2008 07:16 AM
access-list 1 permit ip host 172.16.0.34
access-list 1 permit ip 172.16.2.100 0.0.0.3
access-list 1 permit ip 172.16.2.104 0.0.0.7
access-list 1 permit ip 172.16.2.112 0.0.0.15
access-list 1 permit ip 172.16.2.128 0.0.0.127
HTH,
__
Edison.
Please rate helpful posts
06-27-2008 08:32 AM
Dear ediortiz,
Thanks u very much ur help and can u explain
access-list 1 permit ip 172.16.2.100 0.0.0.3
what is the 0.0.0.3
iam very thankfull to u.
Srini
06-27-2008 09:26 AM
Srini...
0.0.0.3 is wildcard mask in the statement.
It implies tat this acl will permit ip's from 172.16.2.100 till 172.16.2.100.3.(4 hosts)
Its a way of allowing a range of IP addresses.
Zero's in the first 3 octet means the source address should match the 172.16.2.100 exactly.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide