Học viện mạng Bach Khoa - Website: www.bkacad.com 10 DHCP Configuration Example... Học viện mạng Bach Khoa - Website: www.bkacad.com 27 The Forms of NAT • Static NAT – Mapping an unreg
Trang 11
Chapter 7 - Implementing
IP Addressing Services
CCNA Exploration 4.0
Trang 2Học viện mạng Bach Khoa - Website: www.bkacad.com 2
Introducing DHCP
Trang 3Học viện mạng Bach Khoa - Website: www.bkacad.com 3
DHCP Operation
Trang 4Học viện mạng Bach Khoa - Website: www.bkacad.com 4
BOOTP and DHCP
Trang 5Học viện mạng Bach Khoa - Website: www.bkacad.com 5
DHCP Message Format
Trang 6Học viện mạng Bach Khoa - Website: www.bkacad.com 6
DHCP Discover
Trang 7Học viện mạng Bach Khoa - Website: www.bkacad.com 7
DHCP Offer
Trang 8Học viện mạng Bach Khoa - Website: www.bkacad.com 8
Configuring a DHCP Server
Trang 9Học viện mạng Bach Khoa - Website: www.bkacad.com 9
Configuring a DHCP Server
Trang 10Học viện mạng Bach Khoa - Website: www.bkacad.com 10
DHCP Configuration Example
Trang 11Học viện mạng Bach Khoa - Website: www.bkacad.com 11
Multiple DHCP Pool On Single Device
Trang 12Học viện mạng Bach Khoa - Website: www.bkacad.com 12
Configuring a DHCP Client
Trang 13Học viện mạng Bach Khoa - Website: www.bkacad.com 13
Configuring a DHCP Client
Trang 14Học viện mạng Bach Khoa - Website: www.bkacad.com 14
DHCP Relay
Trang 15Học viện mạng Bach Khoa - Website: www.bkacad.com 15
DHCP Relay
Trang 16Học viện mạng Bach Khoa - Website: www.bkacad.com 16
Customizing the Forwarded UDP Services
Trang 17Học viện mạng Bach Khoa - Website: www.bkacad.com 17
Verifying DHCP
Trang 18Học viện mạng Bach Khoa - Website: www.bkacad.com 18
Verifying DHCP
Trang 19Học viện mạng Bach Khoa - Website: www.bkacad.com 19
Verifying DHCP
Trang 20Học viện mạng Bach Khoa - Website: www.bkacad.com 20
Verifying DHCP
Trang 21Học viện mạng Bach Khoa - Website: www.bkacad.com 21
Troubleshooting DHCP
Trang 22Học viện mạng Bach Khoa - Website: www.bkacad.com 22
SCALING NETWORKS
WITH NAT
Trang 23Học viện mạng Bach Khoa - Website: www.bkacad.com 23
Private and Public IP Addressing
Trang 24Học viện mạng Bach Khoa - Website: www.bkacad.com 24
What is NAT ?
Trang 25Học viện mạng Bach Khoa - Website: www.bkacad.com 25
NAT Terminology
Trang 26Học viện mạng Bach Khoa - Website: www.bkacad.com 26
How NAT Works
Trang 27Học viện mạng Bach Khoa - Website: www.bkacad.com 27
The Forms of NAT
• Static NAT – Mapping an unregistered IP address to a registered IP
address on a one-to-one basis Particularly useful when a device
needs to be accessible from outside the network
Trang 28Học viện mạng Bach Khoa - Website: www.bkacad.com 28
The Forms of NAT
• Dynamic NAT – Maps an unregistered IP address to a registered IP
address from a group of registered IP addresses Dynamic NAT also establishes a one-to-one mapping between unregistered and
registered IP address, but the mapping could vary depending on the registered address available in the pool, at the time of communication
Trang 29Học viện mạng Bach Khoa - Website: www.bkacad.com 29
The Forms of NAT
• Overloading – A form of dynamic NAT that maps multiple unregistered
IP addresses to a single registered IP address ( many-to-one ) by using different ports Known also as PAT (Port Address Translation), single address NAT or port-level multiplexed NAT
Trang 30Học viện mạng Bach Khoa - Website: www.bkacad.com 30
NAT overload
Trang 31Học viện mạng Bach Khoa - Website: www.bkacad.com 31
Next Available Port
Trang 32Học viện mạng Bach Khoa - Website: www.bkacad.com 32
Benefits and Drawbacks of Using NAT
Trang 33Học viện mạng Bach Khoa - Website: www.bkacad.com 33
Configure Static NAT on a Cisco Router
Trang 34Học viện mạng Bach Khoa - Website: www.bkacad.com 34
Example
Trang 35Học viện mạng Bach Khoa - Website: www.bkacad.com 35
Configure Dynamic NAT on a Cisco Router
Trang 36Học viện mạng Bach Khoa - Website: www.bkacad.com 36
Configure Dynamic NAT on a Cisco Router
Trang 37Học viện mạng Bach Khoa - Website: www.bkacad.com 37
Example
Translate to these outside addresses
Trang 38Học viện mạng Bach Khoa - Website: www.bkacad.com 38
Configuring NAT Overload for a Single Public IP Address
Trang 39Học viện mạng Bach Khoa - Website: www.bkacad.com 39
Configuring NAT Overload for a Single Public IP Address
Trang 40Học viện mạng Bach Khoa - Website: www.bkacad.com 40
Configuring NAT Overload for a Pool of Public IP Addresses
Trang 41Học viện mạng Bach Khoa - Website: www.bkacad.com 41
Configuring NAT Overload for a Pool of Public IP Addresses
Trang 42Học viện mạng Bach Khoa - Website: www.bkacad.com 42
Port Forwarding
• Port forwarding (sometimes referred to as tunneling ) is the act of forwarding a network port from one network node to another
• This technique can allow an external user to reach a port on a private IP
address (inside a LAN) from the outside through a NAT-enabled router
Trang 43Học viện mạng Bach Khoa - Website: www.bkacad.com 43
Port Forwarding
http://portforward.com
Trang 44Học viện mạng Bach Khoa - Website: www.bkacad.com 44
Verifying NAT and NAT Overload
Trang 45Học viện mạng Bach Khoa - Website: www.bkacad.com 45
Verifying NAT and NAT Overload
Trang 46Học viện mạng Bach Khoa - Website: www.bkacad.com 46
Troubleshooting NAT and NAT Overload Configuration
• Step 1 Based on the configuration, clearly define what NAT is supposed to
achieve This may reveal a problem with the configuration
• Step 2 Verify that correct translations exist in the translation table using the
show ip nat translations command
• Step 3 Use the clear and debug commands to verify that NAT is operating as
expected Check to see if dynamic entries are recreated after they are cleared
• Step 4 Review in detail what is happening to the packet, and verify that
routers have the correct routing information to move the packet
Trang 47Học viện mạng Bach Khoa - Website: www.bkacad.com 47
IPv6
Trang 48Học viện mạng Bach Khoa - Website: www.bkacad.com 48
Reason for using IPv6
Trang 49Học viện mạng Bach Khoa - Website: www.bkacad.com 49
IPv6 Features
Trang 50Học viện mạng Bach Khoa - Website: www.bkacad.com 50
Global Reachability
Trang 51Học viện mạng Bach Khoa - Website: www.bkacad.com 51
Aggregation
Trang 52Multihoming
Học viện mạng Bach Khoa - Website: www.bkacad.com 52
Trang 53Autoconfiguration and Plug/Play
Học viện mạng Bach Khoa - Website: www.bkacad.com 53
Trang 54Renumbering
Học viện mạng Bach Khoa - Website: www.bkacad.com 54
Trang 55Học viện mạng Bach Khoa - Website: www.bkacad.com 55
Efficient Header
Trang 56Học viện mạng Bach Khoa - Website: www.bkacad.com 56
Extension header
Trang 57Học viện mạng Bach Khoa - Website: www.bkacad.com 57
IPv6 Extension Headers
• IPv6 Header: Basic header described in the previous figure
• Hop-by-hop options header: When used for the router alert
(Resource Reservation Protocol [RSVP] and Multicast Listener
Discovery version 1 [MLDv1]) and the jumbogram, this header (value =
0) is processed by all hops in the path of a packet
• Destination options header (when the routing header is used)
• Routing header: Used for source routing and mobile IPv6 (value =
43)
• Fragment header: Used when a source must fragment a packet that is
larger than the MTU for the path between itself and a destination
device
• Authentication Header and Encapsulating Security Payload
header: Used within IPsec to provide authentication, integrity, and
confidentiality of a packet
– The Authentication Header (value = 51)
– The ESP header (value = 50)
• Upper-layer header: Typical headers used inside a packet to transport
the data The two main transport protocols are TCP (value = 6 ) and
Trang 58IPv6 Header Options
Học viện mạng Bach Khoa - Website: www.bkacad.com 58
TCP Header + Data
IPv6 Header
Next Header
= Routing
Routing Header Next Header = TCP
TCP Header + Data
Fragment Header Next Header = TCP
Fragment of TCP Header + Data
Trang 59Học viện mạng Bach Khoa - Website: www.bkacad.com 59
Defining Address Representation
Trang 60Học viện mạng Bach Khoa - Website: www.bkacad.com 60
IPv6 Address Types
Trang 61Học viện mạng Bach Khoa - Website: www.bkacad.com 61
Special Address
Trang 62Học viện mạng Bach Khoa - Website: www.bkacad.com 62
IPv6 Global Unicast and Anycast address
Trang 63Học viện mạng Bach Khoa - Website: www.bkacad.com 63
Assign IPv6 address
Trang 64Học viện mạng Bach Khoa - Website: www.bkacad.com 64
Stateless Autoconfiguration
Trang 65IPv6 Address Configuration Example
Học viện mạng Bach Khoa - Website: www.bkacad.com 65
Trang 66Học viện mạng Bach Khoa - Website: www.bkacad.com 66
IPv6 to IPv4 Transition Strategies
Trang 67Học viện mạng Bach Khoa - Website: www.bkacad.com 67
Cisco IOS Dual Stack
Trang 68Học viện mạng Bach Khoa - Website: www.bkacad.com 68
Cisco IOS Dual Stack Configuration
Trang 69Học viện mạng Bach Khoa - Website: www.bkacad.com 69
IPv6 Tunneling
Trang 70Học viện mạng Bach Khoa - Website: www.bkacad.com 70
Manually Configured IPv6 Tunnel
Trang 71Manually Configured Tunnel Example
Học viện mạng Bach Khoa - Website: www.bkacad.com 71
Trang 726to4 Tunneling
Học viện mạng Bach Khoa - Website: www.bkacad.com 72
Trang 736to4 Tunneling Example
Học viện mạng Bach Khoa - Website: www.bkacad.com 73
Trang 74Học viện mạng Bach Khoa - Website: www.bkacad.com 74
RIPNg routing protocol
Trang 75Học viện mạng Bach Khoa - Website: www.bkacad.com 75
Configure RIPng with IPv6
Trang 76Học viện mạng Bach Khoa - Website: www.bkacad.com 76
Troubleshooting
Trang 77Học viện mạng Bach Khoa - Website: www.bkacad.com 77
Troubleshooting
Trang 78Học viện mạng Bach Khoa - Website: www.bkacad.com 78
LAB – IPv6 RIP
ipv6 unicast-routing ipv6 router rip bkacad interface lo0
ipv6 address 2003::1/64 ipv6 rip bkacad enable interface f0/0
ipv6 address 2fff::1/64 ipv6 rip bkacad enable interface s1/0
ipv6 address 2004::1/64 ipv6 rip bkacad enable
S1/1 F0/0
interface s1/1
ipv6 address 2004::2/64 ipv6 rip bkacad enable ipv6 router rip bkacad redistribute static
ipv6 install
netsh interface ipv6 add address "Local Area Connection" 2fff::2
Trang 79Học viện mạng Bach Khoa - Website: www.bkacad.com 79
Summary
Trang 80Học viện mạng Bach Khoa - Website: www.bkacad.com 80
Trang 81Học viện mạng Bach Khoa - Website: www.bkacad.com 81
Reason for using IPv6