
- 个人简介:云计算网络运维专业人员,了解运维知识,掌握TCP/IP协议,每天分享网络运维知识与技能。
 - 个人爱好: 编程,打篮球,计算机知识
 - 个人名言:海不辞水,故能成其大;山不辞石,故能成其高。
 - 个人主页:小李会科技的主页
 
目录
配置命令:
1.配置ip地址
在R1上:
在R2上:
在R3上:
2.启用rip
在R1上:
在R2上:
在R3上:
3.测试连通性
在c1上ping c2
4.配置ospf
在r1、r2、r3上分别执行:no ipv6 router rip test,去掉rip。
在r1上:
在R2上:
在R3上:
5.测试连通性
在c1上ping c2
 
配置命令:
1.配置ip地址
 在R1上:
 
conf t
 ipv6 unicast-routing
 int f0/0
 ipv6 add 2000::1/64
 no sh
 int f1/0
 ipv6 add 2001::1/64
 no sh
 show ipv6 int br
 在R2上:
 
ipv6 unicast-routing
 int f0/0
 ipv6 add 2001::2/64
 no sh
 int f1/0
 ipv6 add 2002::2/64
 no sh
 在R3上:
 
ipv6 unicast-routing
 int f0/0
 ipv6 add 2002::1/64
 no sh
 int f1/0
 ipv6 add 2003::1/64
 no sh
 2.启用rip
 
 在R1上:
 
ipv6 router rip test
 int f0/0
 ipv6 rip test enable
 int f1/0
 ipv6 rip test enable
 在R2上:
 
ipv6 router rip cisco
 int f0/0
 ipv6 rip cisco enable
 int f1/0
 ipv6 rip cisco enable
 在R3上:
 
ipv6 router rip huawei
 int f0/0
 ipv6 rip huawei enable
 int f1/0
 ipv6 rip huawei enable
 show ipv6 route
 3.测试连通性
 
 在c1上ping c2
 
c1和c2可以桥接windows和linux。
 例如:
 ping 2000::20c:29ff:fe02:7740,ip地址可以利用ipconfig或者ifconfig(linux)查看到。
 4.配置ospf
 
 在r1、r2、r3上分别执行:no ipv6 router rip test,去掉rip。
 
 在r1上:
 
int lo 0
 ip add 1.1.1.1 255.255.255.255
 int f0/0
 ipv6 ospf 1 area 0
 int f1/0
 ipv6 ospf 1 area 0
 在R2上:
 
int lo 0
 ip add 2.2.2.2 255.255.255.255
 int f0/0
 ipv6 ospf 1 area 0
 int f1/0
 ipv6 ospf 1 area 0
 在R3上:
 
int lo 0
 ip add 3.3.3.3 255.255.255.255
 int f0/0
 ipv6 ospf 1 area 0
 int f1/0
 ipv6 ospf 1 area 0
 show ipv6 route
 5.测试连通性  
 
  
 在c1上ping  c2
 
例如:
 ping 2000::20c:29ff:fe02:7740,ip地址可以利用ipconfig或者ifconfig(linux)查看到。



















