2018年12月22日 星期六

網路原理(一) RSE6 Section 8.2

Stateless Address Autoconfiguration (SLAAC)
SLAAC is a method in which a device can obtain an IPv6 global unicast address without the services of a DHCPv6 server. 

Dynamic Host Configuration Protocol for IPv6 (Stateful DHCPv6)
Stateful DHCPv6 is similar to DHCPv4. In this case, the RA message informs the client not to use the information in the RA message. 

Router Advertisement (RA) message
RA messages are sent by routers to provide addressing information to clients configured to obtain their IPv6 addresses automatically. The RA message includes the prefix and prefix length of the local segment. 

stateless DHCPv6 Option (Router Advertisement and DHCPv6)
The stateless DHCPv6 option informs the client to use the information in the RA message for addressing, but additional configuration parameters are available from a DHCPv6 server. 

Stateful DHCPv6 (DHCPv6 only)
This option is the most similar to DHCPv4. In this case, the RA message informs the client not to use the information in the RA message.

Stateless DHCPv6 client
The client sends a DHCPv6 INFORMATION-REQUEST message to the DHCPv6 server requesting only configuration parameters, such as DNS server address. 

Stateful DHCPv6 client
The client sends a DHCPv6 REQUEST message to the server to obtain an IPv6 address and all other configuration parameters from the server.

DHCPv6 SOLICIT
客戶機給伺服器發送solicit消息,以便得到Ipv6位址,以及選項中所附帶的配置參數

DHCPv6 ADVERTISE
戶機
回應客戶機發送的solicit消息資料

DHCPv6 REQUEST
客戶機請求更多的配置參數


====Command====
 
no ipv6 nd managed-config-flag 
no ipv6 nd other-config-flag
ipv6 nd other-config-flag 
ipv6 nd managed-config-flag 
ipv6 dhcp server pool-name
ipv6 enable
ipv6 address autoconfig
show ipv6 dhcp pool
 
show ipv6 interface type number
debug ipv6 dhcp detail
address prefix
ipv6 dhcp server pool-name
ipv6 dhcp pool pool-name
ipv6 enable
ipv6 address dhcp 
show ipv6 dhcp binding
ipv6 dhcp relay destination ipv6_address
show ipv6 dhcp interface type number
 

沒有留言:

張貼留言

 2025 MTK 韌體工程師 上機考心得  前言: 以前, 我覺得寫前後端的人才是真正的寫程式, 很羨慕那些大神 直到這次準備, 我才發現靠杯, 原來寫底層的程式也那麼硬派, XOR 一些奇奇怪怪的加速運算操作, 剛看到真的是無法想像, 有夠虧賊!   1. C/C++ Pro...