1.先给每个接口配IP
2.在R2和R1上写两条缺省 ip route-static 0.0.0.0 0 192.168.4.1
ip route-static 0.0.0.0 0 192.168.3.2
3.在R1上做telnet telnet server enable
user-interface vty 0 4
authentication-mode none
3.在R2上写两条NAT指令 acl basic 2000
rule permit source 192.168.0.0 0.0.255.255
int g0/2
nat outbound 2000
nat server protocol tcp global current-interface 23 inside 192.168.4.10 23
4.实验完成