IPv6简单配置

 

 AR1配置

复制代码
interface GigabitEthernet0/0/0
 ipv6 enable 
 ipv6 address 2001::1/64 
#
interface GigabitEthernet0/0/1
 ipv6 enable 
 ipv6 address 2003::1/64 
ipv6 route-static :: 0 2001::2 #默认路由
复制代码

AR2配置

复制代码
interface GigabitEthernet0/0/0
 ipv6 enable 
 ipv6 address 2001::2/64 
#
interface GigabitEthernet0/0/1
 ipv6 enable 
 ipv6 address 2002::2/64 
ipv6 route-static :: 0 2001::1   #默认路由。

复制代码

PC1和PC2

 

 

复制代码
PC>ipconfig

Link local IPv6 address...........: fe80::5689:98ff:feb1:3da2
IPv6 address......................: 2003::2 / 64
IPv6 gateway......................: 2003::1
IPv4 address......................: 0.0.0.0
Subnet mask.......................: 0.0.0.0
Gateway...........................: 0.0.0.0
Physical address..................: 54-89-98-B1-3D-A2
DNS server........................:
PC>ipconfig

Link local IPv6 address...........: fe80::5689:98ff:fe93:3f95
IPv6 address......................: 2002::10 / 64
IPv6 gateway......................: 2002::2
IPv4 address......................: 0.0.0.0
Subnet mask.......................: 0.0.0.0
Gateway...........................: 0.0.0.0
Physical address..................: 54-89-98-93-3F-95
DNS server........................:
复制代码
复制代码
PC>ping 2001::2

Ping 2001::2: 32 data bytes, Press Ctrl_C to break
From 2001::2: bytes=32 seq=1 hop limit=63 time=32 ms
From 2001::2: bytes=32 seq=2 hop limit=63 time=16 ms
From 2001::2: bytes=32 seq=3 hop limit=63 time<1 ms
From 2001::2: bytes=32 seq=4 hop limit=63 time=16 ms
From 2001::2: bytes=32 seq=5 hop limit=63 time<1 ms

--- 2001::2 ping statistics ---
  5 packet(s) transmitted
  5 packet(s) received
  0.00% packet loss
  round-trip min/avg/max = 0/12/32 ms

PC>
复制代码

 

posted @   星火撩原  阅读(518)  评论(0编辑  收藏  举报
编辑推荐:
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
阅读排行:
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?
点击右上角即可分享
微信分享提示