我做了很多次实验,都不行,大家知道是为什么啊?
R1#show running-config
Building configuration...
Current configuration : 1052 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
no ip icmp rate-limit unreachable
!
!
ip cef
no ip domain lookup
!
!
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
ip tcp synwait-time 5
!
!
!
!
!
interface Ethernet0/0
ip address 10.157.120.113 255.255.255.252
half-duplex
!
interface Ethernet0/1
ip address 192.168.100.254 255.255.255.0
half-duplex
!
interface Ethernet0/2
no ip address
shutdown
half-duplex
!
interface Ethernet0/3
no ip address
shutdown
half-duplex
!
router eigrp 100
network 10.0.0.0
network 192.168.100.0
auto-summary
!
no ip http server
no ip http secure-server
!
ip forward-protocol nd
!
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
line vty 0 4
login
!
!
end
R1#
R2#show running-config
Building configuration...
Current configuration : 1132 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
no ip icmp rate-limit unreachable
!
!
ip cef
no ip domain lookup
!
!
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
ip tcp synwait-time 5
!
!
!
!
!
interface Loopback0
ip address 120.65.249.120 255.255.255.0
!
interface Ethernet0/0
ip address 10.157.120.114 255.255.255.252
half-duplex
!
interface Ethernet0/1
ip address 192.168.20.254 255.255.255.0
half-duplex
!
interface Ethernet0/2
no ip address
shutdown
half-duplex
!
interface Ethernet0/3
no ip address
shutdown
half-duplex
!
router eigrp 100
network 10.0.0.0
network 120.0.0.0
network 192.168.20.0
auto-summary
!
no ip http server
no ip http secure-server
!
ip forward-protocol nd
!
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
line vty 0 4
login
!
!
end
R2#
测试:
R1 ping 通C1:
C:\Documents and Settings\Administrator>ping 192.168.100.254
Pinging 192.168.100.254 with 32 bytes of data:
Reply from 192.168.100.254: bytes=32 time=59ms TTL=255
Reply from 192.168.100.254: bytes=32 time=25ms TTL=255
Reply from 192.168.100.254: bytes=32 time=30ms TTL=255
Reply from 192.168.100.254: bytes=32 time=31ms TTL=255
Ping statistics for 192.168.100.254:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 25ms, Maximum = 59ms, Average = 36ms
C:\Documents and Settings\Administrator>
R2 ping 通C2:
C:\Documents and Settings\Administrator>ping 192.168.20.254
Pinging 192.168.20.254 with 32 bytes of data:
Reply from 192.168.20.254: bytes=32 time=52ms TTL=255
Reply from 192.168.20.254: bytes=32 time=8ms TTL=255
Reply from 192.168.20.254: bytes=32 time=14ms TTL=255
Reply from 192.168.20.254: bytes=32 time=24ms TTL=255
Ping statistics for 192.168.20.254:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 8ms, Maximum = 52ms, Average = 24ms
C:\Documents and Settings\Administrator>
C1 Ping不通R2的回环地址:
C:\Documents and Settings\Administrator>ping 120.65.249.120
Pinging 120.65.249.120 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 120.65.249.120:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
C:\Documents and Settings\Administrator>
R1可以ping通R2的回环地址:
R1#ping 120.65.249.120
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 120.65.249.120, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/41/84 ms
R1#
问题:为什么C1无法ping通C2,R1可以ping通R2的回环地址,而无法ping通C2?
是网卡不兼容还是什么问题啊?
|