Cloud 5 在我的 PC 上配置了一个环回适配器,ip 为 10.84.104.254。R1 F0/1:10.84.104.1
我可以从外部 ping R1 F0/1,也可以 ping 并执行从 R1 F0/0 到内部网络的所有功能。但是当我尝试从外部 ping R2 F0/0 (192.168.12.2) 时,它无法访问。
我猜路由器 R1 上的 fastethernet 端口 f0/0 和 f0/1 之间没有发生通信。
请建议:
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is 10.84.104.254 to network 0.0.0.0
C 192.168.12.0/24 is directly connected, FastEthernet0/0
192.168.14.0/32 is subnetted, 1 subnets
O 192.168.14.5 [110/41] via 192.168.12.2, 00:12:56, FastEthernet0/0
O 192.168.45.0/24 [110/40] via 192.168.12.2, 00:12:56, FastEthernet0/0
O 192.168.24.0/24 [110/11121] via 192.168.12.2, 00:12:56, FastEthernet0/0
10.0.0.0/24 is subnetted, 1 subnets
C 10.84.104.0 is directly connected, FastEthernet0/1
O 192.168.23.0/24 [110/20] via 192.168.12.2, 00:12:57, FastEthernet0/0
O 192.168.34.0/24 [110/30] via 192.168.12.2, 00:12:57, FastEthernet0/0
S* 0.0.0.0/0 [1/0] via 10.84.104.254
路由器配置:
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 multicast-routing
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
ip tcp synwait-time 5
!
!
!
!
!
interface FastEthernet0/0
ip address 192.168.12.1 255.255.255.0
ip pim dense-mode
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 10.84.104.1 255.255.255.0
ip pim sparse-mode
duplex auto
speed auto
!
interface Serial1/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
router ospf 1
log-adjacency-changes
network 0.0.0.0 255.255.255.255 area 0
default-information originate
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 10.84.104.254
!
!
no ip http server
no ip http secure-server
!
no cdp log mismatch duplex
!
!
!
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
第二个路由器:
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 multicast-routing
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
ip tcp synwait-time 5
!
!
!
!
!
interface Tunnel0
ip address 192.168.24.2 255.255.255.0
ip pim dense-mode
tunnel source FastEthernet0/1
tunnel destination 192.168.34.4
!
interface FastEthernet0/0
ip address 192.168.12.2 255.255.255.0
ip pim dense-mode
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.23.2 255.255.255.0
ip pim dense-mode
duplex auto
speed auto
!
interface Serial1/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
router ospf 1
log-adjacency-changes
passive-interface Tunnel0
network 0.0.0.0 255.255.255.255 area 0
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
no cdp log mismatch duplex
!
!
!
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