赛车

静态nat与标准acl 的混合使用3

2019-12-04 12:37:47来源:励志吧0次阅读

静态nat与标准acl 的混合使用3

Router(config-if)#no shut

Router(config-if)#no shutdown

Router(config-if)#int f0/1

Router(config-if)#ip nat outside

Router(config-if)#end

%SYS-5-CONFIG_I: Configured from console by console

Router#show ip nat ?

statistics    Translation statistics

translations  Translation entries

Router#show ip nat tr

Router#show ip nat translations

Pro  Inside global     Inside local       Outside local      Outside global

---  4.4.4.2           1.1.1.2            ---                ---

---  4.4.4.3           1.1.1.3            ---                ---

Router#ping 3.3.3.2

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 3.3.3.2, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 62/62/63 ms

Router#conf

Configuring from terminal, memory, or network [terminal]?

Enter configuration commands, one per line.  End with CNTL/Z.

Router(config)#acc

Router(config)#access-list ?

<1-99>     IP standard access list

<100-199>  IP extended access list

Router(config)#access-list 1 ?

deny    Specify packets to reject

permit  Specify packets to forward

分享到: