Network Address Translation (NAT)



Similar documents
Dynamic Host Configuration Protocol (DHCP) 02 NAT and DHCP Tópicos Avançados de Redes

Proxy Server, Network Address Translator, Firewall. Proxy Server

VLAN und MPLS, Firewall und NAT,

Savera Tanwir. Internet Protocol

Компјутерски Мрежи NAT & ICMP

Ch 6: Networking Services: NAT, DHCP, DNS, Multicasting

Ch 6: Networking Services: NAT, DHCP, DNS, Multicasting, NTP

21.4 Network Address Translation (NAT) NAT concept

Variable length subnetting

Firewalls P+S Linux Router & Firewall 2013

Network Address Translation (NAT) Adapted from Tannenbaum s Computer Network Ch.5.6; computer.howstuffworks.com/nat1.htm; Comer s TCP/IP vol.1 Ch.

Chapter 12 Supporting Network Address Translation (NAT)

SE 4C03 Winter 2005 Firewall Design Principles. By: Kirk Crane

ICS 351: Today's plan. IP addresses Network Address Translation Dynamic Host Configuration Protocol Small Office / Home Office configuration

2. IP Networks, IP Hosts and IP Ports

SwiftBroadband and IP data connections

NAT (Network Address Translation)

How to Make the Client IP Address Available to the Back-end Server

CS 457 Lecture 19 Global Internet - BGP. Fall 2011

Configuring Network Address Translation (NAT)

Virtual private network. Network security protocols VPN VPN. Instead of a dedicated data link Packets securely sent over a shared network Internet VPN

Assignment #3 Routing and Network Analysis. CIS3210 Computer Networks. University of Guelph

Internet Protocol: IP packet headers. vendredi 18 octobre 13

Internet Security Firewalls

NAT & IP Masquerade. Internet NETWORK ADDRESS TRANSLATION INTRODUCTION. NAT & IP Masquerade Page 1 of 5. Internal PC

Firewalls and VPNs. Principles of Information Security, 5th Edition 1

ΕΠΛ 674: Εργαστήριο 5 Firewalls

Answers to Sample Questions on Network Layer

Lecture 2-ter. 2. A communication example Managing a HTTP v1.0 connection. G.Bianchi, G.Neglia, V.Mancuso

IP addressing and forwarding Network layer

CS155 - Firewalls. Simon Cooper <sc@sgi.com> CS155 Firewalls 22 May 2003

AS/400e. TCP/IP routing and workload balancing

Ref: A. Leon Garcia and I. Widjaja, Communication Networks, 2 nd Ed. McGraw Hill, 2006 Latest update of this lecture was on

Firewalls. configuring a sophisticated GNU/Linux firewall involves understanding

EITF25 Internet Techniques and Applications L5: Wide Area Networks (WAN) Stefan Höst

Chapter 11. User Datagram Protocol (UDP)

NETWORK ADDRESS TRANSLATION. Whitepaper

IP address format: Dotted decimal notation:

Chapter 11 Cloud Application Development

ΕΠΛ 475: Εργαστήριο 9 Firewalls Τοίχοι πυρασφάλειας. University of Cyprus Department of Computer Science

Packet filtering and other firewall functions

Chapter 15. Firewalls, IDS and IPS

Chapter 3. TCP/IP Networks. 3.1 Internet Protocol version 4 (IPv4)

How To Understand The Purpose Of A Sip Aware Firewall/Alg (Sip) With An Alg (Sip) And An Algen (S Ip) (Alg) (Siph) (Network) (Ip) (Lib

Appendix A: Configuring Firewalls for a VPN Server Running Windows Server 2003

Security in IPv6. Basic Security Requirements and Techniques. Confidentiality. Integrity

NAT and Firewall Traversal with STUN / TURN / ICE

MULTI WAN TECHNICAL OVERVIEW

Configuring Security for FTP Traffic

Chapter 9. IP Secure

12. Firewalls Content

Network-Oriented Software Development. Course: CSc4360/CSc6360 Instructor: Dr. Beyah Sessions: M-W, 3:00 4:40pm Lecture 2

Internet Security Firewalls

Use Domain Name System and IP Version 6

iseries TCP/IP routing and workload balancing

Topic 7 DHCP and NAT. Networking BAsics.

Advanced Internetworking

Availability Digest. Redundant Load Balancing for High Availability July 2013

Network Address Translation (NAT)

FIREWALLS & NETWORK SECURITY with Intrusion Detection and VPNs, 2 nd ed. Chapter 5 Firewall Planning and Design

ERserver. iseries. TCP/IP routing and workload balancing

How will the Migration from IPv4 to IPv6 Impact Voice and Visual Communication?

DEPLOYMENT GUIDE Version 1.1. DNS Traffic Management using the BIG-IP Local Traffic Manager

Technical Support Information

IPv6 Fundamentals Ch t ap 1 er I : ntroducti ti t on I o P IPv6 Copyright Cisco Academy Yannis Xydas

Network Address Translation (NAT) Good Practice Guideline

IP addressing. Interface: Connection between host, router and physical link. IP address: 32-bit identifier for host, router interface

Flow Analysis Versus Packet Analysis. What Should You Choose?

Security Technology: Firewalls and VPNs

Networking TCP/IP routing and workload balancing

Firewalls. Network Security. Firewalls Defined. Firewalls

INTRODUCTION TO FIREWALL SECURITY

NAT Traversal for VoIP. Ai-Chun Pang Graduate Institute of Networking and Multimedia Dept. of Comp. Sci. and Info. Engr. National Taiwan University

DEPLOYMENT GUIDE Version 1.4. Configuring IP Address Sharing in a Large Scale Network: DNS64/NAT64

Polycom. RealPresence Ready Firewall Traversal Tips

The Transport Layer. Antonio Carzaniga. October 24, Faculty of Informatics University of Lugano Antonio Carzaniga

Category: Informational Juniper Networks, Inc. August Load Sharing using IP Network Address Translation (LSNAT)

Chapter 7. Address Translation

Linux Networking: IP Packet Filter Firewalling

Load Balance Mechanism

IP Subnetting and Addressing

OS/390 Firewall Technology Overview

Firewall Design Principles

IP Addressing Introductory material.

Application Description

Connecting MPLS Voice VPNs Enabling the Secure Interconnection of Inter-Enterprise VoIP

ExamPDF. Higher Quality,Better service!

Linux firewall. Need of firewall Single connection between network Allows restricted traffic between networks Denies un authorized users

Evaluation guide. Vyatta Quick Evaluation Guide

Internet Packets. Forwarding Datagrams

Ethernet. Ethernet. Network Devices

What is a Firewall? Computer Security. Firewalls. What is a Firewall? What is a Firewall?

IP Addressing. IP Addresses. Introductory material.

We will give some overview of firewalls. Figure 1 explains the position of a firewall. Figure 1: A Firewall

Network layer: Overview. Network layer functions IP Routing and forwarding

Transcription:

Network Address Translation (NAT) Relates to Lab 7. Module about private networks and NAT. Taken from http://www.cs.virginia.edu/~itlab/ book/slides/module17-nat.ppt 1

Private Network Private IP network is an IP network that is not directly connected to the Internet IP addresses in a private network can be assigned arbitrarily. Not registered and not guaranteed to be globally unique Generally, private networks use addresses from the following experimental address ranges (non-routable addresses): 10.0.0.0 10.255.255.255 172.16.0.0 172.31.255.255 192.168.0.0 192.168.255.255 2

Private Addresses 3

Network Address Translation (NAT) NAT is a router function where IP addresses (and possibly port numbers) of IP datagrams are replaced at the boundary of a private network NAT is a method that enables hosts on private networks to communicate with hosts on the Internet NAT is run on routers that connect private networks to the public Internet, to replace the IP address-port pair of an IP packet with another IP address-port pair. 4

Basic operation of NAT NAT device has address translation table 5

Pooling of IP addresses Scenario: Corporate network has many hosts but only a small number of public IP addresses NAT solution: Corporate network is managed with a private address space NAT device, located at the boundary between the corporate network and the public Internet, manages a pool of public IP addresses When a host from the corporate network sends an IP datagram to a host in the public Internet, the NAT device picks a public IP address from the address pool, and binds this address to the private address of the host 6

Pooling of IP addresses 7

Supporting migration between network service providers Scenario: In CIDR, the IP addresses in a corporate network are obtained from the service provider. Changing the service provider requires changing all IP addresses in the network. NAT solution: Assign private addresses to the hosts of the corporate network NAT device has static address translation entries which bind the private address of a host to the public address. Migration to a new network service provider merely requires an update of the NAT device. The migration is not noticeable to the hosts on the network. Note: The difference to the use of NAT with IP address pooling is that the mapping of public and private IP addresses is static. 8

Supporting migration between network service providers 9

IP masquerading Also called: Network address and port translation (NAPT), port address translation (PAT). Scenario: Single public IP address is mapped to multiple hosts in a private network. NAT solution: Assign private addresses to the hosts of the corporate network NAT device modifies the port numbers for outgoing traffic 10

IP masquerading 11

Load balancing of servers Scenario: Balance the load on a set of identical servers, which are accessible from a single IP address NAT solution: Here, the servers are assigned private addresses NAT device acts as a proxy for requests to the server from the public network The NAT device changes the destination IP address of arriving packets to one of the private addresses for a server A sensible strategy for balancing the load of the servers is to assign the addresses of the servers in a round-robin fashion. 12

Load balancing of servers 13

Concerns about NAT Performance: Modifying the IP header by changing the IP address requires that NAT boxes recalculate the IP header checksum Modifying port number requires that NAT boxes recalculate TCP checksum Fragmentation Care must be taken that a datagram that is fragmented before it reaches the NAT device, is not assigned a different IP address or different port numbers for each of the fragments. 14

Concerns about NAT End-to-end connectivity: NAT destroys universal end-to-end reachability of hosts on the Internet. A host in the public Internet often cannot initiate communication to a host in a private network. The problem is worse, when two hosts that are in a private network need to communicate with each other. 15

Concerns about NAT IP address in application data: Applications that carry IP addresses in the payload of the application data generally do not work across a privatepublic network boundary. Some NAT devices inspect the payload of widely used application layer protocols and, if an IP address is detected in the application-layer header or the application payload, translate the address according to the address translation table. 16

NAT and FTP Normal FTP operation 17

NAT and FTP NAT device with FTP support 18

NAT and FTP FTP in passive mode and NAT. 19