Nat forwarding Instance (iii)

Source: Internet
Author: User

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.