0
点赞
收藏
分享

微信扫一扫

IPV6实验案例

实验环境

IPV6实验案例_静态路由

实验需求:配置ipv6地址

    配置静态路由

    配置默认路由

在接口上配置ipv6地址

iou1配置如下

IOU1(config)#ipv6 unicast-routing  

IOU1(config)#interface ethernet 0/0

IOU1(config-if)#ipv6 address 2017:1212::1/64

IOU1(config-if)#no shutdown  

IOU1(config-if)#ex

IOU1(config)#interface ethernet 0/1

IOU1(config-if)#ipv6 address 2016:1110::1/64

IOU1(config-if)#no shutdown  

IOU1(config-if)#ex

IOU1(config)#interface ethernet 0/2

IOU1(config-if)#ipv6 address 2016:1111::1/64

IOU1(config-if)#no shutdown

使用show ipv6 interface brief 查看接口ip配置

IPV6实验案例_静态路由_02

iou2配置如下

IOU2(config)#ipv6 unicast-routing  

IOU2(config)#interface ethernet 0/0

IOU2(config-if)#ipv6 address 2017:1212::2/64

IOU2(config-if)#no shutdown  

IOU2(config-if)#ex

IOU2(config)#interface ethernet 0/1

IOU2(config-if)#ipv6 address 2017:2323::2/64

IOU2(config-if)#no shutdown 

使用show ipv6 interface brief 查看接口ip配置

IPV6实验案例_静态路由_03

iou3配置如下

IOU3(config)#ipv6 unicast-routing  

IOU3(config)#interface ethernet 0/0

IOU3(config-if)#ipv6 address 2017:2323::3/64

IOU3(config-if)#no shutdown  

IOU3(config-if)#ex

IOU3(config)#interface ethernet 0/1

IOU3(config-if)#ipv6 address 2018:3333::1/64

使用show ipv6 interface brief 查看接口ip配置

IPV6实验案例_静态路由_04

iou4配置如下

IOU4(config)#ipv6 unicast-routing  

IOU4(config)#interface ethernet 0/0

IOU4(config-if)#ipv6 address 2016:1110::2/64

IOU4(config-if)#no shutdown 

iou5配置如下

IOU5(config)#ipv6 unicast-routing  

IOU5(config)#interface ethernet 0/0

IOU5(config-if)#ipv6 address 2016:1111::2/64

IOU5(config-if)#no shutdown 

iou6配置如下

IOU6(config)#ipv6 unicast-routing  

IOU6(config)#interface ethernet 0/0

IOU6(config-if)#ipv6 address 2018:3333::2/64

IOU6(config-if)#no shutdown 

配置静态路由和默认路由实现全网互通

iou1配置如下

IOU1(config)#ipv6 route 2018:3333::/64 2017:1212::2

使用show ipv6 route命令查看

IPV6实验案例_静态路由_05

iou2配置如下

IOU2(config)#ipv6 route 2016:1111::/64 2017:1212::1

IOU2(config)#ipv6 route 2016:1110::/64 2017:1212::1

IOU2(config)#ipv6 route 2018:3333::/64 2017:2323::3

使用show ipv6 route命令查看

IPV6实验案例_静态路由_06

iou3配置如下

IOU3(config)#ipv6 route ::/0 2017:2323::2

使用show ipv6 route命令查看

IPV6实验案例_静态路由_07

iou4配置如下

IOU4(config)#ipv6 route ::/0 2016:1110::1

iou5配置如下

IOU5(config)#ipv6 route ::/0 2016:1111::1

iou6配置如下

IOU6(config)#ipv6 route ::/0 2018:3333::1 

配置完成用ping ipv6命令查看

IPV6实验案例_静态路由_08

举报

相关推荐

0 条评论