650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/89/37/wKiom1gMlqfDxUfVAABxbEDccj8997.png "title=" 1-3. PNG "alt=" Wkiom1gmlqfdxufvaabxbedccj8997.png "/>
Last time our experiment was to add a router on the outside.
And this time we add routers to the intranet to do NAT forwarding.
The specific configuration is as follows:
Set the IP according to the above topology map
The Router6 f0/0 interface IP is 192.168.1.254
The following is the configuration information for ROUTER6
router>en
router#config
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with cntl/z.
Router (config) # inF0/1
Router (config-if) #no sh
Router (config-if) #
%link-5-changed:interface FASTETHERNET0/1, CHANGED state-to-up
%lineproto-5-updown:line protocol on Interface FASTETHERNET0/1, changed
Router (config-if) #Exit
Router (config) # inf0/0
Router (config-if) #no sh
Router (config-if) #
%link-5-changed:interface fastethernet0/0, CHANGED state-to-up
Router (config-if) #IP add 44.44.44.1 255.255.255.0
Router (config-if) #Exit
Router (config) # inF0/1
Router (config-if) #IP add 192.168.1.254 255.255.255.0
Router (config) #IP route 0.0.0.0 0.0.0.0 f0/0
Router (config) #end
Here is the information for the ROUTER7 configuration
router>en
router#config
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with cntl/z.
Router (config) # inF0/1
Router (config-if) #no sh
Router (config-if) #
%link-5-changed:interface FASTETHERNET0/1, CHANGED state-to-up
%lineproto-5-updown:line protocol on Interface FASTETHERNET0/1, changed
Router (config-if) #IP add 44.44.44.2 255.255.255.0
Router (config-if) #IP nat inside
Router (config-if) #e
Router (config) # inf0/0
Router (config-if) #no sh
Router (config-if) #
%link-5-changed:interface fastethernet0/0, CHANGED state-to-up
%lineproto-5-updown:line protocol on Interface fastethernet0/0, changed
Router (config-if) #IP add 55.55.55.55 255.255.255.0
Router (config-if) #IP nat outside
Router (config-if) #e
Router (config) #access-list 1 Permit any
Router (config) #IP nat inside source List 1 interface f0/0 overload
Router (config) #IP route 0.0.0.0 0.0.0.0 F0/1
This article is from the "Jimmy-hu" blog, make sure to keep this source http://jimmy1688.blog.51cto.com/12174375/1864772
Nat forwarding Instance (c)