Chinaunix首页 | 论坛 | 博客
  • 博客访问: 791044
  • 博文数量: 102
  • 博客积分: 10011
  • 博客等级: 上将
  • 技术积分: 2301
  • 用 户 组: 普通用户
  • 注册时间: 2006-10-08 13:00
文章存档

2011年(2)

2010年(30)

2009年(25)

2008年(45)

我的朋友

分类: 系统运维

2010-11-15 10:18:13

IPv6已经给大家介绍很多了,下面来说明下,如何在网络中配置IPv6.(文中的配置是使用Cisco 的路由器为例)
1 配置IPv6地址
1.1 激活Ipv6功能
默认情况下,Cisco设备的IPv6流量转发功能是关闭的,需要使用IPv6,必须先开启IPv6流量转发功能。
R1(config)#ipv6 unicast-routing
1.2 配置IPv6地址
interface fa0/0
ipv6 address 2011:1:2:3:1:1:1:1/64
show ipv6 interface brief fa0/0
2 使用EUI-64格式配置地址
R1(config)#interface fa1/0
R1(config-if)#ipv6 address 2022:2:2:22::/64 eui-64
R#show interfaces fa1/0
3 仅启用IPv6功能
interface s1/0
ipv6 enalbe
show ipv6 interface brief s1/0
4 配置无编号地址
interface s1/1
ipv6 unnumbered fa0/0

5 配置静态路由
5.1 Directly Attached Static Routes
ipv6 route 2011:2:2:22::/64 s1/1
5.2 Recursive Static Routes
ipv6 route 2022:2:2:22::/64 2012:1:1:11::2
5.3 Fully Specified Static Routes
ipv6 route 2022:2:2:22::/64 fa0/0 2012:1:1:11::2

推荐使用5.2

5.4 静态路由配置试验
loop0(2011:1:1:11::1/64)--R1--(Fa0/0)---------Fa0/0---R2--Loopback0(2022:2:2:22::2/64)
5.4.1 R1的初始化配置
ipv6 unicast-routing
interface fa0/0
ipv6 address 2012:1:1:11::1/64
interface loopback0
ipv6 address 2011:1:1:11::1/64
5.4.2 R2的初始化配置
interface unicast-routing
interface fa0/0
ipv6 address 2012:1:1:11::2/64
interface loopback0
ipv6 address 2022:2:2:22::2/64
5.4.3 R1上配置静态路由信息
ipv6 route 2022:2:2:22::/64 2012:1:1:11::2
show ipv6 route static
5.4.4 R2上配置静态路由信息
ipv6 route 2011:1:1:11::/64 fa0/0 2012:1:1:11::1
show ipv6 route static




阅读(826) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2010-11-15 15:10:58

很好的, 收藏了 推荐一个博客,提供很多免费软件编程电子书下载: http://free-ebooks.appspot.com