- 积分
- 578
- 鸿鹄币
- 个
- 好评度
- 点
- 精华
- 最后登录
- 1970-1-1
- 阅读权限
- 40
- 听众
- 收听
中级工程师
   
|
本帖最后由 sdwchow 于 2012-2-26 19:24 编辑
拓扑:
R1配置:
R1>enable
R1#configure terminal
R1(config)# no ip domain-lookup
R1(config)#line console 0
R1(config-line)#logging synchronous
R1(config-line)# exec-t 0 0
R1(config-line)#exit
R1(config)#ipv6 unicast-routing
R1(config)#int lo 0
R1(config-if)#ipv6 add 2006:AAAA::1/64
R1(config-if)#int lo 1
R1(config-if)#ipv6 add 2006:BBBB::1/64
R1(config-if)#int s0/0
R1(config-if)#ipv6 add 2007:CCCC::1/64
R1(config-if)#no sh
R1(config-if)#exi
R1(config)#ipv6 route 2008: DDDD::/64 s0/0
R2配置:
R2>enable
R2#configure terminal
R2(config)# no ip domain-lookup
R2(config)#line console 0
R2(config-line)#logging synchronous
R2(config-line)# exec-t 0 0
R2(config-line)#exit
R2(config)#ipv6 unicast-routing
R2(config)#int lo 0
R2(config-if)#ipv6 add 2008: DDDD::2/64
R2(config-if)#exi
R2(config)#int s0/0
R2(config-if)#ipv6 add 2007:CCCC::2/64
R2(config-if)#clock rate 128000
R2(config-if)#no sh
R2(config-if)#ipv6 route ::/0 s0/0
互ping不通
R2#ping ipv6 2007:AAAA::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2007:AAAA::1, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
检查是R1 中没有2007:AAAA::/64的路由
R1#sh ipv6 rou
IPv6 Routing Table - 6 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
U - Per-user Static route
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
C 2006:AAAA::/64 [0/0]
via ::, Loopback0
L 2006:AAAA::1/128 [0/0]
via ::, Loopback0
C 2006:BBBB::/64 [0/0]
via ::, Loopback1
L 2006:BBBB::1/128 [0/0]
via ::, Loopback1
L FE80::/10 [0/0]
via ::, Null0
L FF00::/8 [0/0]
via ::, Null0
然后 在另一个机子上试了还是不可以,不知道什么原因,有哪位大侠知道么,回答一下谢谢
另:在PT上配置却是可以通的 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?论坛注册
x
|