想知道ipv6静态路由默认路由无效,只能平直接连接的接口,但是sh run命令将我创建的静态路由提供给其他网络,但是在sh run输出中,我看到了我为获得全局单播地址而创建的自动配置静态路由,在下一行我看到了我为到达远程网络而创建的静态路由,有什么想法吗?我看不出远程网络有任何成功的ping。
我给出了更多的信息,routerA,routerB,routerC,通过以太网连接的三个路由器。中间路由器B手动配置它的ipv6地址,另外两条路由通过ipv6地址自动配置命令接收全局单播地址
这是路由器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路由器C的SH运行输出
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路由器A路由表
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有静态路线是定义的,为什么它没有敲击!
中间路由器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不跳?
谢谢您的支持,我为直接连接的接口禁用了一条静态路由,但它仍然只是直接连接的邻居,当我尝试从路由器C到路由器b时,甚至不点击路由器B的远程出口接口到路由器A,这里我提供了配置更改后路由器C的sh run输出
Building configuration...
Current configuration : 588 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:1::/64 FastEthernet0/0
!
!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发布于 2015-04-11 12:15:01
如果我正确地解释了配置,您就不会告诉路由器A或路由器C,它们应该使用路由器B到达相应的其他网络(via 2001:DB6:3C4D:1::1,resp )。via 2001:DB6:3C4D:2::1而不是via ::)。实际上,您在各自的本地链接上配置了A和C两个网络2001:DB6:3C4D:1::/64和2001:DB6:3C4D:2::/64。
https://serverfault.com/questions/681957
复制相似问题