CST 415 - Computer Networks NAT CST 415 4/10/2017 CST 415 - Computer Networks.

Slides:



Advertisements
Similar presentations
1 Ports and IPv6. 2 Ports Transmission Control Protocol (TCP) or the User Datagram Protocol (UDP), used for communication Generally speaking, a computer.
Advertisements

© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 W. Schulte Chapter 5: Network Address Translation for IPv4  Connecting.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Lecture15: Network Address Translation for IPv4 Connecting Networks.
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—5-1 WAN Connections Enabling the Internet Connection.
Ch. 1 – Scaling IP Addresses NAT/PAT and DHCP CCNA 4 version 3.0.
NAT (Network Address Translator) Atif Karamat In the name of God the most merciful and the most compassionate.
1 Network Address Translation (NAT) Relates to Lab 7. Module about private networks and NAT.
M. Dahshan - TCOM52721 TCOM 5272 Telecomm Lab Dr. Mostafa Dahshan OU-Tulsa 4W 2 nd floor
Chapter 6 Network Address Translation (NAT). Network Address Translation  Modification of source or destination IP address  Needed by networks using.
Subnetting.
CCNA Guide to Cisco Networking Fundamentals Fourth Edition Chapter 9 Network Services.
Sybex CCENT Chapter 13: Network Address Translation Instructor & Todd Lammle.
Andrew Smith 1 NAT and DHCP ( Network Address Translation and Dynamic Host Configuration Protocol )
4: Addressing Working At A Small-to-Medium Business or ISP.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 4: Addressing in an Enterprise Network Introducing Routing and Switching in the.
CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
Network Address Translation
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 4 v3.0 Module 1 Scaling IP Addresses.
9/11/2015Home Networking1 Bob.test Have Road Runner Unhappy about reports of constant probes of machines Policy decision –I want to prevent unauthorized.
Objectives Configure routing in Windows Server 2008 Configure Network Address Translation 1.
1 NAT Network Address Translation Motivation for NAT To solve the insufficient problem of IP addresses IPv6 –All software and hardware need to be updated.
Introduction to Network Address Translation
Mr. Mark Welton.  Firewalls are devices that prevent traffic from entering or leaving a network  Firewalls are often used between networks, or when.
© 2007 Cisco Systems, Inc. All rights reserved. 1 Network Addressing Networking for Home and Small Businesses – Chapter 5 Darren Shaver – Modified Fall.
Network Address Translations Project no. : 12 Prof. Edmund Gean Presented by DhruvaPatel( ) Sweta Patel( ) Rushika Patel ( ) Guided.
Private Network Interconnection Chapter 20. Introduction Privacy in an internet is a major concern –Contents of datagrams that travel across the Internet.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 4: Addressing in an Enterprise Network Introducing Routing and Switching in the.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Planning the Addressing Structure Working at a Small-to-Medium Business.
Private Network Addresses IP addresses in a private network can be assigned arbitrarily. – Not registered and not guaranteed to be globally unique Generally,
Network Address Translation External/ Internal/. OVERLOADING In Overloading, each computer on the private network is translated to the same IP address;
NAT and PAT. Topics RFCs 1597(obs by 1918), 1631,1917, 1918 & 1797 Network Address Translation – Static and Dynamic Port Address Translation Issues with.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 11: Network Address Translation for IPv4 Routing And Switching.
IP addresses IPv4 and IPv6. IP addresses (IP=Internet Protocol) Each computer connected to the Internet must have a unique IP address.
Configuring NAT and PAT Chapter 18 powered by DJ 1.
IP Addressing.
NAT/PAT by S K SATAPATHY
1 Network Address Translation. 2 Network Address Translation (NAT) Extension of original addressing scheme Motivated by exhaustion of IP address space.
CCNA4-1 Chapter 7-1 IP Addressing Services Scaling Networks With Network Address Translation (NAT)
Configuring NAT. Configuring Static NAT There are two basic tasks to perform when configuring static NAT translations: Create the mapping between the.
Computer Network Architecture Lecture 7: OSI Model Layers Examples II 1 26/12/2012.
© 2001, Cisco Systems, Inc. CSPFA 2.0—5-1 Chapter 5 Cisco PIX Firewall Translations.
Kittiphan Techakittiroj (25/06/59 19:10 น. 25/06/59 19:10 น. 25/06/59 19:10 น.) Network Address Translation Kittiphan Techakittiroj
CCNA4-1 Chapter 7-1 NAT Chapter 11 Routing and Switching (CCNA2)
Network Address Translation (NAT)
Planning the Addressing Structure
Internet Protocol Address
Chapter 13 Network Address Translation
Network Address Translation (NAT)
Network Address Translation
Instructor Materials Chapter 9: NAT for IPv4
CS 3700 Networks and Distributed Systems
NAT / PAT.
Network Address Translation (NAT)
Routing and Switching Essentials v6.0
Introducing To Networking
NET323 D: Network Protocols
New Solutions For Scaling The Internet Address Space
CIS 82 Routing Protocols and Concepts Chapter 11 NAT
Routing and Switching Essentials v6.0
NAT / PAT.
Cabrillo College Building Cisco Remote Access Network
CS 3700 Networks and Distributed Systems
Instructor Materials Chapter 9: NAT for IPv4
NET323 D: Network Protocols
Protocols 1 Key Revision Points.
Planning the Addressing Structure
Planning the Addressing Structure
Chapter 11: Network Address Translation for IPv4
Prepared by :Adeel Ahmad
Network Address Translation (NAT)
Presentation transcript:

CST 415 - Computer Networks NAT CST 415 4/10/2017 CST 415 - Computer Networks

CST 415 - Computer Networks Topics Problem Definition NAT Types NAT Addressing Dynamic NAT Overloading 4/10/2017 CST 415 - Computer Networks

Network Address Translation Problem Definition Network Address Translation IPv4 addresses are becoming a rare commodity. What is a simple way to extend the life of IP addresses until IPv6 becomes fully implemented? Given a single IP address, map this single IP address onto multiple IP addresses. 4/10/2017 CST 415 - Computer Networks

CST 415 - Computer Networks Problem Definition How can we get something for nothing? (e.g. How do we expand an address range without really adding more bits onto an address?) 4/10/2017 CST 415 - Computer Networks

CST 415 - Computer Networks Problem Definition The Internet sees a single point of presence – 161.82.35.22 The private sees a single point of presence as the router – 192.10.10.5 The NAT device translates from private network to external network. 4/10/2017 CST 415 - Computer Networks

CST 415 - Computer Networks NAT Developed by Cisco NAT is an intermediary, very much like the old days when you would call an operator to “patch” a call through to you. To do this, all you needed to know is to dial “0”, then request the other party you wished to speak to. 4/10/2017 CST 415 - Computer Networks

CST 415 - Computer Networks NAT As opposed to standard IP routing, NAT modifies the source and destination IP address in the IP header. This modification is done based on mapping algorithms and tables. 4/10/2017 CST 415 - Computer Networks

CST 415 - Computer Networks NAT types 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. In static NAT, the computer with the IP address of 192.168.32.10 will always translate to 213.18.123.110. 4/10/2017 CST 415 - Computer Networks

CST 415 - Computer Networks NAT types Dynamic NAT: Maps an unregistered IP address to a registered IP address from a group of registered IP addresses. In dynamic NAT, the computer with the IP address 192.168.32.10 will translate to the first available address in the range from 213.18.123.100 to 213.18.123.150. 4/10/2017 CST 415 - Computer Networks

CST 415 - Computer Networks NAT types Overloading NAT: A form of dynamic NAT that maps multiple unregistered IP addresses to a single registered IP address by using different ports. This is known also as PAT (Port Address Translation), single address NAT or port-level multiplexed NAT. In overloading, each computer on the private network is translated to the same IP address (213.18.123.100), but with a different port number assignment. 4/10/2017 CST 415 - Computer Networks

CST 415 - Computer Networks NAT types Overlapping NAT: When the IP addresses used on your internal network are registered IP addresses in use on another network. The router must maintain a lookup table of these addresses so that it can intercept them and replace them with registered unique IP addresses. The NAT router must translate the "internal" addresses to registered unique addresses as well as translate the "external" registered addresses to addresses that are unique to the private network. This can be done either through static NAT or by using DNS and implementing dynamic NAT 4/10/2017 CST 415 - Computer Networks

CST 415 - Computer Networks NAT types Overlapping NAT: The internal IP range (237.16.32.xx) is also a registered range used by another network. Therefore, the router is translating the addresses to avoid a potential conflict with another network. It will also translate the registered global IP addresses back to the unregistered local IP addresses when information is sent to the internal network. 4/10/2017 CST 415 - Computer Networks

CST 415 - Computer Networks NAT Example The use of w1.x1.y1.z1 and w2.x2.y2.z2 represents valid public IP addresses as allocated by the Internet Assigned Numbers Authority (IANA) or an ISP. If a private user at 192.168.0.10 uses a Web browser to connect to the Web server at w2.x2.y2.z2, the user's computer creates an IP packet with the following information: Destination IP address: w2.x2.y2.z2 Source IP address: 192.168.0.10 Destination port: TCP port 80 Source port: TCP port 1025 4/10/2017 CST 415 - Computer Networks

CST 415 - Computer Networks NAT Example The use of w1.x1.y1.z1 and w2.x2.y2.z2 represents valid public IP addresses as allocated by the Internet Assigned Numbers Authority (IANA) or an ISP. This IP packet is then forwarded to the NAT protocol, which translates the addresses of the outgoing packet to the following: Destination IP address: w2.x2.y2.z2 Source IP address: w1.x1.y1.z1 Destination port: TCP port 80 Source port: TCP port 5000 4/10/2017 CST 415 - Computer Networks

CST 415 - Computer Networks NAT Example The use of w1.x1.y1.z1 and w2.x2.y2.z2 represents valid public IP addresses as allocated by the Internet Assigned Numbers Authority (IANA) or an ISP. The NAT protocol keeps the mapping of {192.168.0.10, TCP 1025} to {w1.x1.y1.z1, TCP 5000} in a table. The translated IP packet is sent over the Internet. The response is sent back and received by the NAT protocol. When received, the packet contains the following public address information: Destination IP address: w1.x1.y1.z1 Source IP address: w2.x2.y2.z2 Destination port: TCP port 5000 Source port: TCP port 80 4/10/2017 CST 415 - Computer Networks

CST 415 - Computer Networks NAT Example The use of w1.x1.y1.z1 and w2.x2.y2.z2 represents valid public IP addresses as allocated by the Internet Assigned Numbers Authority (IANA) or an ISP. The NAT protocol checks its translation table and maps the public addresses to private addresses and forwards the packet to the computer at 192.168.0.10. The forwarded packet contains the following address information: Destination IP address: 192.168.0.10 Source IP address: w2.x2.y2.z2 Destination port: TCP port 1025 Source port: TCP port 80 4/10/2017 CST 415 - Computer Networks

CST 415 - Computer Networks NAT Example For outgoing packets from the NAT protocol, the source IP address (a private address) is mapped to the ISP allocated address (a public address), and the TCP/UDP port numbers are mapped to a different TCP/UDP port number. For incoming packets to the NAT protocol, the destination IP address (a public address) is mapped to the original intranet address (a private address), and the TCP/UDP port numbers are mapped back to their original TCP/UDP port numbers. 4/10/2017 CST 415 - Computer Networks

CST 415 - Computer Networks NAT Example Packets that contain the IP address only in the IP header are properly translated by NAT. Packets that contain the IP address within the IP payload may not be properly translated by NAT. 4/10/2017 CST 415 - Computer Networks