zoukankan      html  css  js  c++  java
  • 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>
  • 相关阅读:
    7zip在DOS命令行用法总结
    WinRAR在DOS下压缩/解压缩的使用方法
    Linux关闭防火墙命令
    将java的jar包,打包为rpm 安装包
    spring mvc 基于注解 配置默认 handlermapping
    Spring + Spring MVC + MyBatis 整合
    Android开发环境搭建全程演示(jdk+eclipse+android sdk)
    使用Spring MVC表单标签
    context:component scan配置策略
    Spring AutoWiring Beans with @Autowired annotation
  • 原文地址:https://www.cnblogs.com/liujunjun/p/12980701.html
Copyright © 2011-2022 走看看