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>
  • 相关阅读:
    为MYSQL加注释--mysql注释符
    基于SSM3框架FreeMarker自定义指令(标签)实现
    SpringMVC工作原理
    Web系统从Oracle迁移至MySQL
    Memcached集群/分布式/高可用 及 Magent缓存代理搭建过程 详解
    深入理解SQL的四种连接-左外连接、右外连接、内连接、全连接
    MySQL存储引擎
    mysql常用函数
    转:FIFO的定义与作用
    转:memset用法详解
  • 原文地址:https://www.cnblogs.com/liujunjun/p/12980701.html
Copyright © 2011-2022 走看看