Agenda Internet Address Pair Internet Address Pair IP Address IP Address Port Address Port Address Network Address Translation (NAT) Network Address Translation.

Slides:



Advertisements
Similar presentations
CCNA1 v3 Module 9 v3 CCNA 1 Module 9 JEOPARDY K. Martin Galo Valencia.
Advertisements

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-
Addressing the Network IPv4
CIM 2465 IP Addressing Scheme1 IP Addressing Scheme (Topic 4) Textbook: Networking Basics, CCNA 1 Companion Guide, Cisco Press Cisco Networking Academy.
Understanding Internet Protocol
©2012 ClearOne Communications. Confidential and proprietary. COLLABORATE ® Video Conferencing Networking Basics.
DHCP Dynamic Host Configuration Part 7 NVCC Professional Development TCP/IP.
© 2007 Cisco Systems, Inc. All rights reserved. 1 Network Addressing Networking for Home and Small Businesses – Chapter 5.
Nassau Community College
Module 4: Configuring Network Connectivity
Week 5: Internet Protocol Continue to discuss Ethernet and ARP –MTU –Ethernet and ARP packet format IP: Internet Protocol –Datagram format –IPv4 addressing.
Chapter Extension 7 How the Internet Works © 2008 Prentice Hall, Experiencing MIS, David Kroenke.
Oct 21, 2004CS573: Network Protocols and Standards1 IP: Addressing, ARP, Routing Network Protocols and Standards Autumn
Chapter 8 Administering TCP/IP.
Chapter 2 Internet Protocol DoD Model Four layers: – Process/Application layer – Host-to-Host layer – Internet layer – Network Access layer.
IIS and PWS. What is IIS and PWS? Microsoft Internet Information Server (IIS) and Peer Web Services (PWS) enable Windows NT servers with the ability to.
1 Chapter Overview IP (v4) Address IPv6. 2 IPv4 Addresses Internet Protocol (IP) is the only network layer protocol with its own addressing system and.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Addressing Networking for Home and Small Businesses – Chapter 5.
IST 228\Ch3\IP Addressing1 TCP/IP and DoD Model (TCP/IP Model)
Networking protocols Unit objective: Identify TCP/IP properties, and identify common ports and protocols.
Day15 IP Space/Setup. IP Suite of protocols –TCP –UDP –ICMP –GRE… Gives us many benefits –Routing of packets over internet –Fragmentation/Reassembly of.
Module 7: Configuring TCP/IP Addressing and Name Resolution.
Chapter 4: Managing LAN Traffic
WXES2106 Network Technology Semester /2005 Chapter 4 TCP/IP CCNA1: Module 9, 10.3 and 11.
Network LayerII-1 RSC Part II: Network Layer 3. IP addressing (2nd part) Redes y Servicios de Comunicaciones Universidad Carlos III de Madrid These slides.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Addressing Networking for Home and Small Businesses – Chapter 5.
Connecting Networks © 2004 Cisco Systems, Inc. All rights reserved. Exploring How IP Address Protocols Work INTRO v2.0—4-1.
A+ Guide to Software: Managing, Maintaining, and Troubleshooting, 5e
Computer Networks. IP Addresses Before we communicate with a computer on the network we have to be able to identify it. Every computer on a network must.
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.
TCP/IP Addressing & Subnetting Unit objectives Discuss TCP/IP addressing and determine the IP address class and default subnet mask Discuss subnetting.
CN1260 Client Operating System Kemtis Kunanuraksapong MSIS with Distinction MCT, MCITP, MCTS, MCDST, MCP, A+
Networking Functions of windows NT Sever
CIS 3360: Internet: Network Layer Introduction Cliff Zou Spring 2012.
© 2007 Cisco Systems, Inc. All rights reserved. 1 Network Addressing Networking for Home and Small Businesses – Chapter 5 Darren Shaver – Modified Fall.
Linux+ Guide to Linux Certification Chapter Fifteen Linux Networking.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 2: Configuring Network Protocols.
CHAPTER 3 PLANNING INTERNET CONNECTIVITY. D ETERMINING INTERNET CONNECTIVITY REQUIREMENTS Factors to be considered in internet access strategy: Sufficient.
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.
1 Chapter 7: NAT in Internet and Intranet Designs Designs That Include NAT Essential NAT Design Concepts Data Protection in NAT Designs NAT Design Optimization.
Networks and Protocols CE Week 3a. DHCP, ARP, DNS, TCP/UDP.
Chapter 23: ARP, ICMP, DHCP CS332, IS333 Spring 2014.
Networking Fundamentals Network Protocols. Protocol Rule for how networks communicate Each OSI layer handled by one or more protocols Protocol Suites.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.1 Module 9 TCP/IP Protocol Suite and IP Addressing.
1/28/2010 Network Plus IP Addressing Review. IP Address Classes.
© Cengage Learning 2014 How IP Addresses Get Assigned A MAC address is embedded on a network adapter at a factory IP addresses are assigned manually or.
1 Internet Protocols To support the Internet and all its services, many protocols are necessary Some of the protocols that we will look at: –Internet Protocol.
LANS A Overview (also a Review). NICS  Could be Ethernet, FDDI, Token Ring or Wireless.  Multiple Protocols can be bound to a NIC.  In WinDoze all.
“ is not to be used to pass on information or data. It should used only for company business!” – Memo from IBM Executive The Languages, Methods &
: MobileIP. : r Goal: Allow machines to roam around and maintain IP connectivity r Problem: IP addresses => location m This is important for efficient.
Copyright © 2006 Heathkit Company, Inc. All Rights Reserved Introduction to Networking Technologies Introduction to TCP/IP.
Network Layer IP Address.
Network Overview. Protocol Protocol (network protocols) - a special set of rules that define communication between two or more devices on a network.
Some Network Commands n Some useful network commands –ping –finger –nslookup –tracert –ipconfig.
Chapter TCP/IP in the Windows Environment © N. Ganesan, Ph.D., All rights reserved.
LESSON Networking Fundamentals Understand IPv4.
Networking for Home and Small Businesses – Chapter 5
IP: Addressing, ARP, Routing
Computer Communication and Networking
Ct1304 Lecture#4 IPV4 Addressing Asma AlOsaimi.
NET302 Lecture#3 IPV4 Addressing Asma AlOsaimi.
Net 323: NETWORK Protocols
Introduction to TCP/IP
NAT/ARP/RARP (Ch 5 & 8) Dr. Clincy Lecture.
8PM – Quickly Overview Final Project
Lecture#3 IPV4 Addressing Net 302- Asma AlOsaimi.
Ct1304 Lecture#4 IPV4 Addressing Asma AlOsaimi.
IST346: Networking Fundamentals
Networking for Home and Small Businesses – Chapter 5
Presentation transcript:

Agenda Internet Address Pair Internet Address Pair IP Address IP Address Port Address Port Address Network Address Translation (NAT) Network Address Translation (NAT) Domain Name Domain Name

Internet Address Part I Two Parts

2=1 IP Address IP Address Port Port 0-64 k 0-64 k The full Internet Address pair The full Internet Address pair : : : :80 Type in your web browser (demo) Type in your web browser (demo)

IP Address P.O.er There

IP Address Size & Form IPv4 – Current Standard - Legacy IPv4 – Current Standard - Legacy 32 bits total 32 bits total 8 bit sections (base10 = 0-255) 8 bit sections (base10 = 0-255) IPv6 – Emerging Standard IPv6 – Emerging Standard 128 bits total (4 x IPv4) 128 bits total (4 x IPv4) 16 bit sections (hex = 0-FFFF) 16 bit sections (hex = 0-FFFF) FFFF:0000:FFFF:0000:FFFF:0000:FFFF:0000 FFFF:0000:FFFF:0000:FFFF:0000:FFFF:0000

IP Address Formatting Convert IP address to network format Convert IP address to network format Inet_addr (char * stringFormat) Inet_addr (char * stringFormat) Returns: struct in_addr Returns: struct in_addr Fails if not an IP address Fails if not an IP address Some confusing number completion intelligence Some confusing number completion intelligence “ ”  “ ”  “125.4”  “125.4”  “ ”  “ ”  Inet_ntoa (struct in_addr) Inet_ntoa (struct in_addr) Returns an ASCII string Returns an ASCII string htons (short HostOrderShort) htons (short HostOrderShort) Returns the short in network byte order (i.e., swapped for Windows) Returns the short in network byte order (i.e., swapped for Windows) Example Example SOCKADDR_IN addr; addr.sin_family = AF_INET; addr.sin_addr.s_addr = inet_addr(“ ”); addr.sin_port = htons(80);

IP Address Positional Meaning Network Prefix Network Prefix Subnet Subnet 1 9 Host Host 7

IP Addressing Special Addresses INADDR_NONE == INADDR_BROADCAST INADDR_NONE == INADDR_BROADCAST Must setup a DATAGRAM for limited broadcast Must setup a DATAGRAM for limited broadcast 0 INADDR_ANY == ADDR_ANY INADDR_ANY == ADDR_ANY sin_addr.s_addr set to this before bind() so it assigns default. sin_addr.s_addr set to this before bind() so it assigns default INADDR_LOOPBACK INADDR_LOOPBACK Send to self Send to self *.*.*.{ } *.*.*.{ } Directed Broadcast to a specific subnet Directed Broadcast to a specific subnet *.*.*.{ } *.*.*.{ } Multicast group IP Multicast group IP

IP Addressing Types of addresses Unicast Unicast Address assigned to an individual Address assigned to an individual Static Static You assign your own (uncommon these days) You assign your own (uncommon these days) DHCP (Dynamic Host Configuration Protocol) DHCP (Dynamic Host Configuration Protocol) Server assigned address Server assigned address APIPA (Automatic Private IP Addressing) APIPA (Automatic Private IP Addressing) Used by routers servicing a single DHCP assigned address Used by routers servicing a single DHCP assigned address Default if DHCP not available Default if DHCP not available This is NOT your MAC address on your NIC This is NOT your MAC address on your NIC Multicast Multicast Address to a list of addresses Address to a list of addresses Temporary groups Temporary groups Broadcast Broadcast Limited = everyone on your local net Limited = everyone on your local net Directed = send to a subnet Directed = send to a subnet

Port Not your ordinary desert wine.

Ports The other half of the address 16 bit number = , bit number = ,536 Receiving Port Receiving Port Must specify a specific port to listen on Must specify a specific port to listen on Sending Port Sending Port Send on any available port (sockets decides) Send on any available port (sockets decides) Can specify send port, but may conflict Can specify send port, but may conflict

Ports Known & Not So Known Well Known Ports Well Known Ports Internet Assigned Number Authority (IANA) – The Registrar Internet Assigned Number Authority (IANA) – The Registrar Reserved for standard services (FTP, WWW, SMTP, Telnet, …) Reserved for standard services (FTP, WWW, SMTP, Telnet, …) Can use for anything (not recommended) Can use for anything (not recommended) Often filtered by network hardware Often filtered by network hardware IP address ignored and packet redirected to specific protocol server IP address ignored and packet redirected to specific protocol server Examples Examples HTTP = Port 80 (web server) HTTP = Port 80 (web server) FTP = Port ? (check answer at FTP = Port ? (check answer at Registered Port Numbers Registered Port Numbers , ,536 Not controlled by IANA Not controlled by IANA Some common services use ,000 Some common services use ,000 Be safe, stay high Be safe, stay high Hippie Slogan or Good Advice? Hippie Slogan or Good Advice? 10k-64k 10k-64k

Firewalls Keep Out!

Types of Firewalls Packet Filter Packet Filter Proxies Proxies Circuit Gateways Circuit Gateways

NAT A baby Mosquito?

Network Address Translation What is it for? What is it for? Multiple NIC’s share the same IP Address Multiple NIC’s share the same IP Address Who does this? Who does this? Routers at work/home sharing one IP Address Routers at work/home sharing one IP Address How does it do it? How does it do it? Each NIC assigned an APIPA address Each NIC assigned an APIPA address APIPA + Port α converted to Shared IP + Port β APIPA + Port α converted to Shared IP + Port β Router maintains the translation table and redirects incoming traffic accordingly. Router maintains the translation table and redirects incoming traffic accordingly.

NAT in action LAN AddressWAN Address : : : : : : : :4000* Figure 1 Network Address Translation at work.

NAT Traversal Port Forwarding Port Forwarding Port always assigned to 1 computer Port always assigned to 1 computer Port Triggering Port Triggering Starting application temporarily forwards port Starting application temporarily forwards port DMZ DMZ All traffic also goes to specific computer All traffic also goes to specific computer Determining WAN IP Determining WAN IP From computer on the other side of router From computer on the other side of router IP Helper API, router config table IP Helper API, router config table

Domain Name chuck.toonedin.com

Domain Name Resolution Facilities Local Host Table (i.e. a cache) Local Host Table (i.e. a cache) \SYSTEM32\DRIVERS\ETC\HOSTS (demo) \SYSTEM32\DRIVERS\ETC\HOSTS (demo) \SYSTEM32\DRIVERS\ETC\HOSTS Fast, customizable Fast, customizable Doesn’t scale, gets out of synch with changes Doesn’t scale, gets out of synch with changes Domain Name Service (DNS) Server Domain Name Service (DNS) Server Off site server Off site server Faster updates, hands off, scales Faster updates, hands off, scales Slower, no control on updates, not always available Slower, no control on updates, not always available Propagation takes time (hrs – weeks) Propagation takes time (hrs – weeks) Case Study Case Study Use DNS if available Use DNS if available Store last used and defaults when not Store last used and defaults when not Ping Demo Ping Demo Plethora of other custom services Plethora of other custom services Network Information Service (unix) Network Information Service (unix) NetBIOS over TCP/IP NetBIOS over TCP/IP Windows NLA: Network Location Awareness (mobile computing) Windows NLA: Network Location Awareness (mobile computing)