连续3台路由器,routerA,routerB,routerC,通过fastethernet连接。中间路由器B手动配置了ipv6地址,其他两条路由通过ipv6 address autoconfig命令接收全球单播地址
这是路由器A的“Sh run”输出
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
!
!
!
ipv6 unicast-routing
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
ipv6 address autoconfig
ipv6 enable
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Vlan1
no ip address
shutdown
!
ip classless
!
ipv6 route 2001:DB6:3C4D:1::/64 FastEthernet0/0 FE80::200:CFF:FE4A:AC01
ipv6 route 2001:DB6:3C4D:2::/64 FastEthernet0/0
THE SH RUN OUTPUT OF ROUTER C
Building configuration...
Current configuration : 660 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
!
!
!
ipv6 unicast-routing
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
ipv6 address autoconfig
ipv6 enable
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Vlan1
no ip address
shutdown
!
ip classless
!
ipv6 route 2001:DB6:3C4D:2::/64 FastEthernet0/0 FE80::200:CFF:FE4A:AC02
ipv6 route 2001:DB6:3C4D:1::/64 FastEthernet0/0
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
为什么两者都没有ping!我在那里为
定义了ipv6静态路由Router A routing table
Router#sh ipv6 route
IPv6 Routing Table - 4 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
U - Per-user Static route, M - MIPv6
I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
D - EIGRP, EX - EIGRP external
C 2001:DB6:3C4D:1::/64 [0/0]
via ::, FastEthernet0/0
L 2001:DB6:3C4D:1:260:5CFF:FEA8:3A01/128 [0/0]
via ::, FastEthernet0/0
S 2001:DB6:3C4D:2::/64 [1/0]
via ::, FastEthernet0/0
L FF00::/8 [0/0]
via ::, Null0
Router#
路由器C路由表
Router#sh ipv6 route
IPv6 Routing Table - 4 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
U - Per-user Static route, M - MIPv6
I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
D - EIGRP, EX - EIGRP external
S 2001:DB6:3C4D:1::/64 [1/0]
via ::, FastEthernet0/0
C 2001:DB6:3C4D:2::/64 [0/0]
via ::, FastEthernet0/0
L 2001:DB6:3C4D:2:290:CFF:FE49:7601/128 [0/0]
via ::, FastEthernet0/0
L FF00::/8 [0/0]
via ::, Null0
定义了静态路由以及它为什么不ping?
中间路由器B配置
Router#sh run
Building configuration..
Current configuration : 590 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
!
!
!
ipv6 unicast-routing
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
ipv6 address 2001:DB6:3C4D:1::1/64
ipv6 enable
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
ipv6 address 2001:DB6:3C4D:2::1/64
ipv6 enable
!
interface Vlan1
no ip address
shutdown
!
ip classless
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
为什么路由器A和C没有ping?