NAT modification issues that cannot be avoided in Cisco router configuration

Source: Internet
Author: User

In Cisco router configurations, NAT configurations are frequently used. I hope the introduction below will be helpful to the majority of fans. It is a common method. The vro performs simple NAT translation and sets a CIDR Block in the NAT address pool. After a while, I found that the address pool was a waste of time. When I wanted to use a real ip address, I couldn't use it, so I decided to modify the Cisco router configuration. The original main route settings are as follows:

... Interface FastEthernet0/0 ip address 192.168.1.58 255.255.255.252 ip nat outside... interface FastEthernet0/1ip address 192.168.2.1 255.255.255.0 secondaryip address 219.235.228.81 255.255.255.248ip nat inside... ip nat pool NAT-1 219.235.228.82 219.235.228.85 netmask subnet mask 255.255.248ip nat inside source list 1 pool NAT-1 overload... access-list 1 permit 192.168.2.0 0.0.255... now I want to replace the address pool 219.235.228.82-219.235.228.85 with an address 219.235.228.82. In fact, the idea is very simple, but the operation process is more careful. The general idea is:
1. The Internet is disconnected. Dynamic nat is in use and cannot be modified.
2. Then understand all the dynamic nat translation caches.
3. Delete the previous address pool settings
4. Add the correct address pool settings
5. Open the Internet and configure the Cisco Router
6. Save the configuration to RAM

Well, the actual operation is as follows # conf tint FastEthernet0/0no ip nat outside let back to # mode # clear ip nat translation * enter FastEthernet0/1 modify natconf t int FastEthernet0/1 no ip nat pool NAT-1 219.235.228.82 219.235.228.85 netmask 255.255.255.255.248 ip nat pool NAT-1 219.235.228.82 219.235.228.82 netmask 255.255.255.255.248, after completing the nat configuration modification, let's go back and open the Internet # conf tint FastEthernet0/0ip nat outside. OK. The modification is complete. Just click it carefully. Do not forget to save the last step. Otherwise, restart the Cisco router and modify the configuration again. ")

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.