Professional Documents
Culture Documents
Addressing Services
ITE I Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 1
Objectives
Configure DHCP in an enterprise branch network
Configure NAT on a Cisco router
Configure new generation RIP (RIPng) to use IPv6
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 2
Configure DHCP in an Enterprise Branch
Network
The function of DHCP in a network
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 3
Configure DHCP in an Enterprise Branch
Network
How DHCP dynamically assigns an IP address to a
client
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 4
Configure DHCP in an Enterprise Branch
Network
DHCP includes three different address allocation mechanisms to
provide flexibility when assigning IP addresses:
Manual Allocation: The administrator assigns a pre-allocated IP
address to the client and DHCP only communicates the IP address
to the device.
Automatic Allocation: DHCP automatically assigns a static IP
address permanently to a device, selecting it from a pool of
available addresses. There is no lease and the address is
permanently assigned to a device.
Dynamic Allocation: DHCP automatically dynamically assigns, or
leases, an IP address from a pool of addresses for a limited period
of time chosen by the server, or until the client tells the DHCP
server that it no longer needs the address.
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 5
Configure DHCP in an Enterprise Branch
Network
The differences between BOOTP and DHCP
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 6
Configure DHCP in an Enterprise Branch
Network
Configure a DHCP server
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 7
Configure DHCP in an Enterprise Branch
Network
Configure a DHCP server
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 8
Configure DHCP in an Enterprise Branch
Network
Configure a DHCP server
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 9
Configure DHCP in an Enterprise Branch
Network
Configure a DHCP server
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 10
Configure DHCP in an Enterprise Branch
Network
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 11
Configure DHCP in an Enterprise Branch
Network
Configure a Cisco router as a DHCP client
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 12
Configure DHCP in an Enterprise Branch
Network
Configure a Cisco router as a DHCP client
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 13
Configure DHCP in an Enterprise Branch
Network
DHCP Relay can be used to configure a router to relay
DHCP messages when the server and the client are not
on the same segment
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 15
Configure DHCP in an Enterprise Branch
Network
Troubleshoot a DHCP configuration
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 16
Configure NAT on a Cisco Router
The operation and benefits of using private and public
IP addressing
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 17
Configure NAT on a Cisco Router
Network Address Translation (NAT)
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 18
Configure NAT on a Cisco Router
NAT Terminology
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 20
Configure NAT on a Cisco Router
Features of NAT and NAT overload
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 22
Configure NAT on a Cisco Router
The advantages and disadvantages of NAT
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 23
Configure NAT on a Cisco Router
Configure static NAT to conserve IP address space in a
network
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 24
Configure NAT on a Cisco Router
Configure static NAT
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 25
Configure NAT on a Cisco Router
Configure dynamic NAT to conserve IP address space
in a network
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 26
Configure NAT on a Cisco Router
Configure dynamic NAT
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 27
Configure NAT on a Cisco Router
Configure NAT Overload to conserve IP address space
in a network
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 28
Configure NAT on a Cisco Router
Configure NAT Overload
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 29
Configure NAT on a Cisco Router
Configure NAT Overload with a pool of public address
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 30
Configure NAT on a Cisco Router
Configure port forwarding
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 31
Configure NAT on a Cisco Router
Verify and troubleshoot NAT and NAT overload
configurations
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 32
Configure NAT on a Cisco Router
Verify and troubleshoot NAT and NAT overload
configurations
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 33
Configure NAT on a Cisco Router
Verify and troubleshoot NAT and NAT overload
configurations
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 34
Configure New Generation RIP (RIPng) to
use IPv6
IPv6: long-term solution to the depletion problem of IP
address
IPv4 2007
IPv4 1993
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 35
Configure New Generation RIP (RIPng) to
use IPv6
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 36
Configure New Generation RIP (RIPng) to
use IPv6
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 37
Configure New Generation RIP (RIPng) to
use IPv6
The format of the IPv6 addresses
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 38
Configure New Generation RIP (RIPng) to
use IPv6
The format of the IPv6 addresses
Extended
ITE 1 Chapter 6Universal Identifier–
© 2006 Cisco Systems, 64 address
Inc. All rights reserved. (EUI-64)
Cisco Public 40
Configure New Generation RIP (RIPng) to
use IPv6
The transition strategies for implementing IPv6
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 42
Configure New Generation RIP (RIPng) to
use IPv6
IPv6 tunneling: IPv6 packet is encapsulated within IPv4
protocol.
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 44
Configure New Generation RIP (RIPng) to
use IPv6
Configure a router to use IPv6
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 45
Configure New Generation RIP (RIPng) to
use IPv6
Configure and verify RIPng for IPv6
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 46
Configure New Generation RIP (RIPng) to
use IPv6
Verify and troubleshoot IPv6
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 47
Summary
DHCP operation
–3 different allocation methods
•Manual
•Automatic
•Dynamic
–Steps to configure DHCP
•Define range of addresses
•Create DHCP pool
•Configure DHCP pool specifics
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 48
Summary
DHCP Relay
Concept of using a router configured to listen for DHCP
messages from DHCP clients and then forwards those
messages to servers on different subnets
Troubleshooting DHCP
–Most problems arise due to configuration errors
–Commands to aid troubleshooting
•Show ip dhcp
•Show run
•debug
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 49
Summary
Private IP addresses
–Class A = 10.x.x.x
–Class B = 172.16.x.x – 172.31.x.x
–Class C = 192.168.x.x
IPv6
–A 128 bit address that uses colons to separate entries
–Normally written as 8 groups of 4 hexadecimal digits
IPv6 Tunneling
–An IPV6 packet is encapsulated within another protocol
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 51
Summary
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 52
ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 53