幫介面設定IPV6Mac Address

 

Router-0(config)#int fastethernet 0/0

Router-0(config-if)#ipv6 address 2001:1:1:1::1/64

Router-0(config-if)#no sh

設定Client端的ipv6位址來測試一下

PC>ping 2001:1:1:1::1

 

Pinging 2001:1:1:1::1 with 32 bytes of data:

 

Reply from 2001:1:1:1::1: bytes=32 time=104ms TTL=255

Reply from 2001:1:1:1::1: bytes=32 time=0ms TTL=255

Reply from 2001:1:1:1::1: bytes=32 time=5ms TTL=255

Reply from 2001:1:1:1::1: bytes=32 time=0ms TTL=255

 

Ping statistics for 2001:1:1:1::1:

    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Approximate round trip times in milli-seconds:

    Minimum = 0ms, Maximum = 104ms, Average = 27ms

 


 

IPV4IPV6共存

 

首先在Router介面中設定IPV4IPV6

Router(config-if)#ip address 192.168.1.1 255.255.255.0

Router(config-if)#ipv6 address 2001:1:1:1::1/64

interface FastEthernet0/0

 ip address 192.168.1.1 255.255.255.0

 duplex auto

 speed auto

 ipv6 address 2001:1:1:1::1/64

 

所以基本上IPV4IPV6是可以共存的。

創作者介紹
創作者 林作倉 的頭像
林作倉

林作倉

林作倉 發表在 痞客邦 留言(0) 人氣()