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

Reg:1841 router help

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

1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Bronze

Re: Reg:1841 router help

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

3 REPLIES
Hall of Fame Super Bronze

Re: Reg:1841 router help

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

New Member

Re: Reg:1841 router help

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

Bronze

Re: Reg:1841 router help

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.

105
Views
0
Helpful
3
Replies
CreatePlease to create content