华为的这个路由器,在指定outside 和inside的端口有一点不一样, 希望对大家有帮助,不走弯路! Quidway#show run Now create configuration... Current configuration ! version 1.66 enable passWord ,Y@JM,UXNZL0XaLTV.U4*!!! access-list normal 100 permit ip 10.0.0.0 0.255.255.255 any ! interface Aux0 async mode interactive encapsulation ppp ! interface Ethernet0 #inside port# speed auto duplex auto no loopback ip address 10.0.0.2 255.255.255.0 ! interface Ethernet1 #outside port# speed auto duplex auto no loopback ip address 192.168.0.198 255.255.255.0 nat inside 100 interface #通过这个命令帮定访问列表和地址池在外部端口上# ! interface Serial0 encapsulation ppp ! exit ip route 0.0.0.0 0.0.0.0 192.168.0.254 PReference 60 ! end