9/11/2015Home Networking1 Bob.test Have Road Runner Unhappy about reports of constant probes of machines Policy decision –I want to prevent unauthorized.

Slides:



Advertisements
Similar presentations
1 Network Address Translation (NAT) Relates to Lab 7. Module about private networks and NAT.
Advertisements

CST Computer Networks NAT CST 415 4/10/2017 CST Computer Networks.
CPSC Network Layer4-1 IP addresses: how to get one? Q: How does a host get IP address? r hard-coded by system admin in a file m Windows: control-panel->network->configuration-
© 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.Cisco Public 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
©2012 ClearOne Communications. Confidential and proprietary. COLLABORATE ® Video Conferencing Networking Basics.
CS 4700 / CS 5700 Network Fundamentals Lecture 15: NAT (You Better Forward Those Ports) Revised 3/9/2013.
© 2007 Cisco Systems, Inc. All rights reserved. 1 Network Addressing Networking for Home and Small Businesses – Chapter 5.
© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets with Internet Applications, 4e By Douglas.
What we will cover… Home Networking: Network Address Translation (NAT) Mobile Routing.
Chapter 5 The Network Layer.
1 Network Address Translation (NAT) Relates to Lab 7. Module about private networks and NAT.
Oct 21, 2004CS573: Network Protocols and Standards1 IP: Addressing, ARP, Routing Network Protocols and Standards Autumn
IP Address 1. 2 Network layer r Network layer protocols in every host, router r Router examines IP address field in all IP datagrams passing through it.
Chapter 6 Network Address Translation (NAT). Network Address Translation  Modification of source or destination IP address  Needed by networks using.
Subnetting.
Middleboxes & Network Appliances EE122 TAs Past and Present.
Support Protocols and Technologies. Topics Filling in the gaps we need to make for IP forwarding work in practice – Getting IP addresses (DHCP) – Mapping.
Day15 IP Space/Setup. IP Suite of protocols –TCP –UDP –ICMP –GRE… Gives us many benefits –Routing of packets over internet –Fragmentation/Reassembly of.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
Network Address Translation (NAT)
COMS W COMS W Lecture 8. NAT, DHCP & Firewalls.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 4 v3.0 Module 1 Scaling IP Addresses.
1 IP: putting it all together Part 2 G53ACC Chris Greenhalgh.
DNS (Domain Name System) Protocol On the Internet, the DNS associates various sorts of information with domain names. A domain name is a meaningful and.
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
CS 540 Computer Networks II Sandy Wang
Greg Van Dyne December 4, Agenda Introduction Technical Overview Protocols Demonstration Future Trends References.
Network Layer4-1 DHCP: Dynamic Host Configuration Protocol Goal: allow host to dynamically obtain its IP address from network server when it joins network.
CS 453 Computer Networks Lecture 21 Layer 3 Network Layer Network Layer of the Internet.
© 2007 Cisco Systems, Inc. All rights reserved. 1 Network Addressing Networking for Home and Small Businesses – Chapter 5 Darren Shaver – Modified Fall.
Network Layer4-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside a router r 4.4 IP: Internet.
Private Network Interconnection Chapter 20. Introduction Privacy in an internet is a major concern –Contents of datagrams that travel across the Internet.
Private Network Addresses IP addresses in a private network can be assigned arbitrarily. – Not registered and not guaranteed to be globally unique Generally,
Lectu re 1 Recap: “Operational” view of Internet r Internet: “network of networks” m Requires sending, receiving of messages r protocols control sending,
Network Security1 – Chapter 6 – NAT and Security Network Address Translation (NAT) is useful: –Hide internal private IP addresses –Conserve routable IP.
NAT Network Address Translation. Reading CNI – pp Port Mapping LA – pp NAT.
,294,967,296 Q. What are private IP addresses? A. The Internet Assigned Numbers Authority (IANA) has reserved the following three blocks of the.
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.
NAT & PAT Network Address Translation Port Address Translation.
NAT/PAT by S K SATAPATHY
Networking Components William Isakson LTEC 4550 October 7, 2012 Module 3.
1 Network Address Translation. 2 Network Address Translation (NAT) Extension of original addressing scheme Motivated by exhaustion of IP address space.
Chapter 5. An IP address is simply a series of binary bits (ones and zeros). How many binary bits are used? 32.
IP Logical Networks COMP 3270 Computer Networks Computing Science Thompson Rivers University.
Network Layer IP Address.
CCNA4-1 Chapter 7-1 NAT Chapter 11 Routing and Switching (CCNA2)
CS 3700 Networks and Distributed Systems
IP: Addressing, ARP, Routing
Network Address Translation (NAT)
Network Address Translation
CS 3700 Networks and Distributed Systems
– Chapter 6 – NAT and Security
Network Address Translation (NAT)
Introducing To Networking
Hiding Network Computers Gateways
NET323 D: Network Protocols
New Solutions For Scaling The Internet Address Space
NAT and Security Source: Ch. 6 of Malik
Cabrillo College Building Cisco Remote Access Network
CS 3700 Networks and Distributed Systems
NET323 D: Network Protocols
NAT (Network Address Translation)‏
Chapter 11: Network Address Translation for IPv4
Network Address Translation (NAT)
DHCP: Dynamic Host Configuration Protocol
Presentation transcript:

9/11/2015Home Networking1 Bob.test Have Road Runner Unhappy about reports of constant probes of machines Policy decision –I want to prevent unauthorized probes/connection attempts on my machines Mechanism –Purchase some sort of firewall for my home network

9/11/2015Home Networking2 Configuration Internet Cable ModemRouter Grumpy Desktops Reiker

9/11/2015Home Networking3 Private IP Addresses The Internet Assigned Numbers Authority (IANA) has reserved the following three blocks of the IP address space for private internets (RFC1597): – (class A) – (class B) – (class C) These addresses are not routable –Meaning that they will not be routed by an ISP

9/11/2015Home Networking4 Address Management Internet Cable ModemRouter Grumpy Reiker Desktops Assigned via DHCP (grumpy) ( – ) Assigned via DHCP (RR)

9/11/2015Home Networking5 How Does This Help? Internet Cable ModemRouter Grumpy Reiker Desktops Assigned via DHCP (grumpy) ( – ) Because these use private addresses cannot be used beyond the router Can’t get in or out!!!

9/11/2015Home Networking6 Mystery Mouse opens a TCP connection to the CS department’s web server –Grumpy’s address is –Destination is –The packet arrives at RIT –RIT responds – but is a private address and will not be routed through the Internet –How does Grumpy communicate with the outside world?

9/11/2015Home Networking7 Network Address Translation Network Address Translation (NAT) makes this all possible (RFC2663 & RFC2766) –Private traffic for the Internet arrives at the router (sometimes called a NAT box) –The router changes the source IP address to the “real” IP address –Packet is sent as usual –Reply arrives at router –Now what? How do we know what private address to route it to?

9/11/2015Home Networking8 A Little TCP : :1024 Both endpoints, together, uniquely define a TCP connection ( ,2024, ,1024) Dest: :1024 Src: :2024 Dest: :2024 Src: :1024

9/11/2015Home Networking9 Address Translation : :1024 Dest: :80 Src: :2024 Dest: :2024 Src: :80 NAT Box Dest: :80 Src: :2024 Dest: :2024 Src: :80

9/11/2015Home Networking10 How to Route? If a NAT box is managing several TCP connections, how does it know who to route incoming packets to? –Key is port numbers (IP src, Port src, IP dest, Port dest ) –Create map Key  (Port src, IP dest, Port dest ) Value  (IP src ) –Why have Port src in the key?

9/11/2015Home Networking11 Problem : :80 Dest: :80 Src: :2024 Dest: :80 Src: :1024 NAT Box Dest: :80 Src: :1024 Dest: :80 Src: : :2004

9/11/2015Home Networking12 NAPT Includes port numbers in the translation –Client actually opens connection with NAT box (thus has unique end points) –NAT box in turn open connection with real server (again unique end points) –Now when packet arrives from server has NAT assigned port as destination The term NAT is often used in place of NAPT

9/11/2015Home Networking13 NAPT Translation Table Private Address Private Port External Address External Port NAT Port Protocol Used TCP TCP

9/11/2015Home Networking14 NAPT Translation : :80 Dest: :80 Src: :2024 Dest: :80 Src: :14004 NAT Box Dest: :80 Src: :14003 Dest: :80 Src: : :2004

9/11/2015Home Networking15 Common Characteristics All flavors of NAT devices should share the following characteristics. –Transparent Address assignment. –Transparent routing through address translation. (routing here refers to forwarding packets, and not exchanging routing information) –ICMP error packet payload translation.