Static NAT and dynamic NAT Pat technology of Cisco and Huawei

Source: Internet
Author: User

Cisco topology Map:

IP address, and then split the VLAN on the switch

switch>en

Switch#conf T

Switch (config) #inter vlan 1

Switch (config-if) #ip ad

Switch (config-if) #ip address 192.168.0.10 255.255.255.0

Switch (config-if) #no shut

Switch (config-if) #inter VLAN 2

Switch (config-if) #inter VLAN 3

Switch (config-if) #inter FA0/1

Switch (config-if) #switchport Access VLAN 2

Switch (config-if) #inter FA0/2

Switch (config-if) #switchport Access VLAN 3

Switch (config-if) #inter FA0/3

Switch (config-if) #switchport mode trunk

Switch (config) #ip default-gateway 192.168.0.1

Single-arm routing this is route 1 operation steps

router>en

Router#conf T

Router (config) #inter fa0/0

Router (config-if) #no shut

Router (config-if) #inter fa0/0.1

Router (config-subif) #encapsulation dot1q 1

Router (config-subif) #ip address 192.168.0.1 255.255.255.0

Router (config-subif) #inter fa0/0.2

Router (config-subif) #encapsulation dot1q 2

Router (config-subif) #ip address 192.168.1.1 255.255.255.0

Router (config-subif) #inter fa0/0.3

Router (config-subif) #encapsulation dot1q 3

Router (config-subif) #ip address 192.168.2.1 255.255.255.0

Router (config-subif) #inter FA0/1

Router (config-if) #ip address 202.106.1.1 255.255.255.252

Router (config-if) #no shut

Router (config) #hostname R1

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.