ICS 351: Networking Protocols

Similar documents
ICS 451: Today's plan

IP - The Internet Protocol. Based on the slides of Dr. Jorg Liebeherr, University of Virginia

Internet Control Message Protocol (ICMP)

Computer Networks. More on Standards & Protocols Quality of Service. Week 10. College of Information Science and Engineering Ritsumeikan University

CS 356: Computer Network Architectures. Lecture 10: IP Fragmentation, ARP, and ICMP. Xiaowei Yang

Problems of IP. Unreliable connectionless service. Cannot acquire status information from routers and other hosts

CS 457 Lecture 11 More IP Networking. Fall 2011

Internet Layers. Physical Layer. Application. Application. Transport. Transport. Network. Network. Network. Network. Link. Link. Link.

Fundamental Questions to Answer About Computer Networking, Jan 2009 Prof. Ying-Dar Lin,

Vorlesung Kommunikationsnetze

CIT 380: Securing Computer Systems. Network Security Concepts

Different Layers Lecture 20

Introduction to Computer Networks. CS 166: Introduction to Computer Systems Security

Layer 4: UDP, TCP, and others. based on Chapter 9 of CompTIA Network+ Exam Guide, 4th ed., Mike Meyers

Module 7 Internet And Internet Protocol Suite

History Page. Barracuda NextGen Firewall F

Network Layer (4): ICMP

Telecom Systems Chae Y. Lee. Contents. Overview. Issues. Addressing ARP. Adapting Datagram Size Notes

TCP/IP Networking. Training Details. About Training. About Training. What You'll Learn. Training Time : 9 Hours. Capacity : 12

Introduction to Internetworking

Internetworking/Internetteknik, Examination 2G1305 Date: August 18 th 2004 at 9:00 13:00 SOLUTIONS

ICMP (Internet Control Message Protocol)

CSCI-1680 Network Layer: IP & Forwarding Rodrigo Fonseca

Network Layer: Internet Protocol

To make a difference between logical address (IP address), which is used at the network layer, and physical address (MAC address),which is used at

Internet Protocol. Outline Introduction to Internet Protocol Header and address formats ICMP Tools CS 640 1

TCP/IP Networking. Part 4: Network and Transport Layer Protocols

The Internetworking Problem. Internetworking. A Translation-based Solution

CPSC 826 Internetworking. The Network Layer: Routing & Addressing Outline. The Network Layer

Assignment - 1 Chap. 1 Wired LAN s

CSCD58 WINTER 2018 WEEK 6 - NETWORK LAYER PART 1. Brian Harrington. February 13, University of Toronto Scarborough

Lecture 8. Basic Internetworking (IP) Outline. Basic Internetworking (IP) Basic Internetworking (IP) Service Model

(ICMP), RFC

TCP /IP Fundamentals Mr. Cantu

TSIN02 - Internetworking

Agenda L2 versus L3 Switching IP Protocol, IP Addressing IP Forwarding ARP and ICMP IP Routing First Hop Redundancy

CSE/EE 461 The Network Layer. Application Presentation Session Transport Network Data Link Physical

Lecture 8. Reminder: Homework 3, Programming Project 2 due on Thursday. Questions? Tuesday, September 20 CS 475 Networks - Lecture 8 1

Network Layer (1) Networked Systems 3 Lecture 8

MESSAGES error-reporting messages and query messages. problems processes IP packet specific information

CSCI-1680 Network Layer: IP & Forwarding Rodrigo Fonseca

Lab - Using Wireshark to Examine a UDP DNS Capture

Network layer: Overview. Network layer functions IP Routing and forwarding NAT ARP IPv6 Routing

Lecture 18 Overview. Last Lecture. This Lecture. Next Lecture. Internet Protocol (1) Internet Protocol (2)

Lab - Using Wireshark to Examine a UDP DNS Capture

Outline. SC/CSE 3213 Winter Sebastian Magierowski York University. ICMP ARP DHCP NAT (not a control protocol) L9: Control Protocols

Cisco CCIE Security Written.

Department of Computer and IT Engineering University of Kurdistan. Network Layer. By: Dr. Alireza Abdollahpouri

Lecture 11: IP routing, IP protocols

Network layer: Overview. Network Layer Functions

CHAPTER-2 IP CONCEPTS

Concept Questions Demonstrate your knowledge of these concepts by answering the following questions in the space that is provided.

ECE 4450:427/527 - Computer Networks Spring 2017

Paper solution Subject: Computer Networks (TE Computer pattern) Marks : 30 Date: 5/2/2015

King Fahd University of Petroleum and Minerals College of Computer Sciences and Engineering Department of Computer Engineering

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

CSCI-1680 Network Layer: IP & Forwarding John Jannotti

Network concepts introduction & wireshark. workshop

Computer Network Fundamentals Spring Week 4 Network Layer Andreas Terzis

CS 457 Networking and the Internet. Problems. Mechanisms 9/21/16. Fall 2016 Indrajit Ray

Chapter 09 Network Protocols

Computer Networks Security: intro. CS Computer Systems Security

Network concepts introduction & wireshark

Configuring Routes on the ACE

Each ICMP message contains three fields that define its purpose and provide a checksum. They are TYPE, CODE, and CHECKSUM fields.

Internet Protocols (chapter 18)

NETWORK PACKET ANALYSIS PROGRAM

User Datagram Protocol

McGraw-Hill The McGraw-Hill Companies, Inc., 2000

CIS 632 / EEC 687 Mobile Computing

TCP/IP Overview. Basic Networking Concepts. 09/14/11 Basic TCP/IP Networking 1

Fundamentals of Computer Networking AE6382

TCP/IP THE TCP/IP ARCHITECTURE

Interconnecting Networks with TCP/IP. 2000, Cisco Systems, Inc. 8-1

Internet Control Message Protocol (ICMP), RFC 792. Prof. Lin Weiguo Copyleft 2009~2017, School of Computing, CUC

Chapter 2 - Part 1. The TCP/IP Protocol: The Language of the Internet

ICMP (Internet Control Message Protocol)

ETSF05/ETSF10 Internet Protocols Network Layer Protocols

Protocol Layers & Wireshark TDTS11:COMPUTER NETWORKS AND INTERNET PROTOCOLS

CS475 Networks Lecture 8 Chapter 3 Internetworking. Ethernet or Wi-Fi).

CCNA 1 Chapter 7 v5.0 Exam Answers 2013

CSE/EE 461 Lecture 13 Connections and Fragmentation. TCP Connection Management

The Network 15 Layer IPv4 and IPv6 Part 3

Router Architecture Overview

1. Which OSI layers offers reliable, connection-oriented data communication services?

CSCI Networking Name:

TCP/IP Protocol Suite

Last time. Network layer. Introduction. Virtual circuit vs. datagram details. IP: the Internet Protocol. forwarding vs. routing

CS 348 Computer Networks. IP and Routing. Indian Institute of Technology, Bombay

ETSF10 Internet Protocols Network Layer Protocols

Table of Contents 1 System Maintaining and Debugging Commands 1-1

Networking interview questions

Introduction to IPv6. IPv6 addresses

Chapter 12 Network Protocols

Introduction to routing in the Internet

ECPE / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

Question 7: What are Asynchronous links?

ELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

IPv6 Protocols and Networks Hadassah College Spring 2018 Wireless Dr. Martin Land

Chapter 4: Network Layer

Transcription:

ICS 351: Networking Protocols IP packet forwarding application layer: DNS, HTTP transport layer: TCP and UDP network layer: IP, ICMP, ARP data-link layer: Ethernet, WiFi 1

Networking concepts each protocol provides some functionality to the protocol above it, uses some functionality from the protocol below it interfaces can be in promiscuous mode, where they listen to all incoming data, and programs can be run on those interfaces to read the data the way the Internet works to provide communication among computers is captured by a collection of protocols, particularly IP, TCP, DNS, and HTTP 2

Networking issues there are many potential issues on the Internet, with many ways that data might be discarded, computers disconnected, and traffic slow security is important to users, but requires careful implementation servers are programs, not machines "server" may also designate a machine on which the server runs 3

Lessons learned in the lab (1/2) don't use the upload port unless you need to! mis-configuration is often a source of problems (sometimes rebooting helps, other times it doesn't) familiarity with tools: ping, traceroute, telnet, wireshark/tcpdump, and many more familiarity with Cisco IOS, Linux routers are computers that (a) run a routing protocol, and (b) forward packets from one interface to another 4

Lessons learned in the lab (2/2) switches/bridges are computers that forward packets from one interface to another NAT/firewalls are computers that forward selected packets from one interface to another by changing the IP and TCP/UDP/ICMP headers all routing protocols are designed to automatically build routing tables all forwarding of IP packets is based on the routing table 5

Networking Protocols: DNS a hierarchical naming system with delegation of authority for subtrees and a distributed read-only cacheable database a zone is the contiguous part of a subtree which has its own name servers and is administered independently caching is used throughout, the TTL specifies how long information may be cached DNS queries usually use UDP, but other DNS functions may use TCP 6

Networking Protocols: DNS queries a client (resolver) sends a query to a server, which may: respond to it, from its own or cached data, respond negatively, but provide the address of another server closer to the destination (iterative query), or recursively query another server closer to the destination and return the answer to the client 7

Networking Protocols: HTTP a client (browser) sends a query to a server over a TCP connection, the server responds the headers are printable ASCII (until HTTP/2) Host: gives the domain name part of the URL Content-Type: many different content types Accept: specifies which content types are acceptable connections are usually closed by the server, immediately or after a given time (e.g. 5min) 8

Networking Protocols: TCP TCP provides reliable end-to-end communication IP provides end-to-end communication TCP sends streams of bytes (not blocks) a stream is an ordered sequence of bytes port numbers select among different applications running on the same machine but really, remote and local port numbers identify a socket on the local machine 9

Networking Protocols: TCP reliable transmission sequence numbers and acknowledgements, and retransmissions when there is a timeout, are used to make the transmission reliable flow control window is used to let the receiver slow down the sender congestion control "window" is used by the sender to slow down when the network is congested 10

Networking Protocols: UDP the User Datagram Protocol encapsulates the user data with port numbers, a checksum and length for correctness, and an IP header UDP is not reliable UDP is connectionless UDP is datagram (block) oriented rather than byte-stream oriented UDP provides the same kind of ports as TCP 11

Networking Protocols: IP the Internet Protocol allows communication among networks end-to-end connectionless data transmission IP header has source and destination IP address, support for fragmentation, and TTL routing is based only on the destination address packets may be lost, reordered, duplicated, delayed due to routing errors, congestion, or misconfiguration 12

Networking Protocols: IPv6 the next generation Internet Protocol essentially the same as IP, except for the addresses: 128 bits, built-in structure ::1 is the loopback address no need for ARP or DHCP (replaced by NDP), less need for NAT everything else should work almost the same on top of IPv6 as over IPv4 13

Networking Protocols: ICMP ICMP Echo: for testing whether IP is being delivered end-to-end ICMP Destination Unreachable: to report a packet being dropped due to routing problems ICMP Destination Unreachable because Fragmentation needed: to report a packet being dropped due to exceeding local MTU ICMP Redirect: to report a better first-hop router ICMP time exceeded in transit: TTL reached 0 14

Networking Protocols: ARP the routing table provides the IP address of the next hop the routing table does not provide the Ethernet address (hardware address) of the next hop so, broadcast an ARP request with the IP address of the next hop as well as of the sender the next hop (or a proxy) replies giving its hardware address, temporarily saved in the ARP cache 15

Networking Protocols: Ethernet source and destination addresses broadcast is the default mode of transmission broadcast doesn't work if there are loops use STP to restricts the broadcast broadcast is inefficient and less secure smart switches learn where different hosts are by remembering the source address a learning switch need not broadcast if it knows the segment for a destination 16

Networking Protocols: WiFi/802.11 much in common with Ethernet, including broadcasting no wires needed easy to intercept, so security protocols: WEP (useless against a serious attacker), WPA, WPA2 usually used in managed mode with a single Wireless Access Point (WAP) can be used in ad-hoc mode 17