The complete picture Linux Network Management. End to End Connection Being able to describe the end to end connection sequence is a useful thing Very.

Slides:



Advertisements
Similar presentations
PJC CCNA Semester 2 Ver. 3.0 by William Kelly
Advertisements

Everything.
A Complete End-to-End View. Laptop Wifi AP BERKELEY DHCP Server/ Gateway Router DNS Server ( ) AT&T GOOGLE.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 OSI Transport Layer Network Fundamentals – Chapter 4.
TCP/IP CIS 238 Oakton Community College. TCP/IP Model.
Chapter 7 Intro to Routing & Switching.  Upon completion of this chapter, you should be able to:  Explain the need for the transport layer.  Identify.
Lecture 5: TCP/IP OSI layers 3 (IP) and 4 (TCP/UDP) IPv4 – addresses and routing, “best-effort” service Ethernet, Appletalk, etc wrap IP packets with their.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Services Networking for Home and Small Businesses – Chapter 6.
CCNA 1 v3.1 Module 11 Review.
Chapter 5 – Big Picture Dr. V.T. Raja Oregon State University.
TCP/IP Network and Firewall. IP Packet Protocol  1 ICMP packet  6 TCP packet  17 UDP packet.
TDC375 Autumn 03/04 John Kristoff - DePaul University 1 Network Protocols Dynamic Host Configuration Protocol (DHCP)
1 CCNA 2 v3.1 Module Intermediate TCP/IP CCNA 2 Module 10.
1 Reminding - ARP Two machines on a given network can communicate only if they know each other’s physical network address ARP (Address Resolution Protocol)
TCP/IP Discussion Related to Essay Question on Final Dr. V.T. Raja Oregon State University.
Defining Network Protocols Application Protocols –Application Layer –Presentation Layer –Session Layer Transport Protocols –Transport Layer Network Protocols.
Everything. MACIP End-host IP: MAC: 11:11:11:11:11 gateway IP: MAC: 22:22:22:22:22 Google server IP: MACIP MACInterfaceMACInterface.
Lecture 8 Modeling & Simulation of Communication Networks.
IST 228\Ch3\IP Addressing1 TCP/IP and DoD Model (TCP/IP Model)
CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
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.
PACKET ANALYSIS WITH WIRESHARK DHCP, DNS, HTTP Chanhyun park.
Network Communications Technology Chapter 19 Internet Architecture and TCP/IP.
Operating Systems Lesson 10. Networking Communications protocol is the set of standard rules for ◦ Data representation ◦ Signaling ◦ Authentication ◦
Chabot College ELEC Ports (Layer 4).
A day in the life: scenario
Link Layer 5-1 Link layer, LAN s: outline 5.1 introduction, services 5.2 error detection, correction 5.3 multiple access protocols 5.4 LANs  addressing,
1 John Magee 11 July 2013 CS 101 Lecture 11: How do you “visit” a web page, revisted Slides adapted from Kurose and Ross, Computer Networking 5/e Source.
Sublayers Under the Network Layer: BOOTP & DHCP
Internet Ethernet Token Ring Video High Speed Router Host A: Client browser: REQUEST:http//mango.ee.nogradesu.edu/c461.
Chapter 6-2 the TCP/IP Layers. The four layers of the TCP/IP model are listed in Table 6-2. The layers are The four layers of the TCP/IP model are listed.
Final Review!. So how’s it all work? I boot my machine I open my browser and type The page loads What all just happened?
5: Link Layer Part Link Layer r 5.1 Introduction and services r 5.2 Error detection and correction r 5.3Multiple access protocols r 5.4 Link-Layer.
T ODAY TCP/IP T ROUBLESHOOTING U TILITIES E XAM R EVIEW L AB 11: C ONFIGURE DNS.
1 CS 4396 Computer Networks Lab TCP/IP Networking An Example.
Link Layer5-1 Synthesis: a day in the life of a web request  journey down protocol stack complete!  application, transport, network, link  putting-it-all-together:
CSCI 3335: C OMPUTER N ETWORKS A DAY IN THE LIFE OF A WEB REQUEST Vamsi Paruchuri University of Central Arkansas
Protocol Headers 0x0800 Internet Protocol, Version 4 (IPv4) 0x0806 Address Resolution Protocol (ARP) 0x8100 IEEE 802.1Q-tagged frame 0x86DD Internet Protocol,
Presented by Rebecca Meinhold But How Does the Internet Work?
Link Layer5-1 Synthesis: a “day” in the life of a web request  journey down protocol stack!  application, transport, network, link  putting-it-all-together:
1 DETAILS OF PROTOCOLS The Zoo Protocol - TCP - IP.
Known IP Address and Ethernet Address Transmit from B => F (B knows F’s IP Address) PATHIP Source IP Destination Ethernet Source Ethernet Destination.
An Analysis of Using Reflectors for Distributed Denial-of- Service Attacks Paper by Vern Paxson.
ARP ‘n RARP. The Address Resolution Protocol (ARP) is a request sent out by a computer to find another computer’s MAC address. It already knows the IP.
5: DataLink Layer5-1 Virtualization of networks Virtualization of resources: powerful abstraction in systems engineering: r computing examples: virtual.
1 Pertemuan 23 Overview of Transport Layer Ports.
© 2002, Cisco Systems, Inc. All rights reserved..
1 Introductory material. This module illustrates the interactions of the protocols of the TCP/IP protocol suite with the help of an example. The example.
Final Examination of Internet Communication Protocol.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
Cisco I Introduction to Networks Semester 1 Chapter 7 JEOPADY.
End-host IP: MAC: 11:11:11:11:11 gateway IP: MAC: 22:22:22:22:22 Google server IP: interne t interface DNS server IP:
Communication Networks NETW 501 Tutorial 2
DCN286 Introduction to Data Communication Technology Session 11.
CSEN 404 Introduction to Networks Amr El Mougy Lamia AlBadrawy.
Web page – Html –base file – Objects (first DNS) First get html file Then browser reads the html and gets the objects.
Chapter 8.  Upon completion of this chapter, you should be able to:  Understand the purpose of a firewall  Name two types of firewalls  Identify common.
Virtualization of networks
A Typical Connection Scenario
Course Review 2015 Computer networks 赵振刚
Firewall Exercise.
Chapter 6 The Data Link layer
TCP/IP Networking An Example
Starting TCP Connection – A High Level View
When you connect with DHCP, you are assigned a
Chapters 1~5 Overview Computer Networking: A Top Down Approach 6th edition Jim Kurose, Keith Ross Addison-Wesley Prof. Hong Liu for ECE369 Adapted from.
46 to 1500 bytes TYPE CODE CHECKSUM IDENTIFIER SEQUENCE NUMBER OPTIONAL DATA ICMP Echo message.
Synthesis A day in the life of a web request
TCP Connection Management
Presentation transcript:

The complete picture Linux Network Management

End to End Connection Being able to describe the end to end connection sequence is a useful thing Very popular question on technical interviews Usually necessary in troubleshooting –If you don't know how it should work, you won't recognize problems when you see them

HTTP Connection How do we google??

What do we need? We need IP addresses for both ends We need MAC addresses for anything on the local subnet –End station if it's on local subnet –Gateway MAC if address is not local We need port numbers for TCP/UDP

What do we have??? A name for the destination - google.com Our own source IP address Our own MAC address Our own gateway IP address Our own DNS server IP address Well-known port addresses (/etc/services) Our own subnet mask

ARP EXCHANGE what's your MAC? 00:C3:04:22:17:0A

Step 1 - Get the router MAC We need to get the IP address of the name google.com We will get that from the DNS server (IP in resolv.conf) Since the IP address of the DNS server is probably not local we need to send the DNS request to the router For that we need the MAC address of the router Packet 1 Broadcast ARP request to router port IP

Step 2 - ARP response Assuming the router port is up we will get an ARP response with the MAC of the router port IF THERE IS A PROBLEM WE WILL SEE A TRACE WITH REPEATED ARP REQUESTS FOR THE ROUTER PORT AND NOTHING ELSE Packet 2 Unicast ARP response from router port

DNS LOOKUP who is google.com? DNS SERVER

Step 3 - DNS Request for Google.com Packet 3 DNS Query to DNS Server (in resolv.conf) for google.com Our Source IP and Source MAC Randomly generated Source Port Destination MAC is router port Destination IP is the DNS server Well known UDP DNS Port 53

Step 4 - DNS Response Packet 4 DNS Response from DNS Server with IP of google.com Destination IP and Destination MAC to us UDP Destination Port same as Source in request Source MAC is router port Source IP is the DNS server Source UDP DNS Port 53

TCP SYN-SYN/ACK-ACK SYN SYN/ACK ACK WEB SERVER

Step 5 - TCP SYN Packet 5 TCP SYN to HTTP Server Source MAC and IP from us Random TCP port Destination MAC is router port Destination IP is the HTTP Server Destination HTTP Port 80

Step 6 - TCP SYN/ACK Packet 6 TCP SYN/ACK from HTTP Server Destination MAC and IP is to us Same TCP port we used in SYN Source MAC is router port Source IP is the HTTP Server Source HTTP Port 80

Step 7 - TCP ACK Packet 7 TCP ACK to HTTP Server Source MAC and IP from us Same TCP port Destination MAC is router port Destination IP is the HTTP Server Destination HTTP Port 80

HTTP GET - TCP ACK HTTP GET TCP ACK WEB SERVER

Step 8 - HTTP GET Packet 8 HTTP GET to HTTP Server Source MAC and IP from us Same TCP port Destination MAC is router port Destination IP is the HTTP Server Destination HTTP Port 80 It's possible to have the GET with the ACK flag set (Piggy-back ACK)

Step 9 - TCP ACK Packet 9 TCP ACK from HTTP Server Destination MAC and IP is to us Same TCP port we used in SYN Source MAC is router port Source IP is the HTTP Server Source HTTP Port 80

HTTP RESPONSE - TCP ACK HTTP RESPONSE TCP ACK WEB SERVER

Step 10 - HTTP RESPONSE Packet 10 HTTP RESPONSE from HTTP Server Destination MAC and IP from us Same TCP port (remember - socket pair defines TCP connection) Source MAC is router port Source IP is the HTTP Server Destination HTTP Port 80

Step 11 - TCP ACK Packet 11 TCP ACK to HTTP Server Source MAC and IP is from us Same TCP ports Destination MAC is router port Destination IP is the HTTP Server Source HTTP Port 80