04-01-2011 02:12 AM - edited 03-04-2019 11:56 AM
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
Solved! Go to Solution.
04-01-2011 03:04 AM
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
04-01-2011 03:06 AM
0.0.0.63
04-01-2011 03:04 AM
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
04-09-2011 04:46 AM
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
04-01-2011 03:06 AM
0.0.0.63
04-09-2011 04:46 AM
Thx rama
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