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>
  • 相关阅读:
    颜色空间RGB与HSV(HSL)的转换
    表示数值的字符串
    正则表达式匹配
    构建乘积数组
    Linux以百万兆字节显示内存大小
    OCP-1Z0-051-题目解析-第26题
    2014华为机试(一)
    android Manifest.xml选项
    TXT小说朗读正式版
    Codeforces Round #256 (Div. 2) B. Suffix Structures
  • 原文地址:https://www.cnblogs.com/liujunjun/p/12980701.html
Copyright © 2011-2022 走看看