实验名称:ipv6的练习

实验目的:在ipv6网络下分别配置静态路由,rip协议,OSPF协议

实验环境:cisco模拟器

实验拓扑:

实验1、在网络下使用ipv6地址配置静态路由,使网络互通

实验配置:

R1

那个64是指的的网络位数为64位

R2:

R3:

配置完成:

测试:

实验2、

实验目的:在网络中使用ipv6地址,配置rip协议,使网络互通

实验配置:、

R1:

R2

R3

测试:

代码如下:

R1:

enable

config t

hostname R1

ipv6 unicast-routing

ipv6 router rip xiaoxiao

exit

int s1/1

ipv6 add 2012::0001/64

ipv6 rip xiaoxiao enable

no shutdown

end

r2

enable

config t

hostname R2

ipv6 unicast-routing

ipv6 router rip xiaoxiao

exit

int s1/0

ipv6 add 2012::0002/64

clock rate 56000

ipv6 rip xiaoxiao enable

no shut

int s1/1

ipv6 add 2023::0002/64

ipv6 rip xiaoxiao enable

clock rate 56000

no shut

end

r3

enable

config t

hostname R3

ipv6 unicast-routing

ipv6 router rip xiaoxiao

exit

int s1/0

ipv6 add 2023::0003/64

ipv6 rip xiaoxiao enable

no shut

end

实验三

在网络下运行ipv6地址和OSPF协议,使网络互通

实验拓扑:

配置步骤如下:、

R1

R2

R3

测试:

用ping命令

实验代码如下:

R1:

enable

config t

hostname R1

ipv6 unicast-routing

ipv6 router ospf 100

router-id 1.1.1.1

exit

int lo1

ipv6 add 2001::0002/64

ipv6 ospf 100 area 0

no shutdown

int s1/1

ipv6 add 2012::0001/64

ipv6 ospf 100 area 0

no shutdown

end

R2:

enable

config t

hostname R2

ipv6 unicast-routing

ipv6 router ospf 100

router-id 2.2.2.2

exit

int s1/0

clock rate 56000

ipv6 add 2012::0002/64

ipv6 ospf 100 area 0

no shutdown

int s1/1

clock rate 56000

ipv6 add 2023::0001/64

ipv6 ospf 100 area 1

no shutdown

end

R3:

enable

config t

hostname R3

ipv6 unicast-routing

ipv6 router ospf 100

router-id 3.3.3.3

exit

int s1/0

ipv6 add 2023::0002/64

ipv6 ospf 100 area 1

no shutdown

int lo3

ipv6 add 2003::0003/64

ipv6 ospf 100 area 1

no shutdown

end