11-05-2016 05:24 PM - edited 03-05-2019 07:24 AM
Hi Guys...
I Need Help Related To WAN ISP Configure In Router Then Connect To Switch And Access Internet On Different PC.
For Better To Understand My Question.
I Have 1 Internet Connection The IP Is 192.168.1.1 , Now I Want To Connect That IP In My Cisco Router 2911
And I Have 2960 Cisco Switch Available And Now I Want To Access Internet On My 5 System.
Can Any One Guide Me How I am Configure These Setting?
One Line Question.
Internet WAN ISP Connect To Router And Router Port Connect To Switch And Switch Ports Connect To 5 Pc.
Please Send Me Configuration How To Build A Small Network..
Waiting For Good Reply..
11-06-2016 12:40 AM
Hello,
you need to configure the interface on the router that is connected to the Internet with the public IP address, then configure that interface for 'ip nat outside',and the interface that connects the router to your switch with 'ip nat inside'. Then you configure an access list that defines your local traffic and apply it to a NAT statement.
It would look like this:
R1# configure terminal
R1(config)# interface fastethernet0/0
R1(config-if)#description Connection to switch
R1(config-if)# ip nat inside
R1(config-if)# interface serial0/0
R1(config-if)#description Connection to ISP
R1(config-if)# ip nat outside
R1(config-if)# exit
R1(config)# access-list 100 permit ip 192.168.1.0 0.0.0.255 any
R1(config)# ip nat inside source list 100 interface serial 0/0 overload
11-06-2016 06:45 AM
Thanks Dear Yes U r right that is my question which u define in ur reply.
thanks a lot to guide me..
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