scaling ip address
TRANSCRIPT
-
8/19/2019 Scaling IP Address
1/41
© 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE I Chapter 6 1
Scaling IP Addresses
Accessing the WAN – Chapter 7
-
8/19/2019 Scaling IP Address
2/41
© 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 2
Objectives Scaling networks with Network Address Translation
(NAT) and Port Address Translation (PAT)
Dynamic Host Configuration Protocol (DHCP)
Configure new generation RIP (RIPng) to use IPv6
-
8/19/2019 Scaling IP Address
3/41
-
8/19/2019 Scaling IP Address
4/41
© 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 4
NAT
Translates private addresses to public
A NAT-enabled device typically operates at the borderof a stub network.
-
8/19/2019 Scaling IP Address
5/41
© 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 5
NAT Terminology
Inside Local Addresses – An IP address assigned to a host insidea network. This address is likely to be a private address.
Inside Global Address – A legitimate IP address assigned by theNIC or service provider that represents one or more inside localIP address to the outside world.
Outside Local Address - The IP address of an outside host as it isknown to the hosts in the inside network.
Outside Global Address - The IP address assigned to a host on theoutside network. The owner of the host assigns this address.
-
8/19/2019 Scaling IP Address
6/41
-
8/19/2019 Scaling IP Address
7/41
© 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 7
NAT Features
-
8/19/2019 Scaling IP Address
8/41
© 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 8
PAT Features
PAT uses unique source port numbers on the inside global IPaddress to distinguish between translations.
-
8/19/2019 Scaling IP Address
9/41
© 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 9
Benefits with NAT/PAT
Eliminates re-assigning each host a new IP address
when changing to a new ISP
Eliminates the need to re-address all hosts that requireexternal access, saving time and money
Conserves addresses through application port-levelmultiplexing
Protects network security
-
8/19/2019 Scaling IP Address
10/41
© 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 10
Configuring NAT and PAT
-
8/19/2019 Scaling IP Address
11/41
© 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 11
Configuring Static NAT
-
8/19/2019 Scaling IP Address
12/41
© 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 12
Configuring Dynamic NAT
Translate to these
outside addresses
Start
here
Source IP address
must match here
-
8/19/2019 Scaling IP Address
13/41
© 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 13
Configuring PAT
-
8/19/2019 Scaling IP Address
14/41
© 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 14
Configuring PAT
ip nat inside source list 1 pool mypool overload
ip nat pool mypool 172.16.3.1 172.1.3.15
-
8/19/2019 Scaling IP Address
15/41
© 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 15
Verifying NAT and PAT Configuration
-
8/19/2019 Scaling IP Address
16/41
© 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 16
Troubleshooting NAT and PAT
-
8/19/2019 Scaling IP Address
17/41
© 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 17
Dynamic Host Configuration Protocol (DHCP) The function of DHCP in a network
-
8/19/2019 Scaling IP Address
18/41
© 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 18
Dynamic Host Configuration Protocol (DHCP)
Works in a client/server mode
Enable clients to obtain their configurations from server
Less work
IP-addresses
-
8/19/2019 Scaling IP Address
19/41
© 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 19
DHCP
DHCP works by providing a process for a server to allocate the
IP information to clients Pre-defined pools of addresses in DHCP server
Scalable and easy to manage
Clients lease the information from the server for anadministratively defined period
Offers other information; DNS server address, domain name etc.
-
8/19/2019 Scaling IP Address
20/41
© 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 20
DHCP
-
8/19/2019 Scaling IP Address
21/41
© 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 21
Major DHCP Features
Automatic Allocation
Manual Allocation
Dynamic Allocation
-
8/19/2019 Scaling IP Address
22/41
© 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 22
DHCP Operation
-
8/19/2019 Scaling IP Address
23/41
© 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 23
The Order of DHCP Messages
Transmitting
-
8/19/2019 Scaling IP Address
24/41
© 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 24
Configuring DHCP
-
8/19/2019 Scaling IP Address
25/41
© 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 25
Configuring DHCP While Excluding IP
-
8/19/2019 Scaling IP Address
26/41
© 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 26
Verifying DHCP
Router# show ip dhcp server statistics
-
8/19/2019 Scaling IP Address
27/41
© 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 27
Troubleshooting DHCP
-
8/19/2019 Scaling IP Address
28/41
© 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 28
DHCP Relay
-
8/19/2019 Scaling IP Address
29/41
© 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 29
IPv6
Number of users on the Internet grows
IPv6 satisfies the increasingly complex requirements ofhierarchical addressing that IPv4 does not provide
-
8/19/2019 Scaling IP Address
30/41
© 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 30
IPv4 32 bits or 4 bytes long
4,200,000,000 possible addressable nodes
IPv6
128 bits or 16 bytes: four times the bits of IPv43.4 * 1038 possible addressable nodes
340,282,366,920,938,463,374,607,432,768,211,456
5 * 1028 addresses per person
IPv6 - Larger Address Space
~=~=~=
~=
-
8/19/2019 Scaling IP Address
31/41
© 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 31
IPv6 - Format
-
8/19/2019 Scaling IP Address
32/41
© 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 32
IPv6 Transition Strategies Different methods to implement IPv6
Most common: Dual stack and Tunneling
-
8/19/2019 Scaling IP Address
33/41
© 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 33
New Generation RIP (RIPng) to use IPv6 Existing routing protocols are modified to support IPv6
Longer addresses
-
8/19/2019 Scaling IP Address
34/41
© 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 34
Configure IPv6 Addresses Two basic steps
-Activate IPv6 traffic forwarding
-Configure each interface
that requires IPv6
-
8/19/2019 Scaling IP Address
35/41
© 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 35
Configure RIPng with IPv6 Create routing process
Enable routing process on interfaces
-
8/19/2019 Scaling IP Address
36/41
© 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 36
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
Network Address Translation (NAT)
–A means of translating private IP addresses to public IPaddresses
–Types of NAT
•Static
•Dynamic
–Some commands used for troubleshooting•Show ip nat translations
•Show ip nat statistics
•Debug ip nat
-
8/19/2019 Scaling IP Address
37/41
© 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 37
Summary
Dynamic Host Control Protocol (DHCP)
This is a means of assigning IP address and other configurationinformation automatically.
DHCP operation
–3 different allocation methods
•Manual
•Automatic
•Dynamic
–Steps to configure DHCP
•Define range of addresses•Create DHCP pool
•Configure DHCP pool specifics
-
8/19/2019 Scaling IP Address
38/41
-
8/19/2019 Scaling IP Address
39/41
© 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 39
Summary
IPv6
–A 128 bit address that uses colons to separate entries –Normally written as 8 groups of 4 hexadecimal digits
Cisco IOS Dual Stack
–A way of permitting a node to have connectivity to an IPv4 &IP v6 network simultaneously
IPv6 Tunneling
–An IPV6 packet is encapsulated within another protocol
-
8/19/2019 Scaling IP Address
40/41
© 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 40
Summary
Configuring RIPng with IPv6
1st globally enable IPv62nd enable IPv6 on interfaces on which IPv6 is to be enabled
3rd enable RIPng using
global: ipv6 router rip name
interface: ipv6 router name enable
-
8/19/2019 Scaling IP Address
41/41
© 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 41