CCNP之IPv6技术-动态路由协议
2009-11-17 13:51
351 查看
接着上篇做:(/article/4133119.html)
实验平台:Cisco 3725+NM4T串口模块+GT96100-FE快速以太网模块
IOS: c3725-adventerprisek9-mz.124-9.T1.bin
实验目标:通过各种支持IPv6的动态路由协议使用整个网络能够互通
实验拓扑:如下图
R1[/b]配置:[/b][/b]
R1(config)#ipv6 unicast-routing //开启IPv6路由功能(不能少)
R1(config)#int fa0/0
R1(config-if)#ipv6 address 2000::1/16
R1(config-if)#no shut
R1(config)#int s1/0
R1(config-if)#ipv6 address 2001::1/16
R1(config-if)#no shut
---------上面为基本IP信息配置部分------------
R1(config)#ipv6 router rip bjxh //“bjxh”为任意名称
R1(config-rtr)#exit
R1(config)#int fa0/0
R1(config-if)#ipv6 rip bjxh enable //在接口上激活RIP
R1(config-if)#int s1/0
R1(config-if)#ipv6 rip bjxh enable
---------以上为支持IPV6的RIPng动态路由配置部分------------
R1(config)#no ipv6 router rip bjxh //去掉RIP协议
R1(config)#ipv6 router ospf 110 //启动OSPFv3进程号为110,各路由器可以不同
R1(config-rtr)#router-id 1.1.1.1 //必须指定RID
R1(config)#int fa0/0
R1(config-if)#ipv6 ospf 110 area 0 //将接口加入到区域0中
R1(config-if)#int s1/0
R1(config-if)#ipv6 ospf 110 area 0
---------以上为支持IPV6的OSPFv3动态路由配置部分------------
R1(config)#no ipv router ospf 110
R1(config)#ipv6 router eigrp 90 //启动EIGRP协议,自治系统号为90,各路由器要相同
R1(config-rtr)#router-id 1.1.1.1 //需要指定RID
R1(config-rtr)#no shut //一定要激活协议
R1(config-rtr)#ex
R1(config)#int fa0/0
R1(config-if)#ipv6 eigrp 90 //在接口上激活协议
R1(config-if)#int s1/0
R1(config-if)#ipv6 ei 90
---------以上为支持IPV6的EIGRP动态路由配置部分------------
R2[/b]配置[/b][/b]
R2(config)#ipv6 unicast-routing
R2(config)#int s1/0
R2(config-if)#ipv6 address 2001::2/16
R2(config-if)#no shut
R2(config)#int s1/1
R2(config-if)#ipv6 address 2002::1/16
R2(config-if)#no shut
---------以上为基本IP信息配置部分------------
R2(config)#ipv6 router rip bjxh
R2(config-rtr)#exit
R2(config)#int s1/0
R2(config-if)#ipv6 rip bjxh en
R2(config-if)#int s1/1
R2(config-if)#ipv rip bjxh en
---------以上为支持IPV6的RIPng动态路由配置部分------------
R2(config)#no ipv6 router rip bjxh
R2(config)#ipv6 router ospf 110
R2(config-rtr)#router-id 2.2.2.2
R2(config-rtr)#ex
R2(config)#int s1/0
R2(config-if)#ipv ospf 110 a 0
R2(config-if)#int s1/1
R2(config-if)#ipv os 110 a 1
---------以上为支持IPV6的OSPFv3动态路由配置部分------------
R2(config)#no ipv6 router ospf 110
R2(config)#ipv6 router eigrp 90
R2(config-rtr)#router-id 2.2.2.2
R2(config-rtr)#no shut
R2(config-rtr)#ex
R2(config)#int s1/0
R2(config-if)#ipv ei 90
R2(config-if)#int s1/1
R2(config-if)#ipv ei 90
---------以上为支持IPV6的EIGRP动态路由配置部分------------
R3[/b]配置:[/b][/b]
R3(config)#ipv6 unicast-routing
R3(config)#int s1/0
R3(config-if)#ipv add 2002::2/16
R3(config-if)#no shut
R3(config-if)#int fa0/0
R3(config-if)#ipv add 2003::1/16
R3(config-if)#no shut
---------上面为基本IP信息配置部分------------
R3(config)#ipv6 router rip bjxh
R3(config)#int fa0/0
R3(config-if)#ipv rip bjxh en
R3(config-if)#int s1/0
R3(config-if)#ipv rip bjxh en
---------以上为支持IPV6的RIP动态路由配置部分------------
R3(config)#no ipv router rip bjxh
R3(config)#ipv router os 110
R3(config-rtr)#router-id 3.3.3.3
R3(config-rtr)#ex
R3(config)#int fa0/0
R3(config-if)#ipv os 110 a 1
R3(config-if)#int s1/0
R3(config-if)#ipv os 110 a 1
---------以上为支持IPV6的OSPFv3动态路由配置部分------------
R3(config)#no ipv router ospf 110
R3(config)#ipv6 router eigrp 90
R3(config-rtr)#router-id 3.3.3.3
R3(config-rtr)#no shut
R3(config-rtr)#ex
R3(config)#int fa0/0
R3(config-if)#ipv ei 90
R3(config-if)#int s1/0
R3(config-if)#ipv ei 90
---------以上为支持IPV6的EIGRP动态路由配置部分------------
R3#show ipv rou
IPv6 Routing Table - 8 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
D - EIGRP, EX - EIGRP external
R 2000::/16 [120/3]
via FE80::C000:13FF:FE2C:0, Serial1/0
R 2001::/16 [120/2]
via FE80::C000:13FF:FE2C:0, Serial1/0
---------部分省略-----------
R3#show ipv route
IPv6 Routing Table - 8 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
D - EIGRP, EX - EIGRP external
OI 2000::/16 [110/138]
via FE80::C000:13FF:FE2C:0, Serial1/0
OI 2001::/16 [110/128]
via FE80::C000:13FF:FE2C:0, Serial1/0
---------部分省略-----------
R3#show ipv rou
IPv6 Routing Table - 8 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
D - EIGRP, EX - EIGRP external
D 2000::/16 [90/2707456]
via FE80::C000:13FF:FE2C:0, Serial1/0
D 2001::/16 [90/2681856]
via FE80::C000:13FF:FE2C:0, Serial1/0
---------部分省略-----------
R3#p 2000::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2000::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 44/88/192 ms
这只是这三种路由协议的最基本配置,还有很多性能调优性的配置这里没有列出[/b][/b]
以及支持[/b]Ipv6[/b]的[/b]IS-IS[/b]协议以及[/b]BGP[/b]协议会在后续的博文中写出。[/b][/b]
本文出自 “阳光学苑” 博客,请务必保留此出处http://yuan2.blog.51cto.com/446689/228708
实验平台:Cisco 3725+NM4T串口模块+GT96100-FE快速以太网模块
IOS: c3725-adventerprisek9-mz.124-9.T1.bin
实验目标:通过各种支持IPv6的动态路由协议使用整个网络能够互通
实验拓扑:如下图
R1[/b]配置:[/b][/b]
R1(config)#ipv6 unicast-routing //开启IPv6路由功能(不能少)
R1(config)#int fa0/0
R1(config-if)#ipv6 address 2000::1/16
R1(config-if)#no shut
R1(config)#int s1/0
R1(config-if)#ipv6 address 2001::1/16
R1(config-if)#no shut
---------上面为基本IP信息配置部分------------
R1(config)#ipv6 router rip bjxh //“bjxh”为任意名称
R1(config-rtr)#exit
R1(config)#int fa0/0
R1(config-if)#ipv6 rip bjxh enable //在接口上激活RIP
R1(config-if)#int s1/0
R1(config-if)#ipv6 rip bjxh enable
---------以上为支持IPV6的RIPng动态路由配置部分------------
R1(config)#no ipv6 router rip bjxh //去掉RIP协议
R1(config)#ipv6 router ospf 110 //启动OSPFv3进程号为110,各路由器可以不同
R1(config-rtr)#router-id 1.1.1.1 //必须指定RID
R1(config)#int fa0/0
R1(config-if)#ipv6 ospf 110 area 0 //将接口加入到区域0中
R1(config-if)#int s1/0
R1(config-if)#ipv6 ospf 110 area 0
---------以上为支持IPV6的OSPFv3动态路由配置部分------------
R1(config)#no ipv router ospf 110
R1(config)#ipv6 router eigrp 90 //启动EIGRP协议,自治系统号为90,各路由器要相同
R1(config-rtr)#router-id 1.1.1.1 //需要指定RID
R1(config-rtr)#no shut //一定要激活协议
R1(config-rtr)#ex
R1(config)#int fa0/0
R1(config-if)#ipv6 eigrp 90 //在接口上激活协议
R1(config-if)#int s1/0
R1(config-if)#ipv6 ei 90
---------以上为支持IPV6的EIGRP动态路由配置部分------------
R2[/b]配置[/b][/b]
R2(config)#ipv6 unicast-routing
R2(config)#int s1/0
R2(config-if)#ipv6 address 2001::2/16
R2(config-if)#no shut
R2(config)#int s1/1
R2(config-if)#ipv6 address 2002::1/16
R2(config-if)#no shut
---------以上为基本IP信息配置部分------------
R2(config)#ipv6 router rip bjxh
R2(config-rtr)#exit
R2(config)#int s1/0
R2(config-if)#ipv6 rip bjxh en
R2(config-if)#int s1/1
R2(config-if)#ipv rip bjxh en
---------以上为支持IPV6的RIPng动态路由配置部分------------
R2(config)#no ipv6 router rip bjxh
R2(config)#ipv6 router ospf 110
R2(config-rtr)#router-id 2.2.2.2
R2(config-rtr)#ex
R2(config)#int s1/0
R2(config-if)#ipv ospf 110 a 0
R2(config-if)#int s1/1
R2(config-if)#ipv os 110 a 1
---------以上为支持IPV6的OSPFv3动态路由配置部分------------
R2(config)#no ipv6 router ospf 110
R2(config)#ipv6 router eigrp 90
R2(config-rtr)#router-id 2.2.2.2
R2(config-rtr)#no shut
R2(config-rtr)#ex
R2(config)#int s1/0
R2(config-if)#ipv ei 90
R2(config-if)#int s1/1
R2(config-if)#ipv ei 90
---------以上为支持IPV6的EIGRP动态路由配置部分------------
R3[/b]配置:[/b][/b]
R3(config)#ipv6 unicast-routing
R3(config)#int s1/0
R3(config-if)#ipv add 2002::2/16
R3(config-if)#no shut
R3(config-if)#int fa0/0
R3(config-if)#ipv add 2003::1/16
R3(config-if)#no shut
---------上面为基本IP信息配置部分------------
R3(config)#ipv6 router rip bjxh
R3(config)#int fa0/0
R3(config-if)#ipv rip bjxh en
R3(config-if)#int s1/0
R3(config-if)#ipv rip bjxh en
---------以上为支持IPV6的RIP动态路由配置部分------------
R3(config)#no ipv router rip bjxh
R3(config)#ipv router os 110
R3(config-rtr)#router-id 3.3.3.3
R3(config-rtr)#ex
R3(config)#int fa0/0
R3(config-if)#ipv os 110 a 1
R3(config-if)#int s1/0
R3(config-if)#ipv os 110 a 1
---------以上为支持IPV6的OSPFv3动态路由配置部分------------
R3(config)#no ipv router ospf 110
R3(config)#ipv6 router eigrp 90
R3(config-rtr)#router-id 3.3.3.3
R3(config-rtr)#no shut
R3(config-rtr)#ex
R3(config)#int fa0/0
R3(config-if)#ipv ei 90
R3(config-if)#int s1/0
R3(config-if)#ipv ei 90
---------以上为支持IPV6的EIGRP动态路由配置部分------------
R3#show ipv rou
IPv6 Routing Table - 8 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
D - EIGRP, EX - EIGRP external
R 2000::/16 [120/3]
via FE80::C000:13FF:FE2C:0, Serial1/0
R 2001::/16 [120/2]
via FE80::C000:13FF:FE2C:0, Serial1/0
---------部分省略-----------
R3#show ipv route
IPv6 Routing Table - 8 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
D - EIGRP, EX - EIGRP external
OI 2000::/16 [110/138]
via FE80::C000:13FF:FE2C:0, Serial1/0
OI 2001::/16 [110/128]
via FE80::C000:13FF:FE2C:0, Serial1/0
---------部分省略-----------
R3#show ipv rou
IPv6 Routing Table - 8 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
D - EIGRP, EX - EIGRP external
D 2000::/16 [90/2707456]
via FE80::C000:13FF:FE2C:0, Serial1/0
D 2001::/16 [90/2681856]
via FE80::C000:13FF:FE2C:0, Serial1/0
---------部分省略-----------
R3#p 2000::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2000::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 44/88/192 ms
这只是这三种路由协议的最基本配置,还有很多性能调优性的配置这里没有列出[/b][/b]
以及支持[/b]Ipv6[/b]的[/b]IS-IS[/b]协议以及[/b]BGP[/b]协议会在后续的博文中写出。[/b][/b]
本文出自 “阳光学苑” 博客,请务必保留此出处http://yuan2.blog.51cto.com/446689/228708
相关文章推荐
- CCNP之IPv6技术-过渡技术(NAT-PT)
- CCNP之IPv6技术-过渡技术(隧道、双协议栈)
- CCNP之IPv6技术-过渡技术(隧道、双协议栈)
- CCNP之IPv6技术-静态路由
- CCNP之IPv6技术-过渡技术(NAT-PT)
- 第11章 拾遗5:IPv6和IPv4共存技术(1)_双栈技术和6to4隧道技术
- IPv6隧道及NAT-PT技术讲解
- 统一的IPv4/IPv6翻译与封装过渡技术——IVI/MAP-T/MAP-E
- IPv6任播技术及其任播地址解析协议概述
- IPv4到IPv6的过渡技术
- IPv6的邻居发现技术
- CCNP-WLAN技术
- 统一的IPv4/IPv6翻译与封装过渡技术——IVI/MAP-T/MAP-E
- IPv6技术与应用
- IPv6路由协议对于IPv4在技术上的改进
- IPv4 IPv6共存技术-----NAT-PT
- 基于流过滤技术的IPv6防火墙设计与分析
- NAT-PT技术在IPv4和IPv6互联中的实现