cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
822
Views
0
Helpful
4
Replies

access list issue

malai.joseph
Level 1
Level 1

Hi, pls help on this

R1921(config)# ip route 192.168.100.0/27 10.10.10.2
R1921(config)# ip route 192.168.111.0/27 10.10.10.2
R1921(config)# ip route 192.168.222.0/27 10.10.10.2
R1921(config)# ip route 0.0.0.0 0.0.0.0 123.49.42.162
R1921(config)# ip nat inside source list 102 int G0/0 overload
R1921(config)# access-list 102 permit ip 192.168.100.0 0.0.0.15 any
R1921(config)# exit
R1921# write

I Want to replace the above with below network kindly help on access list part so as only network  192.168.4.0/26 can browse

R1921(config)# ip route 192.168.2.0/26 10.10.10.2
R1921(config)# ip route 192.168.3.0/26 10.10.10.2
R1921(config)# ip route 192.168.4.0/26 10.10.10.2
R1921(config)# ip route 0.0.0.0 0.0.0.0 123.49.42.162
R1921(config)# ip nat inside source list 102 int G0/0 overload
R1921(config)# access-list 102 permit ip 192.168.4.0 x.x.x.x any
R1921(config)# exit
R1921# write

what is the value of X? pls

Joseph

2 Accepted Solutions

Accepted Solutions

cadet alain
VIP Alumni
VIP Alumni

Hi,

192.168.4.0/26 so subnet mask is 255.255.255.192 and so your wildcard is 0.0.0.63

only network  192.168.4.0/26 can browse

only network 192.168.4.0 will be natted so if you still want external access for the other subnets apart from surfing the web it won't work

Regards.

Alain

Don't forget to rate helpful posts.

View solution in original post

samavedula_rama
Level 1
Level 1
4 Replies 4

cadet alain
VIP Alumni
VIP Alumni

Hi,

192.168.4.0/26 so subnet mask is 255.255.255.192 and so your wildcard is 0.0.0.63

only network  192.168.4.0/26 can browse

only network 192.168.4.0 will be natted so if you still want external access for the other subnets apart from surfing the web it won't work

Regards.

Alain

Don't forget to rate helpful posts.

Thx Alain,

it worked well,

Now pls help,i have a mail server with ip address 192.168.4.5/26 and WAN 196.46.83.x/28 and i want the mail server to have 512MB dedicated,i have 2Gbps from ISP what should be done on router so as external user access mail server and should not open slowly?help on router conf with mail server ip given to have 512mb

Joseph

samavedula_rama
Level 1
Level 1

0.0.0.63

Thx rama