Stateful DHCPv6 Relay (Rapid-commit) [3/4]


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


address prefix 2001:DB8::/64 lifetime infinite infinite


dns-server XXXX:YYYY:8B6B:90E0::57


dns-server 2001:DB8::57


domain-name nouri.com

interface FastEthernet0/0

no ip address

duplex full

speed 100

ipv6 address 2001:DB8:12::1/64

ipv6 nd other-config-flag


ipv6 dhcp server pool0 rapid-commit

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 0x00040001, 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:


2001:DB8:12::1 via FastEthernet0/0

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 0x00040001, 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):

Advertisements

About ajnouri
Se vi deziras sekure komuniki eksterbloge, jen mia publika (GPG) ŝlosilo: My public key for secure communication: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x41CCDE1511DF0EB8

One Response to Stateful DHCPv6 Relay (Rapid-commit) [3/4]

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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: