NAT basic configuration

Source: Internet
Author: User

NAT configuration points:

1. ACL

2. NAT address pool

3. Apply NAT to the corresponding interface

4. one-to-many or one-to-one ing

!
Ip access-list standard 2
10 permit any
!
!
!
Interface GigabitEthernet 0/1
Ip nat inside
Ip address 8.1.1.2 255.255.255.252
Duplex auto
Speed auto
Description to S5750-2 G0/1
!
Interface GigabitEthernet 0/3
Ip nat outside
Ip address 6.1.1.2 255.255.255.0
Duplex auto
Speed auto
Description to S8606 G1/3
!
!
Ip nat pool school2 prefix-length 24
Address 6.1.1.2 6.1.1.2 match interface GigabitEthernet 0/3
!
Ip nat inside source static 50.1.1.2 6.1.1.22
Ip nat inside source list 2 pool school2 overload
!
!

Author "Iamok"

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.