主页 > 互联网  > 

IPv6通信实验

IPv6通信实验

♥️作者:小刘在C站

♥️每天分享云计算网络运维课堂笔记,一起努力,共赴美好人生!

♥️夕阳下,是最美的,绽放。

目录

 实验命令指南

1)配置ip地址   

在r2上:

在r3上:

2)启用rip

在r1上:

在r2上:

在r3上:

3)测试连通性

4)配置ospf

在r1上:

在r2上:

在r3上:

5)测试连通性    


上期两篇文章讲述了IPv6现在来可以试一下以下实验

 实验命令指南 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)查看到。

♥️关注,就是我创作的动力

♥️点赞,就是对我最大的认可

♥️这里是小刘,励志用心做好每一篇文章,谢谢大家

标签:

IPv6通信实验由讯客互联互联网栏目发布,感谢您对讯客互联的认可,以及对我们原创作品以及文章的青睐,非常欢迎各位朋友分享到个人网站或者朋友圈,但转载请说明文章出处“IPv6通信实验