Experiential Learning Workshop on Understanding Network Basics

Size: px
Start display at page:

Download "Experiential Learning Workshop on Understanding Network Basics"

Transcription

1 Experiential Learning Workshop on Understanding Network Basics June 27, 2018 Dr. Ram P Rustagi Professor, CSE Dept KSIT, Bangalore rprustagi@ksit.edu.in

2 Resources & Acknowledgements Resources Learning.html Articles in ACCS Journal Source code and examples for articles Slides for this talks Example web pages, and programs Acknowledgements: Computer Networks: A Top Down Approach - Kurose, Ross!2

3 Day 1: Basics of Networking Overview Introduction to basic networking Tools Handson 1: using networking tools TCP/IP Stack 4 layer model Analysis of layers in IP, TCP/UDP and HTTP Handson-2: layers in ping, nc, http IP addressing, subnetting and routing Hierchical addressing Handson-3: Subnet mismatch and reachability Supernetting, longest prefix match Handson-4: Overlapping subnets, longest match Summary!3

4 Day 2: Basics of Socket Programming Overview: sockets Simple client server programs Handson-1: Writing TCP and UDP server Errors in socket programming Network byte order, buffer mgmt, socket close Handson-2: Network byte order, socket close Multiple concurrent client communication Socket call return value and reliability Handson-3: Handling concurrent clients, listen TCP Streaming and UDP Message boundary Handson-4: TCP streaming & UDP msg boundary Summary!4

5 Day 3: Basics of Web Security Overview: HTTPS protocol Server certificate and server authentication Handson-1: Deploying a SSL certificate Mixed content and browser warnings Locks icons and HTTP Status Handson-2: Creating website with mixed content MITM attack and ARP spoofing MITM with browser and information stealing Handson-3: Implementing MITM with arpspoofing Understanding HSTS, CSP Handson-4: Implementing ARP Spoofing Summary!5

6 Day 1: Basics of Networking Overview Introduction to basic networking Tools Hands-on 1: using networking tools TCP/IP Stack 4 layer model Analysis of layers in IP, TCP/UDP and HTTP Handson-2: layers in ping, nc, http IP addressing, subnetting and routing Hierchical addressing Handson-3: Subnet mismatch and reachability Supernetting, longest prefix match Handson-4: Overlapping subnets, longest match Summary!6

7 NETWORK Novel Experience of Theoretical, Working, Operational, and Realized Knowledge Acronym!7

8 The Web Today Total num of hostnames and active sites (June 2018) src: category/web-server-survey/ Number of sitenames and active sites Sitenames: 1.6+B, Active sites: 177+M Web server vendors June 2018: Apache: 25%, MS IIS : 32%, Nginx: 23% Web Clients: GUI browsers, text browsers Communication protocols HTTP, HTTPS Extension of HTTP: WebDAV, CarDAV, CalDAV!8

9 Setup Requirement Internet S1 Ha: /24 Hb: /24!9

10 Day 1: Basics of Networking Overview Introduction to basic networking Tools Hands-on 1: using networking tools TCP/IP Stack 4 layer model Analysis of layers in IP, TCP/UDP and HTTP Handson-2: layers in ping, nc, http IP addressing, subnetting and routing Hierchical addressing Handson-3: Subnet mismatch and reachability Supernetting, longest prefix match Handson-4: Overlapping subnets, longest match Summary!10

11 Tools wireshark wsug_html_chunked/ Enables viewing of bytes sent/recd on network Capture and Display filters Graphical, built on tcpdump TCP session display Changing UI options tcpdump: command line capture tool -o output file -c packet count -i interface names!11

12 !12

13 !13

14 L2 L3 L4 L7!14

15 Wireshark: UI Options Color coding Time format Packet reordering (in display) Defining protocol Using display filter Following TCP Stream Capture packets with proper capture filter needed for analyzing packet layers!15

16 Wireshark capture filters Traffic between A and either B or C host A and \( B or C\) Traffic between A any host except B host A and not B Capture TCP SYN or FIN pkts tcp[tcpflags] & (tcp-syn tcp-fin)!= 0 Web traffic containing data i.e. avoid TCP acks tcp port 80 and (((ip[2:2] - ((ip[0]&0xf)<<2)) - ((tcp[12]&0xf0)>>2))!= 0)!16

17 Wireshark Display Filters Source IP filter ip.src == Destination IP filter ip.dst == ip.dst!= Protocol filter http icmp Port number tcp.port eq 80 TCP Seq tcp.stream eq 1!17

18 Wireshark - Misc Saving file Saving selected packets Reading from file Time display format Statistics Other options!18

19 tcpdump Command line interface ASCII content Capture full packet Capture filters Output file Ethernet frame display!19

20 tcpdump - Usage Examples To capture between two specified hosts and save $ sudo tcpdump -n -i eth0 -w file.pcap host <A> and host <B> To capture 100 packets received from server X $ tcpdump -n -i eth0 -c 100 src <X> To capture HTTP packets with data $ sudo tcpdump -n -i eth0 tcp port 80 and (((ip[2:2] - ((ip[0]&0xf)<<2)) - ((tcp[12]&0xf0)>>2))!= 0)'!20

21 Application Software Apache Web Server ( Configurations (/etc/apache2/apache2.config) /etc/apache2/sites-available/000-default.conf Directives Logging DocumentRoot Loadable Modules Virtual Host Firefox browser Options for configurations: about:config Nginx server, IIS server.!21

22 Tools wget: wget [options] <url> Options -d # to debug headers -O <file> # to save with different name -i <urlsfile> # list of urls in a file -c # to resume to broken download -b # run in background --limit-rate=500k --header=<headers> --http-user=user --http-password=.. -mk # mirroring with local link conversion!22

23 Tools - nc nc (netcat) Works as both layer client & server Supports both TCP and UDP Supports both IPv4 and IPv6 Common use Simple TCP/UDP based data transfer Shell script based HTTP clients and servers Network daemon testing SOCKS or HTTP ProxyCommand for ssh!23

24 Tools - nc nc usage -l acting as server -u use UDP -i for interval based transmission (lines) -k for keeping server up after connection close Examples nc <servername> <server port> # client nc -l port # server To transfer files Server: nc -l <port> >file.dat Client: cat <file> nc <servername> <port>!24

25 Usage: nc Terminating connection after idle time nc -w 10 <server> <port> # timeout 10s Don t use with server option Providing remote shell access on server to a client Create a FIFO file rm -f /tmp/f; mkfifo /tmp/f run nc on server by executing the shell cat /tmp/f /bin/bash -i 2>&1 nc -l 2222 > /tmp/f!25

26 Tools - ping ping (Packet Inter Network Groper) Checking reachability ping hostname -i changing packet interval -c packet count -f flooding the network -q quite mode -s change packet size -W response timeout!26

27 Usage: ping $ ping -c 10 PING ( ): 56 data bytes 64 bytes from : icmp_seq=0 ttl=47 time= ms 64 bytes from : icmp_seq=1 ttl=47 time= ms 64 bytes from : icmp_seq=2 ttl=47 time= ms 64 bytes from : icmp_seq=3 ttl=47 time= ms 64 bytes from : icmp_seq=4 ttl=47 time= ms 64 bytes from : icmp_seq=5 ttl=47 time= ms 64 bytes from : icmp_seq=6 ttl=47 time= ms 64 bytes from : icmp_seq=7 ttl=47 time= ms 64 bytes from : icmp_seq=8 ttl=47 time= ms 64 bytes from : icmp_seq=9 ttl=47 time= ms ping statistics packets transmitted, 10 packets received, 0.0% packet loss round-trip min/avg/max/stddev = / / / ms MacBook-Pro:EL-Understanding-Network-Delays ramrustagi$!27

28 Day 1: Basics of Networking Overview Introduction to basic networking Tools Hands-on 1: using networking tools TCP/IP Stack 4 layer model Analysis of layers in IP, TCP/UDP and HTTP Handson-2: layers in ping, nc, http IP addressing, subnetting and routing Hierchical addressing Handson-3: Subnet mismatch and reachability Supernetting, longest prefix match Handson-4: Overlapping subnets, longest match Summary!28

29 Hands-On 1 nc : chat between two systems Using both UDP and TCP ping: understand delay and response. check google and yahoo reachability. check your favourite website reachability wget: Downline contents of a website for offline use. wireshark Access and check capture. chat (nc) and analyze capture traceroute a site and analyze capture!29

30 Day 1: Basics of Networking Overview Introduction to basic networking Tools Hands-on 1: using networking tools TCP/IP Stack 4 layer model Analysis of layers in IP, TCP/UDP and HTTP Handson-2: layers in ping, nc, http IP addressing, subnetting and routing Hierchical addressing Handson-3: Subnet mismatch and reachability Supernetting, longest prefix match Handson-4: Overlapping subnets, longest match Summary!30

31 ISO/OSI reference model Internet stack missing following layers! presentation: allow applications to interpret meaning of data, e.g., encryption, compression, machine-specific conventions session: synchronization, checkpointing, recovery of data exchange Source: Kurose, Ross: Computer Networking, A Top Down Approach application presentation session transport network link physical!31

32 Internet protocol stack Application: supporting network applications- FTP, SMTP, HTTP Transport: process-process data transfer - TCP, UDP Network: routing of datagrams from source to destination IP, routing protocols Data Link: data transfer between neighboring network elements Ethernet, (WiFi), PPP Physical: bits on the wire application transport network link physical Source: Kurose, Ross: Computer Networking, A Top Down Approach!32

33 message segment datagram frame H l H n H n H t H t H t M M M M source application transport network link physical Encapsulation Source: Kurose, Ross: Computer Networking, A Top Down Approach link physical switch H l H n H n H t H t H t M M M M destination application transport network link physical H l H n H n H t H t M M network link physical H n H t M router!33

34 HTTP: Hyper Text Transfer Protocol Application layer protocol Defines how client requests web page from server A client/server model client: browser that requests, receives, (using HTTP protocol) and displays Web objects server: Web server sends (using HTTP protocol) objects in response to requests HTTP overview PC running Firefox browser iphone running Safari browser Source: Kurose, Ross: Computer Networking, A Top Down Approach HTTP request HTTP response HTTP request HTTP response server running Apache Web server!34

35 HTTP overview Underlying protocol: TCP HTTP is stateless protocol Server has no information about past requests from same clients. Stateful protocol Server is aware of past requests from clients. Server maintains the state of the client. If server crashes, the state may become inconsistent.!35

36 HTTP request message Two types of HTTP messages: request, response HTTP request message: ASCII (human-readable format) carriage return character request line (GET, POST, HEAD commands) header lines line-feed character GET /Workshop/PESU/hello.html HTTP/1.1\r\n Host: \r\n User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5)\r\n Accept: text/html,application/xhtml+xml\r\n Accept-Language: en-us,en;q=0.5\r\n Accept-Encoding: gzip,deflate\r\n Accept-Charset: ISO ,utf-8;q=0.7\r\n Keep-Alive: 115\r\n Connection: keep-alive\r\n If-Modified-Since: Tue, 26 Jul :47:12 GMT \r\n carriage return, line feed at start of line indicates end of header lines!36

37 HTTP response message status line (protocol status code status phrase) header lines HTTP/ OK\r\n Date: Sun, 26 Sep :09:20 GMT\r\n Server: Apache/ (CentOS)\r\n Last-Modified: Tue, 30 Oct :00:02 GMT\r\n ETag: "17dc6-a5c-bf716880"\r\n Accept-Ranges: bytes\r\n Content-Length: 2652\r\n Keep-Alive: timeout=10, max=100\r\n Connection: Keep-Alive\r\n Content-Type: text/html; charset=iso \r\n \r\n data data data data data... data, e.g., requested HTML file!37

38 Day 1: Basics of Networking Overview Introduction to basic networking Tools Hands-on 1: using networking tools TCP/IP Stack 4 layer model Analysis of layers in IP, TCP/UDP and HTTP Handson-2: layers in ping, nc, http IP addressing, subnetting and routing Hierchical addressing Handson-3: Subnet mismatch and reachability Supernetting, longest prefix match Handson-4: Overlapping subnets, longest match Summary!38

39 HTTP request message: general format method sp URL sp version cr lf header field name value ~ ~ cr lf request line header lines header field name value cr lf cr lf entity body ~ ~ body!39

40 TCP segment structure URG: urgent data (generally not used) ACK: ACK # valid PSH: push data now (generally not used) RST, SYN, FIN: connection estab (setup, teardown commands) Internet checksum (as in UDP) head len 32 bits source port # dest port # sequence number acknowledgement number not used checksum U A P R S F application data (variable length) receive window Urg data pointer options (variable length) counting by bytes of data (not segments!) # bytes rcvr willing to accept Source: Kurose, Ross: Computer Networking, A Top Down Approach!40

41 Wireshark Capture Filters Connection setup tcp[tcpflags] & (tcp-syn)!= 0 Connection teardown only tcp[tcpflags] & (tcp-fin)!= 0 Connection reset only tcp[tcpflags] & (tcp-rst)!= 0 HTTP connections with some data 'port 80 and (((ip[2:2] - ((ip[0]&0xf)<<2)) - ((tcp[12]&0xf0)>>2))!= 0)!41

42 TCP seq. numbers, ACKs Host A Host B User types C host ACKs receipt of echoed C Seq=42, ACK=79, data = C Seq=79, ACK=43, data = C Seq=43, ACK=80 host ACKs receipt of C, echoes back C simple telnet scenario Source: Kurose, Ross: Computer Networking, A Top Down Approach!42

43 TCP seq. numbers, ACKs v TCP Bi-Directional Data Xfer : Simple example v Server program: (i=6; while [ $i -gt 0 ]; do sleep 1; echo "From Server, the value is $i"; i=$(($i - 1)); done) nc -l 3333 v Client programs: (i=0; while [ $i -le 5 ]; do echo "Request $i"; sleep 1; i=$(($i + 1)); done) nc <m/c IP> 3333!43

44 Transport Layer Protocol Characteristics Connection less May arrive out of order In order delivery requires pkts to be numbered. No acknowledgement, Packets may be lost No prior handshake Connection oriented Setup, data transfer and teardown phase Provides reliability, ordered delivery Handles error control in a better way *!44

45 Transport Layer Reliability Support Reliability Needs error and flow control Compels slower service Unreliable protocol No extra overheads Reliability at data link layer Provides error and flow control Why do we need it at Transport layer when Link layer provides the same *!45

46 IP datagram format IP protocol version number header length (bytes) type of data max number remaining hops (decremented at each router) upper layer protocol to deliver payload to how much overhead? 20 bytes of TCP 20 bytes of IP = 40 bytes + app layer overhead ver head. len 16-bit identifier time to live type of service upper layer 32 bits flgs length 32 bit source IP address data (variable length, typically a TCP or UDP segment) fragment offset header checksum 32 bit destination IP address options (if any) total datagram length (bytes) for fragmentation/ reassembly e.g. timestamp, record route taken, specify list of routers to visit.!46

47 ARP: IP to MAC 32-bit IP address: Network-layer address for interface MAC (or Ethernet) address: 48 bit MAC address (burned in NIC) Sometimes software settable e.g.: 1A-2F-BB AD!47

48 Ethernet frame structure Encapsulates IP datagram (or other network layer protocol packet) in Ethernet frame Structure of Ethernet Frame preamble: 7 bytes with pattern followed by one byte with pattern used to synchronize receiver, sender clock rates type preamble dest. address source address data (payload) CRC!48

49 Ethernet frame structure addresses: 6 byte - src, dstn MAC addresses Adaptor receives pkt based on dstn MAC field Forwards to higher layer on matching unicast, multicast or broadcast address Discards otherwise type: higher layer protocol (e.g. IP) CRC: error detected: frame is dropped type preamble dest. address source address data (payload) CRC!49

50 Ethernet: unreliable, connectionless Connectionless: no handshaking between sending and receiving machines Unreliable: receiver doesnt send acks/nacks Ethernet s MAC protocol based on unslotted CSMA/CD with binary backoff!50

51 Self-learning, forwarding: example v frame destination, A, location unknown: Source: A Dest: A A A A flood C B vdestination A location known: selectively send on just one link MAC addr interface TTL A 1 60 A 4 60 switch table (initially empty) 6 A A B C A 4 A A 3!51

52 Day 1: Basics of Networking Overview Introduction to basic networking Tools Hands-on 1: using networking tools TCP/IP Stack 4 layer model Analysis of layers in IP, TCP/UDP and HTTP Handson-2: layers in ping, nc, http IP addressing, subnetting and routing Hierchical addressing Handson-3: Subnet mismatch and reachability Supernetting, longest prefix match Handson-4: Overlapping subnets, longest match Summary!52

53 Handson 2: Analysis of TCP/IP Layers Use wireshark to analyze TCP/IP layers Application layer: Capture web page access, analyze HTTP headers Transport layer: Use nc to communicate between two hosts Analyse TCP headers IP Layer: Analyze IP headers in web packets & nc chat Ethernet layer Analyze src and dstn MAC and type for ping, nc Analyze src/dstn MAC when ping to google.!53

54 Day 1: Basics of Networking Overview Introduction to basic networking Tools Hands-on 1: using networking tools TCP/IP Stack 4 layer model Analysis of layers in IP, TCP/UDP and HTTP Handson-2: layers in ping, nc, http IP addressing, subnetting and routing Hierchical addressing Handson-3: Subnet mismatch and reachability Supernetting, longest prefix match Handson-4: Overlapping subnets, longest match Summary!54

55 src: Chuck Semeria, NSD Marketing, 3Com Corp, 1996

56 Initial IP Addressing (Classful)

57 Dotted Decimal Notation

58 Subnets vip address: subnet part - high order bits host part - low order bits vwhat s a subnet? device interfaces with same subnet part of IP address can physically reach each other without intervening router subnet network consisting of 3 subnets Network Layer 4-40

59 Subnets v Subnet are Identified by subnet masks v A subnet mask defines one network v A router is needed to connect two networks v Masks for classful addresses Class A: or /8 Class B: or /16 Class C: or /24 v Classful addressing is obsolete now replaced with classless addressing (CIDR)

60 IP Subnetting

61 IP addressing: CIDR CIDR: Classless InterDomain Routing subnet portion of address of arbitrary length address format: a.b.c.d/x, where x is # bits in subnet portion of address subnet part /23 host part Network Layer 4-43

62 Subnets v Few terms to understand network portion and host portion network number apply subnet mask to IP address (bitwise AND) Broadcast address set all bits to 1 in host portion network mask set all bits to 0 in host portion first available address in the block value of host portion = 1 last available address in the block value of host portion = 2 n -2

63 Subnetting

64 Subnets how many? Network Layer 4-42

65 Day 1: Basics of Networking Overview Introduction to basic networking Tools Hands-on 1: using networking tools TCP/IP Stack 4 layer model Analysis of layers in IP, TCP/UDP and HTTP Handson-2: layers in ping, nc, http IP addressing, subnetting and routing Hierchical addressing Handson-3: Subnet mismatch and reachability Supernetting, longest prefix match Handson-4: Overlapping subnets, longest match Summary!65

66 Route Aggregation / / / / / / / /

67 Exercise: Summary Route Summary Route?

68 Hierarchical addressing: route aggregation Src: Furouzan - Data Communication and Networking, SIE 4th ed

69 Subnet example Base Net: = /24 Subnet #0: = /27 Subnet #1: = /27 Subnet #2: = /27 Subnet #3: = /27 Subnet #4: = /27 Subnet #5: = /27 Subnet #6: = /27 Subnet #7: = /27

70 Day 1: Basics of Networking Overview Introduction to basic networking Tools Hands-on 1: using networking tools TCP/IP Stack 4 layer model Analysis of layers in IP, TCP/UDP and HTTP Handson-2: layers in ping, nc, http IP addressing, subnetting and routing Hierchical addressing Handson-3: Subnet mismatch and reachability Supernetting, longest prefix match Handson-4: Overlapping subnets, longest match Summary!70

71 Hands-On 3 Internet Ha: / S1 3 Hb: /25 Hc: /26!71

72 Hands-On 3 Internet Ha: / S1 3 Hb: / /25 Hc: /26!72

73 Day 1: Basics of Networking Overview Introduction to basic networking Tools Hands-on 1: using networking tools TCP/IP Stack 4 layer model Analysis of layers in IP, TCP/UDP and HTTP Handson-2: layers in ping, nc, http IP addressing, subnetting and routing Hierchical addressing Handson-3: Subnet mismatch and reachability Supernetting, longest prefix match Handson-4: Overlapping subnets, longest match Summary!73

74 Forwarding Table vneeds at least 4 entries in forwarding table Network Address Network Mask Next Hop Address Interface vforwarding table principles Each routers makes its decision independently Different routers may have different information Tells how to reach destination but not how to get back veffect of Forwarding Table principles Packets are forwarded on hop by hop basis Packets from A to B go via path X but return via path Y

75 Using Forwarding (Routing) Table vfor a given packet take the destination address repeat the following for each entry in routing table apply the netmask match the computed n/w number with routing table entry if matches forward the packet to next-hop on listed interface exit else continue to next entry when no match found (assuming /0 not defined) drop the packet

76 Longest Prefix Match ISPs-R-Us has a more specific route to Organization 1 Organization /23 Organization /23 Organization 7.. Fly-By-Night-ISP Send me anything with addresses beginning /20 Internet /23 Organization /23 ISPs-R-Us Send me anything with addresses beginning /16 or /23 Network Layer 4-54

77 Organization /23 Route Aggregation w/ Longest Prefix Match Exercise: Build Forwarding Table for R1, R2 and R3 Note: R3 will use longest prefix match Organization /23 Organization /23 Organization /23 m2... R1. m7 m0 m0 R2 m1 m1 Send me anything with addresses beginning /20 m0 m1 Send me anything with addresses beginning /16 or /23 Internet R3

78 Design the subnetting/routing N/w given: /24 - Each LAN has 10 hosts - serial link n/w needs two addresses - LAN of R3-R7-R6 needs 3 addresses

79 Day 1: Basics of Networking Overview Introduction to basic networking Tools Hands-on 1: using networking tools TCP/IP Stack 4 layer model Analysis of layers in IP, TCP/UDP and HTTP Handson-2: layers in ping, nc, http IP addressing, subnetting and routing Hierchical addressing Handson-3: Subnet mismatch and reachability Supernetting, longest prefix match Handson-4: Overlapping subnets, longest match Summary!79

80 Hands-On 4 lo i/f: /24 Internet Ha: / S1 3 lo i/f: /27 Hc: /24 Pkts to , and ? Hb: /24!80

81 H a: / /28 Hands-On 4 Internet Ha: /24 Hc: / S1 3 Pkts to , and , and ? Ha: /27 Hb: /24!81

82 Summary Network Tools: wireshark, nc, ping, ssh TCP/IP Stack Packet format: HTTP, TCP, IP, Ethernet IP Addressing IP routing Subnetting Hierarchical addressing!82

83 Thank You!83

Experiential Learning Workshop on Basics of Network Layer

Experiential Learning Workshop on Basics of Network Layer Experiential Learning Workshop on Basics of Network Layer July 03, 2018 Dr. Ram P Rustagi Professor, CSE Dept KSIT, Bangalore rprustagi@ksit.edu.in Resources & Acknowledgements Resources https://rprustagi.com/elnt/experiential-

More information

DATA COMMUNICATOIN NETWORKING

DATA COMMUNICATOIN NETWORKING DATA COMMUNICATOIN NETWORKING Instructor: Ouldooz Baghban Karimi Course Book: Computer Networking, A Top-Down Approach By: Kurose, Ross Introduction Course Overview Basics of Computer Networks Internet

More information

Experiential Learning Workshop on Transport & IP Routing

Experiential Learning Workshop on Transport & IP Routing Experiential Learning Workshop on Transport & IP Routing July 28, 2018 Dr. Ram P Rustagi Professor, CSE Dept KSIT, Bangalore rprustagi@ksit.edu.in Resources https://rprustagi.com/elnt/experiential- Learning.html

More information

EC441 Fall 2018 Introduction to Computer Networking Chapter4: Network Layer Data Plane

EC441 Fall 2018 Introduction to Computer Networking Chapter4: Network Layer Data Plane EC441 Fall 2018 Introduction to Computer Networking Chapter4: Network Layer Data Plane This presentation is adapted from slides produced by Jim Kurose and Keith Ross for their book, Computer Networking:

More information

Network Layer: Internet Protocol

Network Layer: Internet Protocol Network Layer: Internet Protocol Motivation Heterogeneity Scale Intering IP is the glue that connects heterogeneous s giving the illusion of a homogenous one. Salient Features Each host is identified by

More information

Guide to Networking Essentials, 6 th Edition. Chapter 5: Network Protocols

Guide to Networking Essentials, 6 th Edition. Chapter 5: Network Protocols Guide to Networking Essentials, 6 th Edition Chapter 5: Network Protocols Objectives Describe the purpose of a network protocol, the layers in the TCP/IP architecture, and the protocols in each TCP/IP

More information

Network Layer: Control/data plane, addressing, routers

Network Layer: Control/data plane, addressing, routers Network Layer: Control/data plane, addressing, routers CS 352, Lecture 10 http://www.cs.rutgers.edu/~sn624/352-s19 Srinivas Narayana (heavily adapted from slides by Prof. Badri Nath and the textbook authors)

More information

CS 43: Computer Networks. Layering & HTTP September 7, 2018

CS 43: Computer Networks. Layering & HTTP September 7, 2018 CS 43: Computer Networks Layering & HTTP September 7, 2018 Last Class: Five-layer Internet Model Application: the application (e.g., the Web, Email) Transport: end-to-end connections, reliability Network:

More information

Computer Networks. (Intensive Learning Experience) July 03, 2018

Computer Networks. (Intensive Learning Experience) July 03, 2018 Computer Networks (Intensive Learning Experience) July 03, 2018 Dr. Ram P Rustagi Dept of CSE KSIT, Bangalore rprustagi@ksit.edu.in http://www.rprustagi.com!1 Executive Summary Why ILE Covering employability

More information

Chapter 2 Application Layer

Chapter 2 Application Layer Chapter 2 Application Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 Application Layer 2-1 Some network apps e-mail web text messaging remote

More information

Application Layer: The Web and HTTP Sec 2.2 Prof Lina Battestilli Fall 2017

Application Layer: The Web and HTTP Sec 2.2 Prof Lina Battestilli Fall 2017 CSC 401 Data and Computer Communications Networks Application Layer: The Web and HTTP Sec 2.2 Prof Lina Battestilli Fall 2017 Outline Application Layer (ch 2) 2.1 principles of network applications 2.2

More information

CSC 401 Data and Computer Communications Networks

CSC 401 Data and Computer Communications Networks CSC 401 Data and Computer Communications Networks Network Layer IPv4, Format and Addressing,, IPv6 Prof. Lina Battestilli Fall 2017 Chapter 4 Outline Network Layer: Data Plane 4.1 Overview of Network layer

More information

CSC358 Week 2. Adapted from slides by J.F. Kurose and K. W. Ross. All material copyright J.F Kurose and K.W. Ross, All Rights Reserved

CSC358 Week 2. Adapted from slides by J.F. Kurose and K. W. Ross. All material copyright J.F Kurose and K.W. Ross, All Rights Reserved CSC358 Week 2 Adapted from slides by J.F. Kurose and K. W. Ross. All material copyright 1996-2016 J.F Kurose and K.W. Ross, All Rights Reserved Logistics Tutorial this Friday Assignment 1 will be out shortly

More information

Routers. Session 12 INST 346 Technologies, Infrastructure and Architecture

Routers. Session 12 INST 346 Technologies, Infrastructure and Architecture Routers Session 12 INST 346 Technologies, Infrastructure and Architecture Goals for Today Finish up TCP Flow control, timeout selection, close connection Network layer overview Structure of a router Getahead:

More information

CS 43: Computer Networks. HTTP September 10, 2018

CS 43: Computer Networks. HTTP September 10, 2018 CS 43: Computer Networks HTTP September 10, 2018 Reading Quiz Lecture 4 - Slide 2 Five-layer protocol stack HTTP Request message Headers protocol delineators Last class Lecture 4 - Slide 3 HTTP GET vs.

More information

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

CPSC 826 Internetworking. The Network Layer: Routing & Addressing Outline. The Network Layer 1 CPSC 826 Intering The Network Layer: Routing & Addressing Outline The Network Layer Michele Weigle Department of Computer Science Clemson University mweigle@cs.clemson.edu November 10, 2004 Network layer

More information

TCP /IP Fundamentals Mr. Cantu

TCP /IP Fundamentals Mr. Cantu TCP /IP Fundamentals Mr. Cantu OSI Model and TCP/IP Model Comparison TCP / IP Protocols (Application Layer) The TCP/IP subprotocols listed in this layer are services that support a number of network functions:

More information

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

ECPE / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition ECPE / COMP 177 Fall 2016 Some slides from Kurose and Ross, Computer Networking, 5 th Edition Course Organization Top-Down! Starting with Applications / App programming Then Transport Layer (TCP/UDP) Then

More information

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

ECPE / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition ECPE / COMP 177 Fall 2012 Some slides from Kurose and Ross, Computer Networking, 5 th Edition Application Layer Transport Layer Network Layer Link Layer Physical Layer 2 Application Layer HTTP DNS IMAP

More information

Communication Networks ( ) / Fall 2013 The Blavatnik School of Computer Science, Tel-Aviv University. Allon Wagner

Communication Networks ( ) / Fall 2013 The Blavatnik School of Computer Science, Tel-Aviv University. Allon Wagner Communication Networks (0368-3030) / Fall 2013 The Blavatnik School of Computer Science, Tel-Aviv University Allon Wagner Kurose & Ross, Chapter 4 (5 th ed.) Many slides adapted from: J. Kurose & K. Ross

More information

Master Course Computer Networks IN2097

Master Course Computer Networks IN2097 Chair for Network Architectures and Services Prof. Carle Department for Computer Science TU München Master Course Computer Networks IN2097 Prof. Dr.-Ing. Georg Carle Christian Grothoff, Ph.D. Chair for

More information

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 12

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 12 CMPE 150/L : Introduction to Computer Networks Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 12 1 Chapter 4: outline 4.1 introduction 4.2 virtual circuit and datagram networks 4.3 what

More information

Vorlesung Kommunikationsnetze

Vorlesung Kommunikationsnetze Picture 15 13 Vorlesung Kommunikationsnetze Prof. Dr. H. P. Großmann mit B. Wiegel sowie A. Schmeiser und M. Rabel Sommersemester 2009 Institut für Organisation und Management von Informationssystemen

More information

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

Chapter 2 - Part 1. The TCP/IP Protocol: The Language of the Internet Chapter 2 - Part 1 The TCP/IP Protocol: The Language of the Internet Protocols A protocol is a language or set of rules that two or more computers use to communicate 2 Protocol Analogy: Phone Call Parties

More information

internet technologies and standards

internet technologies and standards Institute of Telecommunications Warsaw University of Technology 2017 internet technologies and standards Piotr Gajowniczek Andrzej Bąk Michał Jarociński Network Layer The majority of slides presented in

More information

COMP211 Chapter 4 Network Layer: The Data Plane

COMP211 Chapter 4 Network Layer: The Data Plane COMP211 Chapter 4 Network Layer: The Data Plane All material copyright 1996-2016 J.F Kurose and K.W. Ross, All Rights Reserved Computer Networking: A Top Down Approach 7 th edition Jim Kurose, Keith Ross

More information

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

Layer 4: UDP, TCP, and others. based on Chapter 9 of CompTIA Network+ Exam Guide, 4th ed., Mike Meyers Layer 4: UDP, TCP, and others based on Chapter 9 of CompTIA Network+ Exam Guide, 4th ed., Mike Meyers Concepts application set transport set High-level, "Application Set" protocols deal only with how handled

More information

Quiz. Segment structure and fields Flow control (rwnd) Timeout interval. Phases transition ssthresh setting Cwnd setting

Quiz. Segment structure and fields Flow control (rwnd) Timeout interval. Phases transition ssthresh setting Cwnd setting Quiz v 10/30/2013 (Wednesday), 20 mins v Midterm question (available on website) v TCP basics Segment structure and fields Flow control (rwnd) Timeout interval v TCP Congestion control Phases transition

More information

CS 43: Computer Networks. 21: The Network Layer & IP November 7, 2018

CS 43: Computer Networks. 21: The Network Layer & IP November 7, 2018 CS 43: Computer Networks 21: The Network Layer & IP November 7, 2018 The Network Layer! Application: the application (e.g., the Web, Email) Transport: end-to-end connections, reliability Network: routing

More information

Chapter 2: outline. 2.6 P2P applications 2.7 socket programming with UDP and TCP

Chapter 2: outline. 2.6 P2P applications 2.7 socket programming with UDP and TCP Chapter 2: outline 2.1 principles of network applications app architectures app requirements 2.2 Web and HTTP 2.3 FTP 2.4 electronic mail SMTP, POP3, IMAP 2.5 DNS 2.6 P2P applications 2.7 socket programming

More information

Exercises: Basics of Networking II Experiential Learning Workshop

Exercises: Basics of Networking II Experiential Learning Workshop Exercises: Basics of Networking II Experiential Learning Workshop 1 General Guidelines 1. Make a team of two or three unless stated otherwise. 2. For each exercise, use wireshark capture to verify contents

More information

Chapter 2: outline. 2.6 P2P applications 2.7 socket programming with UDP and TCP

Chapter 2: outline. 2.6 P2P applications 2.7 socket programming with UDP and TCP Chapter 2: outline 2.1 principles of network applications 2.2 Web and HTTP 2.3 FTP 2.4 electronic mail SMTP, POP3, IMAP 2.5 DNS 2.6 P2P applications 2.7 socket programming with UDP and TCP Application

More information

ECE4110 Internetwork Programming. Introduction and Overview

ECE4110 Internetwork Programming. Introduction and Overview ECE4110 Internetwork Programming Introduction and Overview 1 EXAMPLE GENERAL NETWORK ALGORITHM Listen to wire Are signals detected Detect a preamble Yes Read Destination Address No data carrying or noise?

More information

EECS 3214: Computer Network Protocols and Applications

EECS 3214: Computer Network Protocols and Applications EECS 3214: Computer Network Protocols and Applications Suprakash Datta Course page: http://www.eecs.yorku.ca/course/3214 Office: LAS 3043 Email: datta [at] cse.yorku.ca These slides are adapted from Jim

More information

ECE 650 Systems Programming & Engineering. Spring 2018

ECE 650 Systems Programming & Engineering. Spring 2018 ECE 650 Systems Programming & Engineering Spring 2018 Networking Transport Layer Tyler Bletsch Duke University Slides are adapted from Brian Rogers (Duke) TCP/IP Model 2 Transport Layer Problem solved:

More information

IPv4 addressing, NAT. Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley.

IPv4 addressing, NAT. Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley. IPv4 addressing, NAT http://xkcd.com/195/ Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley Some materials copyright 1996-2012 J.F Kurose and K.W. Ross, All Rights

More information

Applied Networks & Security

Applied Networks & Security Applied Networks & Security TCP/IP Networks with Critical Analysis http://condor.depaul.edu/~jkristof/it263/ John Kristoff jtk@depaul.edu IT 263 Spring 2006/2007 John Kristoff - DePaul University 1 Critical

More information

The Network Layer Forwarding Tables and Switching Fabric

The Network Layer Forwarding Tables and Switching Fabric The Network Layer Forwarding Tables and Switching Fabric Smith College, CSC 249 February 27, 2018 1 Network Layer Overview q Network layer services v v Desired services and tasks Actual services and tasks

More information

Chapter 4: Network Layer

Chapter 4: Network Layer Chapter 4: Introduction (forwarding and routing) Review of queueing theory Routing algorithms Link state, Distance Vector Router design and operation IP: Internet Protocol IPv4 (datagram format, addressing,

More information

Application Layer: HTTP

Application Layer: HTTP Application Layer: HTTP EECS 3214 Slides courtesy of J.F Kurose and K.W. Ross, All Rights Reserved 23-Jan-18 1-1 Chapter 2: outline 2.1 principles of network applications 2.2 Web and HTTP 2.3 electronic

More information

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

Internet Layers. Physical Layer. Application. Application. Transport. Transport. Network. Network. Network. Network. Link. Link. Link. Internet Layers Application Application Transport Transport Network Network Network Network Link Link Link Link Ethernet Fiber Optics Physical Layer Wi-Fi ARP requests and responses IP: 192.168.1.1 MAC:

More information

Network Layer PREPARED BY AHMED ABDEL-RAOUF

Network Layer PREPARED BY AHMED ABDEL-RAOUF Network Layer PREPARED BY AHMED ABDEL-RAOUF Network layer transport segment from sending to receiving host on sending side encapsulates segments into datagrams on receiving side, delivers segments to transport

More information

Lecture 3. The Network Layer (cont d) Network Layer 1-1

Lecture 3. The Network Layer (cont d) Network Layer 1-1 Lecture 3 The Network Layer (cont d) Network Layer 1-1 Agenda The Network Layer (cont d) What is inside a router? Internet Protocol (IP) IPv4 fragmentation and addressing IP Address Classes and Subnets

More information

Lecture 8. Network Layer (cont d) Network Layer 1-1

Lecture 8. Network Layer (cont d) Network Layer 1-1 Lecture 8 Network Layer (cont d) Network Layer 1-1 Agenda The Network Layer (cont d) What is inside a router Internet Protocol (IP) IPv4 fragmentation and addressing IP Address Classes and Subnets Network

More information

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

Last time. Network layer. Introduction. Virtual circuit vs. datagram details. IP: the Internet Protocol. forwarding vs. routing Last time Network layer Introduction forwarding vs. routing Virtual circuit vs. datagram details connection setup, teardown VC# switching forwarding tables, longest prefix matching IP: the Internet Protocol

More information

EITF25 Internet Techniques and Applications L7: Internet. Stefan Höst

EITF25 Internet Techniques and Applications L7: Internet. Stefan Höst EITF25 Internet Techniques and Applications L7: Internet Stefan Höst What is Internet? Internet consists of a number of networks that exchange data according to traffic agreements. All networks in Internet

More information

User Datagram Protocol

User Datagram Protocol Topics Transport Layer TCP s three-way handshake TCP s connection termination sequence TCP s TIME_WAIT state TCP and UDP buffering by the socket layer 2 Introduction UDP is a simple, unreliable datagram

More information

CSCI Computer Networks Fall 2016

CSCI Computer Networks Fall 2016 source: computer-s-webdesign.com CSCI 4760 - Computer Networks Fall 2016 Instructor: Prof. Roberto Perdisci perdisci@cs.uga.edu These slides are adapted from the textbook slides by J.F. Kurose and K.W.

More information

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

Network layer: Overview. Network layer functions IP Routing and forwarding NAT ARP IPv6 Routing Network layer: Overview Network layer functions IP Routing and forwarding NAT ARP IPv6 Routing 1 Network Layer Functions Transport packet from sending to receiving hosts Network layer protocols in every

More information

Chapter 2 Application Layer

Chapter 2 Application Layer Chapter 2 Application Layer A note on the use of these ppt slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you see the animations;

More information

Network layer: Overview. Network Layer Functions

Network layer: Overview. Network Layer Functions Network layer: Overview Network layer functions IP Routing and forwarding NAT ARP IPv6 Routing 1 Network Layer Functions Transport packet from sending to receiving hosts Network layer protocols in every

More information

internet technologies and standards

internet technologies and standards Institute of Telecommunications Warsaw University of Technology 2015 internet technologies and standards Piotr Gajowniczek Andrzej Bąk Michał Jarociński Network Layer The majority of slides presented in

More information

Experiential Learning Workshop on Basics of Transport/Network Layer

Experiential Learning Workshop on Basics of Transport/Network Layer Experiential Learning Workshop on Basics of Transport/Network Layer July 05, 2018 Dr. Ram P Rustagi Professor, CSE Dept KSIT, Bangalore rprustagi@ksit.edu.in Resources & Acknowledgements Resources https://rprustagi.com/elnt/experiential-

More information

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

ELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition ELEC / COMP 177 Fall 2016 Some slides from Kurose and Ross, Computer Networking, 5 th Edition Presentation 2 Security/Privacy Presentations Nov 3 rd, Nov 10 th, Nov 15 th Upload slides to Canvas by midnight

More information

QUIZ: Longest Matching Prefix

QUIZ: Longest Matching Prefix QUIZ: Longest Matching Prefix A router has the following routing table: 10.50.42.0 /24 Send out on interface Z 10.50.20.0 /24 Send out on interface A 10.50.24.0 /22 Send out on interface B 10.50.20.0 /22

More information

Introduction to TCP/IP networking

Introduction to TCP/IP networking Introduction to TCP/IP networking TCP/IP protocol family IP : Internet Protocol UDP : User Datagram Protocol RTP, traceroute TCP : Transmission Control Protocol HTTP, FTP, ssh What is an internet? A set

More information

NT1210 Introduction to Networking. Unit 10

NT1210 Introduction to Networking. Unit 10 NT1210 Introduction to Networking Unit 10 Chapter 10, TCP/IP Transport Objectives Identify the major needs and stakeholders for computer networks and network applications. Compare and contrast the OSI

More information

Subnets. IP datagram format. The Internet Network layer. IP Fragmentation and Reassembly. IP Fragmentation & Reassembly. IP Addressing: introduction

Subnets. IP datagram format. The Internet Network layer. IP Fragmentation and Reassembly. IP Fragmentation & Reassembly. IP Addressing: introduction The Network layer Host, network layer functions: Network layer Routing protocols path selection R, OSPF, BGP Transport layer: TCP, forwarding table Link layer physical layer protocol addressing conventions

More information

Data Communication & Networks G Session 7 - Main Theme Networks: Part I Circuit Switching, Packet Switching, The Network Layer

Data Communication & Networks G Session 7 - Main Theme Networks: Part I Circuit Switching, Packet Switching, The Network Layer Data Communication & Networks G22.2262-001 Session 7 - Main Theme Networks: Part I Circuit Switching, Packet Switching, The Network Layer Dr. Jean-Claude Franchitti New York University Computer Science

More information

CSC 401 Data and Computer Communications Networks

CSC 401 Data and Computer Communications Networks CSC 401 Data and Computer Communications Networks Network Layer Overview, Router Design, IP Sec 4.1. 4.2 and 4.3 Prof. Lina Battestilli Fall 2017 Chapter 4: Network Layer, Data Plane chapter goals: understand

More information

Lecture 16: Network Layer Overview, Internet Protocol

Lecture 16: Network Layer Overview, Internet Protocol Lecture 16: Network Layer Overview, Internet Protocol COMP 332, Spring 2018 Victoria Manfredi Acknowledgements: materials adapted from Computer Networking: A Top Down Approach 7 th edition: 1996-2016,

More information

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

IP - The Internet Protocol. Based on the slides of Dr. Jorg Liebeherr, University of Virginia IP - The Internet Protocol Based on the slides of Dr. Jorg Liebeherr, University of Virginia Orientation IP (Internet Protocol) is a Network Layer Protocol. IP: The waist of the hourglass IP is the waist

More information

Lecture 04: Application Layer (Part 01) Principles and the World Wide Web (HTTP) Dr. Anis Koubaa

Lecture 04: Application Layer (Part 01) Principles and the World Wide Web (HTTP) Dr. Anis Koubaa NET 331 Computer Networks Lecture 04: Application Layer (Part 01) Principles and the World Wide Web (HTTP) Dr. Anis Koubaa Reformatted slides from textbook Computer Networking a top-down appraoch, Fifth

More information

Experiential Learning Workshop on Basics of Socket Programming

Experiential Learning Workshop on Basics of Socket Programming Experiential Learning Workshop on Basics of Socket June 28, 2018 Dr. Ram P Rustagi Professor, CSE Dept KSIT, Bangalore rprustagi@ksit.edu.in Resources https://rprustagi.com/elnt/experiential- Learning.html

More information

Networking Fundamentals

Networking Fundamentals Networking Fundamentals Network Startup Resource Center www.nsrc.org These materials are licensed under the Creative Commons Attribution-NonCommercial 4.0 International license (http://creativecommons.org/licenses/by-nc/4.0/)

More information

Hands-On Ethical Hacking and Network Defense

Hands-On Ethical Hacking and Network Defense Hands-On Ethical Hacking and Network Defense Chapter 2 TCP/IP Concepts Review Last modified 1-11-17 Objectives Describe the TCP/IP protocol stack Explain the basic concepts of IP addressing Explain the

More information

Process Communication COMPUTER NETWORKING Part 1

Process Communication COMPUTER NETWORKING Part 1 Process Communication COMPUTER NETWORKING Part 1 Fundamentals and Grand Tour of Computer Networking Thanks to the authors of the textbook [KR] for providing the base slides. I made several changes/additions.

More information

Chapter 4 Network Layer: The Data Plane

Chapter 4 Network Layer: The Data Plane Chapter 4 Network Layer: The Data Plane A note on the use of these Powerpoint slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you see

More information

network security s642 computer security adam everspaugh

network security s642 computer security adam everspaugh network security s642 adam everspaugh ace@cs.wisc.edu computer security today Announcement: HW3 to be released WiFi IP, TCP DoS, DDoS, prevention 802.11 (wifi) STA = station AP = access point BSS = basic

More information

Introduction to Internet. Ass. Prof. J.Y. Tigli University of Nice Sophia Antipolis

Introduction to Internet. Ass. Prof. J.Y. Tigli University of Nice Sophia Antipolis Introduction to Internet Ass. Prof. J.Y. Tigli University of Nice Sophia Antipolis What about inter-networks communications? Between LANs? Ethernet?? Ethernet Example Similarities and Differences between

More information

Internet Protocol (IP)

Internet Protocol (IP) CPSC 360 - Network Programming Internet Protocol (IP) Michele Weigle Department of Computer Science Clemson University mweigle@cs.clemson.edu March 14, 2005 http://www.cs.clemson.edu/~mweigle/courses/cpsc360

More information

ECE 4450:427/527 - Computer Networks Spring 2017

ECE 4450:427/527 - Computer Networks Spring 2017 ECE 4450:427/527 - Computer Networks Spring 2017 Dr. Nghi Tran Department of Electrical & Computer Engineering Lecture 6.2: IP Dr. Nghi Tran (ECE-University of Akron) ECE 4450:427/527 Computer Networks

More information

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

ELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition ELEC / COMP 177 Fall 2011 Some slides from Kurose and Ross, Computer Networking, 5 th Edition Topics This week: Network layer (IP, ARP, ICMP) Next week: More network layer (Routers and routing protocols)

More information

TCP/IP Networking Basics

TCP/IP Networking Basics TCP/IP Networking Basics 1 A simple TCP/IP Example A user on host argon.tcpip-lab.edu ( Argon ) makes a web access to URL http://neon.tcpip-lab.edu/index.html. What actually happens in the network? 2 HTTP

More information

CS Lecture 1 Review of Basic Protocols

CS Lecture 1 Review of Basic Protocols CS 557 - Lecture 1 Review of Basic Protocols IP - RFC 791, 1981 TCP - RFC 793, 1981 Spring 2013 These slides are a combination of two great sources: Kurose and Ross Textbook slides Steve Deering IETF Plenary

More information

Hierarchical Routing. Our routing study thus far - idealization all routers identical network flat no true in practice. administrative autonomy

Hierarchical Routing. Our routing study thus far - idealization all routers identical network flat no true in practice. administrative autonomy Hierarchical Routing Our routing study thus far - idealization all routers identical network flat no true in practice scale: with 50 million destinations: can t store all dest s in routing tables! routing

More information

Sirindhorn International Institute of Technology Thammasat University

Sirindhorn International Institute of Technology Thammasat University 1 Name...ID....Section. Seat No.. Sirindhorn International Institute of Technology Thammasat University Midterm Examination: Semester 2/2007 Course Title : ITS 332 Information Technology II Lab (Networking)

More information

Computer Network Fundamentals Spring Week 4 Network Layer Andreas Terzis

Computer Network Fundamentals Spring Week 4 Network Layer Andreas Terzis Computer Network Fundamentals Spring 2008 Week 4 Network Layer Andreas Terzis Outline Internet Protocol Service Model Addressing Original addressing scheme Subnetting CIDR Fragmentation ICMP Address Shortage

More information

Chapter 2: Application layer

Chapter 2: Application layer Chapter 2 Application Layer A note on the use of these ppt slides: Were making these slides freely available to all (faculty, students, readers). Theyre in PowerPoint form so you can add, modify, and delete

More information

CHAPTER-2 IP CONCEPTS

CHAPTER-2 IP CONCEPTS CHAPTER-2 IP CONCEPTS Page: 1 IP Concepts IP is a very important protocol in modern internetworking; you can't really comprehend modern networking without a good understanding of IP. Unfortunately, IP

More information

Chapter 4 Network Layer: The Data Plane

Chapter 4 Network Layer: The Data Plane Chapter 4 Network Layer: The Data Plane A note on the use of these Powerpoint slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you see

More information

Networking Technologies and Applications

Networking Technologies and Applications Networking Technologies and Applications Rolland Vida BME TMIT Transport Protocols UDP User Datagram Protocol TCP Transport Control Protocol and many others UDP One of the core transport protocols Used

More information

Lecture 4 The Network Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

Lecture 4 The Network Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it Lecture 4 The Network Layer Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it Network layer functions Transport packet from sending to receiving hosts Network layer protocols in every

More information

Network Security. Introduction to networks. Radboud University, The Netherlands. Autumn 2015

Network Security. Introduction to networks. Radboud University, The Netherlands. Autumn 2015 Network Security Introduction to networks Radboud University, The Netherlands Autumn 2015 What is a (computer) network Definition A computer network is two or more computers that are connected, so that

More information

cs144 Midterm Review Fall 2010

cs144 Midterm Review Fall 2010 cs144 Midterm Review Fall 2010 Administrivia Lab 3 in flight. Due: Thursday, Oct 28 Midterm is this Thursday, Oct 21 (during class) Remember Grading Policy: - Exam grade = max (final, (final + midterm)/2)

More information

Application. Transport. Network. Link. Physical

Application. Transport. Network. Link. Physical Transport Layer ELEC1200 Principles behind transport layer services Multiplexing and demultiplexing UDP TCP Reliable Data Transfer TCP Congestion Control TCP Fairness *The slides are adapted from ppt slides

More information

Last time. Wireless link-layer. Introduction. Characteristics of wireless links wireless LANs networking. Cellular Internet access

Last time. Wireless link-layer. Introduction. Characteristics of wireless links wireless LANs networking. Cellular Internet access Last time Wireless link-layer Introduction Wireless hosts, base stations, wireless links Characteristics of wireless links Signal strength, interference, multipath propagation Hidden terminal, signal fading

More information

Chapter 4: network layer

Chapter 4: network layer Chapter 4: network layer chapter goals: understand principles behind network layer services: network layer service models forwarding versus routing how a router works routing (path selection) broadcast,

More information

Chapter 4 Network Layer: The Data Plane. Part A. Computer Networking: A Top Down Approach

Chapter 4 Network Layer: The Data Plane. Part A. Computer Networking: A Top Down Approach Chapter 4 Network Layer: The Data Plane Part A All material copyright 996-06 J.F Kurose and K.W. Ross, All Rights Reserved Computer Networking: A Top Down Approach 7 th Edition, Global Edition Jim Kurose,

More information

Router Architecture Overview

Router Architecture Overview Chapter 4: r Introduction (forwarding and routing) r Review of queueing theory r Router design and operation r IP: Internet Protocol m IPv4 (datagram format, addressing, ICMP, NAT) m Ipv6 r Generalized

More information

Protocol Layers & Wireshark TDTS11:COMPUTER NETWORKS AND INTERNET PROTOCOLS

Protocol Layers & Wireshark TDTS11:COMPUTER NETWORKS AND INTERNET PROTOCOLS Protocol Layers & Wireshark TDTS11:COMPUTER NETWORKS AND INTERNET PROTOCOLS Mail seban649@student.liu.se Protocol Hi Hi Got the time? 2:00 time TCP connection request TCP connection response Whats

More information

Chapter 2 Advanced TCP/IP

Chapter 2 Advanced TCP/IP Tactical Perimeter Defense 2-1 Chapter 2 Advanced TCP/IP At a Glance Instructor s Manual Table of Contents Overview Objectives Teaching Tips Quick Quizzes Class Discussion Topics Additional Projects Additional

More information

CCNA 1 Chapter 7 v5.0 Exam Answers 2013

CCNA 1 Chapter 7 v5.0 Exam Answers 2013 CCNA 1 Chapter 7 v5.0 Exam Answers 2013 1 A PC is downloading a large file from a server. The TCP window is 1000 bytes. The server is sending the file using 100-byte segments. How many segments will the

More information

CCNA R&S: Introduction to Networks. Chapter 7: The Transport Layer

CCNA R&S: Introduction to Networks. Chapter 7: The Transport Layer CCNA R&S: Introduction to Networks Chapter 7: The Transport Layer Frank Schneemann 7.0.1.1 Introduction 7.0.1.2 Class Activity - We Need to Talk Game 7.1.1.1 Role of the Transport Layer The primary responsibilities

More information

Interconnecting Networks with TCP/IP

Interconnecting Networks with TCP/IP Chapter 8 Interconnecting s with TCP/IP 1999, Cisco Systems, Inc. 8-1 Introduction to TCP/IP Internet TCP/IP Early protocol suite Universal 1999, Cisco Systems, Inc. www.cisco.com ICND 8-2 TCP/IP Protocol

More information

EEC-682/782 Computer Networks I

EEC-682/782 Computer Networks I EEC-682/782 Computer Networks I Lecture 16 Wenbing Zhao w.zhao1@csuohio.edu http://academic.csuohio.edu/zhao_w/teaching/eec682.htm (Lecture nodes are based on materials supplied by Dr. Louise Moser at

More information

Introduction to TCP/IP

Introduction to TCP/IP Introduction to TCP/IP Properties and characteristics of TCP/IP IPv4 IPv6 Public vs private vs APIPA/link local Static vs dynamic Client-side DNS settings Client-side DHCP Subnet mask vs CIDR Gateway TCP/IP

More information

UDP and TCP. Introduction. So far we have studied some data link layer protocols such as PPP which are responsible for getting data

UDP and TCP. Introduction. So far we have studied some data link layer protocols such as PPP which are responsible for getting data ELEX 4550 : Wide Area Networks 2015 Winter Session UDP and TCP is lecture describes the two most common transport-layer protocols used by IP networks: the User Datagram Protocol (UDP) and the Transmission

More information

EE 610 Part 2: Encapsulation and network utilities

EE 610 Part 2: Encapsulation and network utilities EE 610 Part 2: Encapsulation and network utilities Objective: After this experiment, the students should be able to: i. Understand the format of standard frames and packet headers. Overview: The Open Systems

More information

Chapter 4 Network Layer

Chapter 4 Network Layer Chapter 4 Network Layer Reti degli Elaboratori Canale AL Prof.ssa Chiara Petrioli a.a. 2014/2015 We thank for the support material Prof. Kurose-Ross All material copyright 1996-2012 J.F Kurose and K.W.

More information