Stateful DHCPv6 Relay (Rapid-commit) [3/4]
January 18, 2012 1 Comment
Picture1: DHCPv6 relay topology

Server configuration [> 12.4(24) T]:
This configuration is useful in case your DHCP server is not in the same segment as DHCP clients.
R1 is the DHCP server, R2 is the DHCPv6 relay agent and R3 is used as a DHCP client.
R1:
| ipv6 dhcp pool pool0
|
| interface FastEthernet0/0 no ip address duplex full speed 100 ipv6 address 2001:DB8:12::1/64 ipv6 nd other-config-flag
end |
| R1#sh ipv6 dhcp pool DHCPv6 pool: pool0 Address allocation prefix: 2001:DB8::/64 valid 4294967295 preferred 4294967295 (1 in use, 0 conflicts) DNS server: XXXX:YYYY:8B6B:90E0::57 DNS server: 2001:DB8::57 Domain name: nouri.com Active clients: 1 R1# |
| R1#sh ipv6 dhcp binding Client: FE80::C800:62FF:FEB4:8 DUID: 00030001CA0062B40008 Username : unassigned IA NA: IA ID 0×00040001, T1 43200, T2 69120 Address: 2001:DB8::90F4:41AD:A12A:EDD6 preferred lifetime INFINITY, , valid lifetime INFINITY, R1# |
| R1#sh ipv6 dhcp interface fa0/0 FastEthernet0/0 is in server mode Using pool: pool0 Preference value: 0 Hint from client: ignored Rapid-Commit: enabled R1# |
DHCP Relay agent R2:
| R2#sh ipv6 dhcp interface f0/1 FastEthernet0/1 is in relay mode Relay destinations:
R2# |
DHCPv6 Client R3:
| R3#sh ipv6 dhcp interface fa0/0 FastEthernet0/0 is in client mode Prefix State is IDLE Address State is OPEN Renew for address will be sent in 11:38:42 List of known servers: Reachable via address: FE80::C802:51FF:FE48:6 DUID: 00030001CA0330500008 Preference: 0 Configuration parameters: IA NA: IA ID 0×00040001, T1 43200, T2 69120 Address: 2001:DB8::90F4:41AD:A12A:EDD6/128 preferred lifetime INFINITY, valid lifetime INFINITY DNS server: XXXX:YYYY:8B6B:90E0::57 DNS server: 2001:DB8::57 Domain name: nouri.com Information refresh time: 0 Prefix Rapid-Commit: disabled Address Rapid-Commit: enabled R3# |
Picture2: Request from R2 (DHCPv6 Relay) to R1 (DHCPv6 server):

Picture3: Reply from R1 (DHCPv6 server) to R2 (DHCPv6 Relay):







Pingback: IOS DHCPv6 deployment schemes « CCIE, the beginning!