扫一扫
分享文章到微信
扫一扫
关注官方公众号
至顶头条
2514#sh run
Building configuration...
Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname 2514
!
enable password cisco
!
ip subnet-zero
!
!
process-max-time 200
!
interface Ethernet0
ip address 203.93.188.51 255.255.255.224
no ip directed-broadcast
ip nat outside
no ip mroute-cache
!
interface Ethernet1
ip address 10.10.10.1 255.255.255.0
no ip directed-broadcast
ip nat inside
no ip mroute-cache
!
interface Serial0
no ip address
no ip directed-broadcast
no ip mroute-cache
shutdown
!
interface Serial1
no ip address
no ip directed-broadcast
no ip mroute-cache
shutdown
!
ip nat pool test 203.93.188.51 203.93.188.51 netmask 255.255.255.255
ip nat inside source list 1 pool test overload
ip classless
ip route 0.0.0.0 0.0.0.0 Ethernet 0
access-list 1 permit 10.10.10.0 0.0.0.255
!
line con 0
transport input none
line aux 0
line vty 0 4
password cisco
login
!
end
2514#ping
Protocol [ip]:
Target IP address: 203.93.188.51
Repeat count [5]:
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]: y
Source address or interface: 10.10.10.10
Type of service [0]:
Set DF bit in IP header? [no]:
Validate reply data? [no]:
Data pattern [0xABCD]:
Loose, Strict, Record, Timestamp, Verbose[none]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 203.93.188.51, timeout is 2 seconds:
00:20:06: NAT: o: icmp (10.10.10.1, 3472) -> (203.93.188.51, 3472) [5]
00:20:06: NAT: i: icmp (10.10.10.1, 3472) -> (203.93.188.51, 3472) [5]
00:20:06: NAT: address not stolen for 10.10.10.1, proto 1 port 3472
00:20:06: NAT: failed to allocate address for 10.10.10.1, list/map 1.
00:20:08: NAT: o: icmp (10.10.10.1, 3473) -> (203.93.188.51, 3473) [6]
00:20:08: NAT: i: icmp (10.10.10.1, 3473) -> (203.93.188.51, 3473) [6]
00:20:08: NAT: address not stolen for 10.10.10.1, proto 1 port 3473
00:20:08: NAT: failed to allocate address for 10.10.10.1, list/map 1.
00:20:10: NAT: o: icmp (10.10.10.1, 3474) -> (203.93.188.51, 3474) [7]
00:20:10: NAT: i: icmp (10.10.10.1, 3474) -> (203.93.188.51, 3474) [7]
00:20:10: NAT: address not stolen for 10.10.10.1, proto 1 port 3474
00:20:10: NAT: failed to allocate address for 10.10.10.1, list/map 1.
00:20:12: NAT: o: icmp (10.10.10.1, 3475) -> (203.93.188.51, 3475) [8]
00:20:12: NAT: i: icmp (10.10.10.1, 3475) -> (203.93.188.51, 3475) [8]
00:20:12: NAT: address not stolen for 10.10.10.1, proto 1 port 3475
00:20:12: NAT: failed to allocate address for 10.10.10.1, list/map 1.
00:20:14: NAT: o: icmp (10.10.10.1, 3476) -> (203.93.188.51, 3476) [9]
00:20:14: NAT: i: icmp (10.10.10.1, 3476) -> (203.93.188.51, 3476) [9]
00:20:14: NAT: address not stolen for 10.10.10.1, proto 1 port 3476
00:20:14: NAT: failed to allocate address for 10.10.10.1, list/map 1.
Success rate is 0 percent (0/5)
2514#
大家看看我这个配置有什么问题。
我在终端配了10。10。10。10
PING 203.93.188.51
总是不行。
如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。