Some ideas about how to connect to a vronat for NAT and speed limit

Source: Internet
Author: User
Tags domain lookup

Some customers have been asking me if I can limit the downstream speed of some internal machines. I naturally replied: I can limit the speed. In fact, the speed limit is certainly acceptable, but a specific problem needs to be considered.

Generally, the Access Router performs address translation, but the following steps are displayed when you understand the operation steps of the router:

Check input rate limits -------> nat outside to inside -------> check output rate limits

Therefore, the speed limit policy must be applied to some internal hosts. Because the inside local address must be specified in the ACL, service-policy output xxx should be applied to the Intranet interface, instead of the service-policy input xxx on the Internet interface!

The following is a specific example:

       
        Router#sh runBuilding configuration...Current configuration : 1026 bytes!version 12.2service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname Router!!ip subnet-zero!!no ip domain lookup!!class-map match-all test-classmatch access-group 100!!policy-map speedclass test-classpolice cir 80000 bc 32000conform-action transmitexceed-action drop!!!!!interface FastEthernet0/0ip address 192.168.1.111 255.255.255.0ip nat outsideduplex autospeed auto!interface FastEthernet0/1ip address 172.16.1.1 255.255.255.0ip nat insideduplex autospeed autoservice-policy output speed!ip nat inside source list 1 interface FastEthernet0/0 overload!ip classlessip route 0.0.0.0 0.0.0.0 192.168.1.1no ip http server!!access-list 1 permit anyaccess-list 100 deny ip any host 172.16.1.100access-list 100 permit ip any any!line con 0line aux 0line vty 0 4!!end
       

(T113)


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.