You are on page 1of 1

DHCP V4 / V6 Configuration Commands

GCC Global Configuration Command


PCC Pool Configuration Command
ICC Interface Configuration Command
PMC Privileged Mode Command
PC Personal Computer

IPV4 IPV6
Description IPV4 Description IPV6 SLAAC Stateless DHCPv6 Stateful DHCPv6

Server

Steep # 1 Exclude IPv4 addresses GCC: Router(config)# ip dhcp excluded-address low-address Steep # 1 Enable IPv6 routing. GCC: R1(config)# ipv6 unicast-routing GCC: R1(config)# ipv6 unicast-routing GCC: R1(config)# ipv6 unicast-routing
[high-address]
GCC: R1(config)# ipv6 dhcp pool POOL-NAME (ej. IPV6- GCC: R1(config)# ipv6 dhcp pool POOL-NAME (ej. IPV6-
Steep # 2 Define a DHCPv4 pool name GCC: Router(config)# ip dhcp pool pool-name Steep # 2 Define a DHCPv6 pool name.
STATELESS) STATEFULL)
PCC: R1(config-dhcpv6)# dns-server IPV6 address ej. PCC: R1(config-dhcpv6)# dns-server IPV6 address ej.:
PCC: network network-number [mask | / prefix-length]
2001:db8:acad:1::254 2001:db8:acad:1::254
PCC: default-router address [ address2….address8 ] PCC: R1(config-dhcpv6)# domain-name example.com PCC: R1(config-dhcpv6)# domain-name example.com
PCC: R1(config-dhcpv6)# address prefix
PCC: dns-server address [ address2…address8 ]
Steep # 3 Configure the DHCPv4 pool. Steep # 3 Configure the DHCPv6 pool. 2001:db8:acad:1::/64
PCC: domain-name domain
PCC: lease {days [hours [ minutes ]] | infinite}

PCC: netbios-name-server address [ address2…address8 ]

PMC: show running-config | section dhcp GCC: R1(config)# interface GigabitEthernet0/0/1 GCC: R1(config)# interface GigabitEthernet0/0/1

ICC: R1(config-if)# ipv6 nd other-config-flag ICC: R1(config-if)# ipv6 address fe80::1 link-local

ICC: R1(config-if)# ipv6 dhcp server POOL-NAME (ej. IPV6-


ICC: R1(config-if)# ipv6 ipv6 address 2001:db8:acad:1::1/64
PMC: R1# show ipv6 interface G0/0/1 | STATELESS)
Steep # 4 Verify DHCPv4 is Operational Steep # 4 Bind the DHCPv6 pool to an interface.
section Joined
ICC: R1(config-if)# ipv6 nd managed-config-flag

PMC: show ip dhcp binding ICC: R1(config-if)# ipv6 nd prefix default no-autoconfig

PMC: show ip dhcp server statistics ICC: R1(config-if)# ipv6 dhcp server IPV6-STATEFUL

GCC: R1(config)# no service dhcp C:\PC1> ipconfig /all C:\PC1> ipconfig /all
Verify that the hosts have received IPv6 IPv6 Address. . . . . . . . . . . :
Disable Steep # 5 Connection-specific DNS Suffix . : example.com
addressing information. 2001:db8:acad:1:a43c:fd28:9d79:9e42 (Preferred)
DNS Servers . . . . . . . . . . . : 2001:db8:acad:1::254

Client

GCC: SOHO(config)# interface G0/0/1


ICC: SOHO(config-if)# ip address dhcp
configure an Ethernet interface as a ICC: SOHO(config-if)# no shutdown
Steep # 1 Steep # 1 Enable IPv6 routing. GCC: R1(config)# ipv6 unicast-routing GCC: R1(config)# ipv6 unicast-routing
DHCP client

confirms that the interface is up and PMC: SOHO# show ip interface g0/0/1 ICC: R3(config)# interface g0/0/1 ICC: R3(config)# interface g0/0/1
Configure the client router to create an
Steep # 2 that the address was allocated by a Steep # 2 ICC: R3(config-if)# ipv6 enable ICC: R3(config-if)# ipv6 enable
LLA.
DHCPv4 server.
ICC: R3(config-if)# ipv6 address autoconfig ICC: R3(config-if)# ipv6 address dhcp
Steep # 3 Configure the client router to use SLAAC.

PMC: R3# show ipv6 interface brief EJ.


Steep # 4 PMC: R3# show ipv6 interface brief
Verify client router is assigned a GUA. 2001:DB8:ACAD:1:B4CB:25FA:3C9:747C

PMC: R3# show ipv6 interface g0/0/1 GigabitEthernet0/0/1 is PMC: R3# show ipv6 interface g0/0/1 GigabitEthernet0/0/1 is
in client mode DNS server: in client mode DNS server:
Steep # 4
Verify that the client router received other 2001:DB8:ACAD:1::254 Domain name: 2001:DB8:ACAD:1::254 Domain name:
necessary DHCPv6 information. example.com example.com

You might also like