注册 | 登录 忘记密码? 51cto首页 | 博客 | 论坛 | 招聘
热点文章 网工人才缺口大 传统网管..
 帮助

在路由器上使用IPV6(上)--在NBMA中使用IPV6


2007-02-08 22:05:42
版权声明:原创作品,谢绝转载!否则将追究法律责任。
R1, R2, R3的S2/0端口通过FRAME-RELAY交换机连接。
R1
conf t
ipv6 unicast-routing
int l0
ipv6 address fec0:0:0:1::1/64
exit
int s2/0
ipv6 address fec0:0:0:123::1/64
encap frame
no arp frame
no frame inver
frame map ipv6 fec0:0:0:123::2 102 b
frame map ipv6 fec0:0:0:123::3 103 b
no shut
end
R2
conf t
ipv6 unicast-routing
int l0
ipv6 address fec0:0:0:2::2/64
int s2/0
ipv6 address fec0:0:0:123::2/64
encap frame
no arp f
no frame inver
frame map ipv6 fec0:0:0:123::1 201 b
frame map ipv6 fec0:0:0:123::3 201 b
no shut
end
R3
conf t
ipv6 unicast-routing
int l 0
ipv6 address fec0:0:0:3::3/64
int s2/0
ipv6 address fec0:0:0:123::3/64
encap frame
no arp f
no frame inver
frame map ipv6 fec0:0:0:123::1 301 b
frame map ipv6 fec0:0:0:123::2 301 b
no shut
end
R1#sh ipv6 int s 2/0 | include link-local
  IPv6 is enabled, link-local address is FE80::C800:8FF:FE90:0
R2#sh ipv6 int s 2/0 | include link-local
  IPv6 is enabled, link-local address is FE80::C800:DFF:FE44:0
R3#sh ipv6 int s 2/0 | include link-local
  IPv6 is enabled, link-local address is FE80::C800:AFF:FE80:0
R1
conf t
int s 2//0
frame-relay map ipv6 FE80::C800:AFF:FE80:0 103 broadcast
frame-relay map ipv6 FE80::C800:DFF:FE44:0 102 broadcast
R2
conf t
int s 2/0
frame-relay map ipv6 FE80::C800:AFF:FE80:0 201 broadcast
frame-relay map ipv6 FE80::C800:8FF:FE90:0 201 broadcast
R3
conf t
int s 2/0
frame-relay map ipv6 FE80::C800:DFF:FE44:0 301 broadcast
frame-relay map ipv6 FE80::C800:8FF:FE90:0 301 broadcast
校验
R1#sh frame map
Serial2/0 (up): ipv6 FE80::C800:AFF:FE80:0 dlci 103(0x67,0x1870), static,
              broadcast,
              CISCO, status defined, active
Serial2/0 (up): ipv6 FE80::C800:DFF:FE44:0 dlci 102(0x66,0x1860), static,
              broadcast,
              CISCO, status defined, active
Serial2/0 (up): ipv6 FEC0:0:0:123::2 dlci 102(0x66,0x1860), static,
              broadcast,
              CISCO, status defined, active
Serial2/0 (up): ipv6 FEC0:0:0:123::3 dlci 103(0x67,0x1870), static,
              broadcast,
              CISCO, status defined, active
R2#sh frame map
Serial2/0 (up): ipv6 FE80::C800:AFF:FE80:0 dlci 201(0xC9,0x3090), static,
              broadcast,
              CISCO, status defined, active
Serial2/0 (up): ipv6 FE80::C800:8FF:FE90:0 dlci 201(0xC9,0x3090), static,
              broadcast,
              CISCO, status defined, active
Serial2/0 (up): ipv6 FEC0:0:0:123::1 dlci 201(0xC9,0x3090), static,
              broadcast,
              CISCO, status defined, active
Serial2/0 (up): ipv6 FEC0:0:0:123::3 dlci 201(0xC9,0x3090), static,
              broadcast,
              CISCO, status defined, active
R3#sh frame map
Serial2/0 (up): ipv6 FE80::C800:DFF:FE44:0 dlci 301(0x12D,0x48D0), static,
              broadcast,
              CISCO, status defined, active
Serial2/0 (up): ipv6 FE80::C800:8FF:FE90:0 dlci 301(0x12D,0x48D0), static,
              broadcast,
              CISCO, status defined, active
Serial2/0 (up): ipv6 FEC0:0:0:123::1 dlci 301(0x12D,0x48D0), static,
              broadcast,
              CISCO, status defined, active
Serial2/0 (up): ipv6 FEC0:0:0:123::2 dlci 301(0x12D,0x48D0), static,
              broadcast,
              CISCO, status defined, active
R1#ping fec0:0:0:123::2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0:0:0:123::2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/44/68 ms
R1#ping fec0:0:0:123::3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0:0:0:123::3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/41/108 ms
R2#ping fec0:0:0:123::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0:0:0:123::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/62/160 ms
R2#ping fec0:0:0:123::3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0:0:0:123::3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 24/67/120 ms
R3#ping fec0:0:0:123::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0:0:0:123::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/48/108 ms
R3#ping fec0:0:0:123::2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0:0:0:123::2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/47/140 ms

本文出自 “穿过地狱去看海” 博客,谢绝转载!





    文章评论
 
2007-02-08 22:20:16
支持 一下 .学习一下

2007-03-01 01:34:40
IPV6好难,,,

 

发表评论

昵   称:
验证码:  点击图片可刷新验证码  博客过2级,无需填写验证码
内   容: