NetBSD Kernel Topics:

Size: px
Start display at page:

Download "NetBSD Kernel Topics:"

Transcription

1 NetBSD Kernel Topics: IP Processing mbuf structure Loadable Kernel Modules Interrupts Miscellaneous January 9, 2001 Router Plugins (Crossbow) Washington 1

2 IP Goals Understand the structure of IP processing in NetBSD Understand the IP packet format Become familiar with IP packet field access mbufs» accessing src and dst addresses, etc Understand the mbuf structure Become familiar with mbuf access routines» packet size» data location Stevens TCP/IP books impress upon you the importance of these ref. books January 9, 2001 Router Plugins (Crossbow) Washington 2

3 IPv6 What we are NOT going to talk about Everything we talk about will be in terms of IPv4 Router Plugins also supports IPv6 The code can be confusing IP Options» use IPv6 structures since they are superset of IPv4 Fast Forward Path Details of interaction between device drivers and IP actually, we ll talk about some of this Packet Scheduler Routing protocols daemons: routed, rsvpd, January 9, 2001 Router Plugins (Crossbow) Washington 3

4 NetBSD Kernel Topics: IP Processing mbuf structure Loadable Kernel Modules Interrupts Miscellaneous January 9, 2001 Router Plugins (Crossbow) Washington 4

5 Vocabulary: Terms Used in Stevens message: Transport protocol data given to IP datagram: message + IP header fragment: if datagram is too large for network: IP splits it. Each fragment contains its own IP header packet: fragment or datagram small enough for network frame: packet + data-link layer header January 9, 2001 Router Plugins (Crossbow) Washington 5

6 Protocol messages, IP Packets, Fragments, message IP UDP Application data fragment 1 datagram IP UDP application data packet IP Application data IP Application data fragment 2 fragment 3 link IP UDP application data link IP Application data link IP Application data frame Derived from Figure 8.7 from Wright/Stevens, Vol. 2 Washington January 9, 2001 Router Plugins (Crossbow) 6

7 IP Packet Format Vers HLen TOS Total length ID Flags Fragment Offset TTL Protocol Header Checksum Source Address Destination Address Source Port Destination Port... IP Header (with no Options fields) Transport Protocol (e.g. TCP, UDP) Header Packet Payload January 9, 2001 Router Plugins (Crossbow) Washington 7

8 IPv4 Forwarding in the NetBSD Kernel (APIC) T R A N S P O R T tcp/udp_input socket layer tcp/udp_output N E T W O R K ip6_input ipintr ip6_forward ip_forward ip6_output ip_output ipintrq: D A T A atmc_input atmc_output PS_Q packet_scheduler U P P E R L I N K apic_isr apic_intr apic_devoutput apic_start L O W E R input packets interrupts output packets January 9, 2001 Router Plugins (Crossbow) Washington 8

9 User IP in the NetBSD Kernel User Program T R A N S P O R T tcp/udp_input socket layer Waits in Socket Buffer for User Program to pick up tcp/udp_output N E T W O R K ipintr ipintrq: ip_forward Software Interrupt ip_output D A T A atmc_input atmc_output PS_Q packet_scheduler U P P E R L I N K apic_isr apic_intr apic_devoutput apic_start L O W E R input packets interrupts output packets Washington January 9, 2001 Router Plugins (Crossbow) 9

10 IP Packet Handling in the CB Kernel User Space Kernel T R socket layer A This Where NHere is Where are is the the gate are route rest that the of lookup gates? you the will gates? done? use. S P O R T tcp/udp_input tcp/udp_output N E T W O R K ip6_input ipintr ip6_forward ip_forward ip6_output ip_output sgate dgate SW Interrupt ipintrq: HW Interrupt D A T A atmc_input atmc_output PS_Q packet_scheduler U P P E R L I N K apic_isr apic_intr apic_devoutput apic_start L O W E R input packets interrupts output packets January 9, 2001 Router Plugins (Crossbow) Washington 10

11 Important Source Files (usr/src/sys/netinet/ip*) ip.h struct ip { } #define s ip_input.c ipintr() (This is ip_input routine) ip_forward() ip_output.c ip_output() January 9, 2001 Router Plugins (Crossbow) Washington 11

12 IP Packet Handling in CB Kernel with APIC Device Driver -- Device Dependent apic_intr()» read INTR_ACK: 0 => not for us, return» apic_isr() apic_isr()» read NOTIFY_LIST, next rcv channel needing attention Process descriptors for RCV channel swap words in each received mbuf (APIC BUG) link mbufs until we find end of frame verify CRC (just check flag set by APIC) atmc_input(packet) repeat repeat ipintr ip_forward ip_output ipintrq: atmc_input atmc_output apic_isr apic_intr apic_devoutput January 9, 2001 Router Plugins (Crossbow) Washington 12

13 IP Packet Handling in CB Kernel (continued) Device Driver - Dev. Independent atmc_input(): LLC/SNAP processing (if needed)» extract type (IP/RATM/ ) AAL5 processing» extract length» strip trailer aiu_getafix(packet) (flow table will be discussed later)» aiu_getafix stores a ptr to FTE in packet Enqueue in IP Queue ipintr ipintrq: ip_forward ip_output atmc_input atmc_output apic_isr apic_intr apic_devoutput January 9, 2001 Router Plugins (Crossbow) Washington 13

14 IP Packet Handling in CB Kernel (continued) IP Input -- ipintr(): Get next packet from IP Queue Do some basic checks, header, length, checksum process IP options aiu_dgate(&m,2) Router Plugins Dynamic Gate #2 if packet is not for us and we can forward it:» forward packet ip_forward() -- upcoming slide...» return aiu_dgate(&m,4) Router Plugins Dynamic Gate #4 protocol specific input routine e.g. tcp_input() ipintr ipintrq: atmc_input ip_forward ip_output atmc_output apic_isr apic_intrapic_devoutput January 9, 2001 Router Plugins (Crossbow) Washington 14

15 IP Packet Handling in CB Kernel (continued) IP Forwarding -- ip_forward(): decide if we need to send any redirects to sender aiu_dgate(&m,5) Router Plugins Dynamic Gate #5 route lookup ip_output() Update for Fred s new Gate also check details of if/when route lookup is done ipintr ipintrq: ip_forward ip_output atmc_input atmc_output apic_isr apic_intr apic_devoutput January 9, 2001 Router Plugins (Crossbow) Washington 15

16 IP Packet Handling in CB Kernel (continued) IP Output -- ip_output() aiu_dgate(&m,3) Router Plugins Dynamic Gate #3 if (no route yet)» get route check for special processing» ANEP Options anep_output() send on interface ipintr ip_forward ip_output ipintrq: atmc_input apic_isr apic_intr atmc_output apic_devoutput if DAN then afd_handle_dan_packet() :ACTIVE PROCESSING January 9, 2001 Router Plugins (Crossbow) Washington 16

17 IP Packet Handling in CB Kernel (continued) Device Driver Device Indep.-- atmc_output(): LLC/SNAP processing AAL5 processing (if needed) if packet_scheduling: enqueue for PS if!packet_scheduling: send to devoutput() Device Driver Device Dep. -- apic_devoutput() configure an APIC descriptor for each mbuf in packet Resume APIC TX channel ipintr ipintrq: ip_forward ip_output atmc_input atmc_output apic_isr apic_intr apic_devoutput January 9, 2001 Router Plugins (Crossbow) Washington 17

18 Note about Addresses The address structures in the Crossbow Kernel are IPv6 IPv6 address structures are a superset of IPv4 IPv6 address are 128 bits We will be using IPv4 addresses e.g IPv4 addresses are 32 bits Notation for using IPv4 address in IPv6: Use double colon before address: :: Double colon tells the utilities to set everything to the left to 0 s January 9, 2001 Router Plugins (Crossbow) Washington 18

19 NetBSD Kernel Topics IP Processing mbuf structure Loadable Kernel Modules Interrupts Miscellaneous January 9, 2001 Router Plugins (Crossbow) Washington 19

20 The mbuf Data Structure mbuf{} mbuf{} mbuf{} mbuf{} m_next m_nextpkt m_len m_data m_type m_flags MT_xxx 0 MT_xxx M_PKTHDR MT_xxx M_EXT MT_xxx M_PKTHDR M_EXT m_pkthdr.len m_pkthdr.rcvif m_ext.ext_buf m_ext.ext_free m_ext.ext_size Normal mbuf Normal mbuf with Packet Hdr 2048-byte cluster Cluster mbuf 2048-byte cluster Cluster mbuf with Packet Hdr January 9, 2001 Router Plugins (Crossbow) Washington 20

21 Highlight: (add Stevens like figures ) m_next vs m_nextpkt (figure 2.2 page 35)» m_next: points to next mbuf in THIS packet» m_nextpkt: points to the first mbuf of the NEXT packet m_len vs. m_pkthdr.len m_ext.ext_buf vs. m_data Which mbuf structure we use with APIC Example: Sorry: This was just one do m_pullup of my notes slides that get data pointer should have been removed print out src addr, dst addr before and protocol printing fields get Transport header pointer print out dst port January 9, 2001 Router Plugins (Crossbow) Washington 21

22 The mbuf Data Structure m_next m_nextpkt m_len m_data m_type m_flags mbuf{} 0 mbuf{} MT_DATAMT_xxx M_PKTHDR mbuf{} MT_xxx M_EXT mbuf{} MT_xxx M_PKTHDR M_EXT m_pkthdr.len Sorry: This was just one of my notes slides that should have been removed before printing m_pkthdr.rcvif m_ext.ext_buf m_ext.ext_free m_ext.ext_size 2048-byte cluster 2048-byte cluster January 9, 2001 Router Plugins (Crossbow) Washington 22

23 The mbuf Data Structure (example) head of queue tail of queue mbuf{} m_next m_nextpkt m_len m_data m_type next mbuf in chain 42 MT_DATA m_flags M_PKTHDR m_pkthdr.len 192 mbuf m_pkthdr.rcvif NULL packet header mbuf{} next mbuf in chain m_next m_nextpkt NULL m_len 100 m_data m_type MT_DATA m_flags 0 m_pkthdr.len m_pkthdr.rcvif mbuf{} m_next m_nextpkt m_len m_data m_type m_flags 50 bytes of data NULL NULL 50 MT_DATA 0 Ethernet header, IP header, UDP header 100 bytes of data next packet in queue January 9, 2001 Router Plugins (Crossbow) Washington 23

24 The mbuf Data Structure (example, continued) tail of queue mbuf{} m_next m_nextpkt m_len m_data m_type NULL 54 MT_HEADER m_flags M_PKTHDR m_pkthdr.len 1514 mbuf m_pkthdr.rcvif NULL packet header Ethernet header, IP header, TCP header next mbuf in chain mbuf{} m_next NULL m_nextpkt NULL m_len 1460 m_data m_type MT_DATA m_flags M_EXT m_pkthdr.len m_pkthdr.rcvif m_ext.ext_buf m_ext.ext_free m_ext.ext_size byte cluster 1460 bytes of data January 9, 2001 Router Plugins (Crossbow) Washington 24

25 NetBSD Kernel Topics IP Processing mbuf structure Loadable Kernel Modules Interrupts Miscellaneous January 9, 2001 Router Plugins (Crossbow) Washington 25

26 Loadable Kernel Modules Mechanism in NetBSD to dynamically load code into running kernel NetBSD System Utilities: modload(8) modunload(8) modstat(8) Module Types supported: System Call modules» When unloaded, returns to original system call» Any system call can be replace» Take care when replacing ioctl(2) since LKM uses it to load/unload modules!! Virtual File System modules Device Driver modules: Block and character device drivers Execution Interpreters: For binaries not normally usable by OS Miscellaneous modules» No defined interfaces» Up to user/developer to provide hooks to get to the code» This is what Router Plugins uses January 9, 2001 Router Plugins (Crossbow) Washington 26

27 Loadable Kernel Modules: modload Open /dev/lkm ioctl s will be performed on the open file descriptor Prelink module, open it and calculate size info system( ld -A /netbsd -e _<entry> -o <outfile> -T <addr=0> <module> ); Reserve Kernel memory: ioctl(lkm_fd, LMRESERV, size_info) returns kernel load address Relink at kernel load address Open relinked module and load it into kernel ioctl(lkm_fd, LMLOADBUF,...) Adjusting symbol table entry pointers and load it. sync(); Call the module s entry function to test it. Post-install if called for... ioctl(lkm_fd, LMSTAT,...) January 9, 2001 Router Plugins (Crossbow) Washington 27

28 NetBSD Kernel Topics IP Processing mbuf structure Loadable Kernel Modules Interrupts Miscellaneous January 9, 2001 Router Plugins (Crossbow) Washington 28

29 8 levels spl0 normal Interrupts splsoftclock low-priority clock processing splnet network protocol processing spltty terminal I/O splbio disk and tape I/O splimp network device I/O splclock high-priority clock processing splhigh all interrupts blocked Typical usage: int i; i = splimp(); [do something at device I/O level] splx(i); January 9, 2001 Router Plugins (Crossbow) Washington 29

30 NetBSD Kernel Topics IP Processing mbuf structure Loadable Kernel Modules Interrupts Miscellaneous January 9, 2001 Router Plugins (Crossbow) Washington 30

31 Other kernel details you must know No floating point No #include in header files More caveats and info from Fred later January 9, 2001 Router Plugins (Crossbow) Washington 31

TCP/IP Stack Introduction: Looking Under the Hood!

TCP/IP Stack Introduction: Looking Under the Hood! TCP/IP Stack Introduction: Looking Under the Hood! Shiv Kalyanaraman shivkuma@ecse.rpi.edu http://www.ecse.rpi.edu/homepages/shivkuma 1 Example program 1. Create UDP datagram socket; fill in server address

More information

SPC and Crossbow. John DeHart Acknowledgements

SPC and Crossbow. John DeHart Acknowledgements SPC and Crossbow John DeHart jdd@arl.wustl.edu January 10, 2001 WUGS Kits Workshop Washington 1 Acknowledgements Special Thanks to: Sumi Choi Anshul Kantawala Fred Kuhns Samphel Norden Jyoti Parwatikar

More information

6.033 Computer System Engineering

6.033 Computer System Engineering MIT OpenCourseWare http://ocw.mit.edu 6.033 Computer System Engineering Spring 2009 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms. L11: Link and Network

More information

Exercises. January 9, 2001 Router Plugins (Crossbow) Washington 1 WASHINGTON UNIVERSITY IN ST LOUIS

Exercises. January 9, 2001 Router Plugins (Crossbow) Washington 1 WASHINGTON UNIVERSITY IN ST LOUIS Exercises January 9, 2001 Router Plugins (Crossbow) Washington 1 Let s talk about Distribution and your plans. January 9, 2001 Router Plugins (Crossbow) Washington 2 Question? Is everyone experienced with

More information

Lecture 8: Other IPC Mechanisms. CSC 469H1F Fall 2006 Angela Demke Brown

Lecture 8: Other IPC Mechanisms. CSC 469H1F Fall 2006 Angela Demke Brown Lecture 8: Other IPC Mechanisms CSC 469H1F Fall 2006 Angela Demke Brown Topics Messages through sockets / pipes Receiving notification of activity Generalizing the event notification mechanism Kqueue Semaphores

More information

Topics. Lecture 8: Other IPC Mechanisms. Socket IPC. Unix Communication

Topics. Lecture 8: Other IPC Mechanisms. Socket IPC. Unix Communication Topics Lecture 8: Other IPC Mechanisms CSC 469H1F Fall 2006 Angela Demke Brown Messages through sockets / pipes Receiving notification of activity Generalizing the event notification mechanism Kqueue Semaphores

More information

The Network Stack. Chapter Network stack functions 216 CHAPTER 21. THE NETWORK STACK

The Network Stack. Chapter Network stack functions 216 CHAPTER 21. THE NETWORK STACK 216 CHAPTER 21. THE NETWORK STACK 21.1 Network stack functions Chapter 21 The Network Stack In comparison with some other parts of OS design, networking has very little (if any) basis in formalism or algorithms

More information

IP : Internet Protocol

IP : Internet Protocol 1/20 IP : Internet Protocol Surasak Sanguanpong nguan@ku.ac.th http://www.cpe.ku.ac.th/~nguan Last updated: July 30, 1999 Agenda 2/20 IP functions IP header format Routing architecture IP layer 3/20 defines

More information

Position of IP and other network-layer protocols in TCP/IP protocol suite

Position of IP and other network-layer protocols in TCP/IP protocol suite Position of IP and other network-layer protocols in TCP/IP protocol suite IPv4 is an unreliable datagram protocol a best-effort delivery service. The term best-effort means that IPv4 packets can be corrupted,

More information

WASHINGTON UNIVERSITY SEVER INSTITUTE OF TECHNOLOGY AN IMPLEMENTATION MODEL FOR CONNECTION-ORIENTED INTERNET PROTOCOLS

WASHINGTON UNIVERSITY SEVER INSTITUTE OF TECHNOLOGY AN IMPLEMENTATION MODEL FOR CONNECTION-ORIENTED INTERNET PROTOCOLS WASHINGTON UNIVERSITY SEVER INSTITUTE OF TECHNOLOGY AN IMPLEMENTATION MODEL FOR CONNECTION-ORIENTED INTERNET PROTOCOLS by CHARLES D. CRANOR Prepared under the direction of Professor Gurudatta M. Parulkar

More information

TABLE OF CONTENTS 1 INTRODUCTION 1 COIP-K IMPLEMENTATION REQUIREMENTS... 5 THESIS OUTLINE NETWORKING BACKGROUND 8

TABLE OF CONTENTS 1 INTRODUCTION 1 COIP-K IMPLEMENTATION REQUIREMENTS... 5 THESIS OUTLINE NETWORKING BACKGROUND 8 TABLE OF CONTENTS 1 INTRODUCTION 1 MOTIVATION................................... 3 COIP-K IMPLEMENTATION REQUIREMENTS............... 5 THESIS OUTLINE................................ 6 2 NETWORKING BACKGROUND

More information

Packet Header Formats

Packet Header Formats A P P E N D I X C Packet Header Formats S nort rules use the protocol type field to distinguish among different protocols. Different header parts in packets are used to determine the type of protocol used

More information

Network and Security: Introduction

Network and Security: Introduction Network and Security: Introduction Seungwon Shin KAIST Some slides are from Dr. Srinivasan Seshan Some slides are from Dr. Nick Mckeown Network Overview Computer Network Definition A computer network or

More information

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

Lecture 18 Overview. Last Lecture. This Lecture. Next Lecture. Internet Protocol (1) Internet Protocol (2) Last Lecture Internet Protocol (1) This Lecture Internet Protocol (2) Lecture 18 Overview Source: chapters 19.1, 19.2, 22,1 22.2, 26.6 Next Lecture Transport Control Protocol (1) Source: chapters 24.1,

More information

Lecture 2: Basic routing, ARP, and basic IP

Lecture 2: Basic routing, ARP, and basic IP Internetworking Lecture 2: Basic routing, ARP, and basic IP Literature: Forouzan, TCP/IP Protocol Suite: Ch 6-8 Basic Routing Delivery, Forwarding, and Routing of IP packets Connection-oriented vs Connectionless

More information

Zero-Copy Socket Splicing

Zero-Copy Socket Splicing Zero-Copy Socket Splicing Alexander Bluhm bluhm@openbsd.org Sunday, 29. September 2013 Agenda 1 Motivation 2 Kernel MBuf 3 Packet Processing 4 Socket Splicing 5 Interface 6 Implementation 7 Applications

More information

Proceedings of FREENIX Track: 2000 USENIX Annual Technical Conference. San Diego, California, USA, June 18 23, Jun-ichiro itojun Hagino

Proceedings of FREENIX Track: 2000 USENIX Annual Technical Conference. San Diego, California, USA, June 18 23, Jun-ichiro itojun Hagino Proceedings of FREENIX Track: 2000 USENIX Annual Technical Conference San Diego, California, USA, June 18 23, 2000 M B U F I S S U E S I N 4. 4 B S D I P V 6 / I P S E C S U P P O R T : E X P E R I E N

More information

Modernizing NetBSD Networking Facilities and Interrupt Handling. Ryota Ozaki Kengo Nakahara

Modernizing NetBSD Networking Facilities and Interrupt Handling. Ryota Ozaki Kengo Nakahara Modernizing NetBSD Networking Facilities and Interrupt Handling Ryota Ozaki Kengo Nakahara Overview of Our Work Goals 1. MP-ify NetBSD networking facilities 2.

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

CIS-331 Final Exam Fall 2015 Total of 120 Points. Version 1

CIS-331 Final Exam Fall 2015 Total of 120 Points. Version 1 Version 1 1. (25 Points) Given that a frame is formatted as follows: And given that a datagram is formatted as follows: And given that a TCP segment is formatted as follows: Assuming no options are present

More information

The Network Stack (1)

The Network Stack (1) The Network Stack (1) L41 Lecture 5 Dr Robert N. M. Watson 25 January 2017 Reminder: where we left off last term Long, long ago, but in a galaxy not so far away: Lecture 3: The Process Model (1) Lecture

More information

Outline. 1 Networking overview. 2 Systems issues. 3 OS networking facilities. 4 Implementing networking in the kernel

Outline. 1 Networking overview. 2 Systems issues. 3 OS networking facilities. 4 Implementing networking in the kernel Outline 1 Networking overview 2 Systems issues 3 OS networking facilities 4 Implementing networking in the kernel 1 / 41 Networks What is a network? - A system of lines/channels that interconnect - E.g.,

More information

EP2120 Internetworking/Internetteknik IK2218 Internets Protokoll och Principer

EP2120 Internetworking/Internetteknik IK2218 Internets Protokoll och Principer EP2120 Internetworking/Internetteknik IK2218 Internets Protokoll och Principer Homework Assignment 1 (Solutions due 20:00, Mon., 10 Sept. 2018) (Review due 20:00, Wed., 12 Sept. 2018) 1. IPv4 Addressing

More information

IPv4 Lecture 10a. COMPSCI 726 Network Defence and Countermeasures. Muhammad Rizwan Asghar. August 14, 2017

IPv4 Lecture 10a. COMPSCI 726 Network Defence and Countermeasures. Muhammad Rizwan Asghar. August 14, 2017 IPv4 Lecture 10a COMPSCI 726 Network Defence and Countermeasures Muhammad Rizwan Asghar August 14, 2017 Source of some slides: Princeton University Also thanks to J.F Kurose and K.W. Ross IPv4 Internet

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

CSCI-GA Operating Systems. Networking. Hubertus Franke

CSCI-GA Operating Systems. Networking. Hubertus Franke CSCI-GA.2250-001 Operating Systems Networking Hubertus Franke frankeh@cs.nyu.edu Source: Ganesh Sittampalam NYU TCP/IP protocol family IP : Internet Protocol UDP : User Datagram Protocol RTP, traceroute

More information

L41 - Lecture 5: The Network Stack (1)

L41 - Lecture 5: The Network Stack (1) L41 - Lecture 5: The Network Stack (1) Dr Robert N. M. Watson 27 April 2015 Dr Robert N. M. Watson L41 - Lecture 5: The Network Stack (1) 27 April 2015 1 / 19 Introduction Reminder: where we left off in

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

CIS-331 Final Exam Spring 2016 Total of 120 Points. Version 1

CIS-331 Final Exam Spring 2016 Total of 120 Points. Version 1 Version 1 1. (25 Points) Given that a frame is formatted as follows: And given that a datagram is formatted as follows: And given that a TCP segment is formatted as follows: Assuming no options are present

More information

Lecture 9: Internetworking

Lecture 9: Internetworking Lecture 9: Internetworking CSE 123: Computer Networks Alex C. Snoeren HW 2 due WEDNESDAY So what does IP do? Addressing Fragmentation E.g. FDDI s maximum packet is 4500 bytes while Ethernet is 1500 bytes,

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

CIS 551 / TCOM 401 Computer and Network Security. Spring 2006 Lecture 16

CIS 551 / TCOM 401 Computer and Network Security. Spring 2006 Lecture 16 CIS 551 / TCOM 401 Computer and Network Security Spring 2006 Lecture 16 Announcements Midterm II March 21st (One week from today) In class Same format as last time Will cover all material since Midterm

More information

Chapter 20 Network Layer: Internet Protocol 20.1

Chapter 20 Network Layer: Internet Protocol 20.1 Chapter 20 Network Layer: Internet Protocol 20.1 Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 20-1 INTERNETWORKING In this section, we discuss internetworking,

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

CSCI-1680 Network Layer: IP & Forwarding Rodrigo Fonseca

CSCI-1680 Network Layer: IP & Forwarding Rodrigo Fonseca CSCI-1680 Network Layer: IP & Forwarding Rodrigo Fonseca Based partly on lecture notes by David Mazières, Phil Levis, John Jannotti Today Network layer: Internet Protocol (v4) Forwarding Next 2 classes:

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

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

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

Introduction to Internetworking

Introduction to Internetworking Introduction to Internetworking Stefano Vissicchio UCL Computer Science COMP0023 Internetworking Goal: Connect many networks together into one Internet. Any computer can send to any other computer on any

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

Routing review/intro. TCP/IP class. Jim Binkley 1

Routing review/intro. TCP/IP class. Jim Binkley 1 Routing review/intro TCP/IP class 1 outline traceroute question review of a few IP fundamentals IP addresses routing table supernet/vlsm cisco routing table evolution 2 traceroute across cisco routers

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

CS 465 Networks. Disassembling Datagram Headers

CS 465 Networks. Disassembling Datagram Headers CS 465 Networks Disassembling Datagram Headers School of Computer Science Howard Hughes College of Engineering University of Nevada, Las Vegas (c) Matt Pedersen, 2006 Recall the first 5x4 octets of the

More information

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

CS 356: Computer Network Architectures. Lecture 10: IP Fragmentation, ARP, and ICMP. Xiaowei Yang CS 356: Computer Network Architectures Lecture 10: IP Fragmentation, ARP, and ICMP Xiaowei Yang xwy@cs.duke.edu Overview Homework 2-dimension parity IP fragmentation ARP ICMP Fragmentation and Reassembly

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

Lecture 2-ter. 2. A communication example Managing a HTTP v1.0 connection. Managing a HTTP request. transport session. Step 1 - opening transport

Lecture 2-ter. 2. A communication example Managing a HTTP v1.0 connection. Managing a HTTP request. transport session. Step 1 - opening transport Lecture 2-ter. 2 A communication example Managing a HTTP v1.0 connection Managing a HTTP request User digits URL and press return (or clicks ). What happens (HTTP 1.0): 1. opens a TCP transport session

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

The ASP Virtual Networking (VNET) Component. 23 July Abstract

The ASP Virtual Networking (VNET) Component. 23 July Abstract The ASP Virtual Networking (VNET) Component 23 July 2002 Abstract This document describes the implementation of the virtual networking (VNET) component of the ASP EE. VNET is a simple and modular implementation

More information

Internet Networking recitation #2 IP Checksum, Fragmentation

Internet Networking recitation #2 IP Checksum, Fragmentation Internet Networking recitation #2 IP Checksum, Fragmentation Winter Semester 2012, Dept. of Computer Science, Technion 1 IP Header Diagram Ver. IHL TOS Total Length Identification Flags Fragment Offset

More information

The Internet Protocol. IP Addresses Address Resolution Protocol: IP datagram format and forwarding: IP fragmentation and reassembly

The Internet Protocol. IP Addresses Address Resolution Protocol: IP datagram format and forwarding: IP fragmentation and reassembly The Internet Protocol IP Addresses Address Resolution Protocol: IP datagram format and forwarding: IP fragmentation and reassembly IP Addresses IP Addresses are 32 bit. Written in dotted decimal format:

More information

CIS-331 Exam 2 Fall 2014 Total of 105 Points. Version 1

CIS-331 Exam 2 Fall 2014 Total of 105 Points. Version 1 Version 1 1. (20 Points) Given the class A network address 119.0.0.0 will be divided into a maximum of 15,900 subnets. a. (5 Points) How many bits will be necessary to address the 15,900 subnets? b. (5

More information

Internet II. CS10 : Beauty and Joy of Computing. cs10.berkeley.edu. !!Senior Lecturer SOE Dan Garcia!!! Garcia UCB!

Internet II. CS10 : Beauty and Joy of Computing. cs10.berkeley.edu. !!Senior Lecturer SOE Dan Garcia!!!  Garcia UCB! cs10.berkeley.edu CS10 : Beauty and Joy of Computing Internet II!!Senior Lecturer SOE Dan Garcia!!!www.cs.berkeley.edu/~ddgarcia CS10 L17 Internet II (1)! Why Networks?! Originally sharing I/O devices

More information

IPv6 is Internet protocol version 6. Following are its distinctive features as compared to IPv4. Header format simplification Expanded routing and

IPv6 is Internet protocol version 6. Following are its distinctive features as compared to IPv4. Header format simplification Expanded routing and INTERNET PROTOCOL VERSION 6 (IPv6) Introduction IPv6 is Internet protocol version 6. Following are its distinctive features as compared to IPv4. Header format simplification Expanded routing and addressing

More information

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

CSE/EE 461 The Network Layer. Application Presentation Session Transport Network Data Link Physical CSE/EE 461 The Network Layer Application Presentation Session Transport Network Data Link Physical This Lecture Focus: What to do when one wire isn t big enough? Point to point link Broadcast link (Ethernet

More information

Computer Networking: A Top Down Approach Featuring the. Computer Networks with Internet Technology, William

Computer Networking: A Top Down Approach Featuring the. Computer Networks with Internet Technology, William Dr. John Keeney 3BA33 TCP/IP protocol architecture with IP OSI Model Layers TCP/IP Protocol Architecture Layers TCP/IP Protocol Suite Application Layer Application Layer Telnet FTP HTTP DNS RIPng SNMP

More information

Where we are in the Course

Where we are in the Course Network Layer Where we are in the Course Moving on up to the Network Layer! Application Transport Network Link Physical CSE 461 University of Washington 2 Network Layer How to connect different link layer

More information

Business Data Networks and Security 10th Edition by Panko Test Bank

Business Data Networks and Security 10th Edition by Panko Test Bank Business Data Networks and Security 10th Edition by Panko Test Bank Chapter 2 Network Standards 1) Internet standards are published as. A) RFCs B) IETFs C) TCP/IPs D) Internet Protocols Question: 1a Objective:

More information

The Network Layer. Antonio Carzaniga. April 22, Faculty of Informatics University of Lugano Antonio Carzaniga

The Network Layer. Antonio Carzaniga. April 22, Faculty of Informatics University of Lugano Antonio Carzaniga The Network Layer Antonio Carzaniga Faculty of Informatics University of Lugano April 22, 2010 Basic network-layer architecture of a datagram network Outline Introduction to forwarding Introduction to

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

MODULE: NETWORKS MODULE CODE: CAN1102C. Duration: 2 Hours 15 Mins. Instructions to Candidates:

MODULE: NETWORKS MODULE CODE: CAN1102C. Duration: 2 Hours 15 Mins. Instructions to Candidates: BSc.(Hons) Computer Science with Network Security BEng (Hons) Telecommunications Cohort: BCNS/17B/FT Examinations for 2017-2018 / Semester 2 Resit Examinations for BCNS/15A/FT, BTEL/15B/FT & BTEL/16B/FT

More information

Mike Anderson. TCP/IP in Embedded Systems. CTO/Chief Scientist The PTR Group, Inc.

Mike Anderson. TCP/IP in Embedded Systems. CTO/Chief Scientist The PTR Group, Inc. TCP/IP in Embedded Systems Mike Anderson CTO/Chief Scientist The PTR Group, Inc. RTC/GB-1 What We ll Talk About Networking 101 Stacks Protocols Routing Drivers Embedded Stacks Porting RTC/GB-2 Connected

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

Chapter 7 Internet Protocol Version 4 (IPv4) Kyung Hee University

Chapter 7 Internet Protocol Version 4 (IPv4) Kyung Hee University Chapter 7 Internet Protocol Version 4 (IPv4) 1 7.1 Introduction The transmission mechanism used by the TCP/IP Unreliable and connectionless datagram protocol Best-effort delivery service IP packets can

More information

A Scalable High-Performance Active Network Node

A Scalable High-Performance Active Network Node A Scalable High-Performance Active Network Node D. Decasper, B. Plattner ETH Zurich G. Parulkar, S. Choi, J. DeHart, T. Wolf Washington U Presented by Jacky Chu Motivation Apply Active Network over gigabits

More information

Introduction p. 1 The Need for Security p. 2 Public Network Threats p. 2 Private Network Threats p. 4 The Role of Routers p. 5 Other Security Devices

Introduction p. 1 The Need for Security p. 2 Public Network Threats p. 2 Private Network Threats p. 4 The Role of Routers p. 5 Other Security Devices Preface p. xv Acknowledgments p. xvii Introduction p. 1 The Need for Security p. 2 Public Network Threats p. 2 Private Network Threats p. 4 The Role of Routers p. 5 Other Security Devices p. 6 Firewall

More information

CIS-331 Exam 2 Fall 2015 Total of 105 Points Version 1

CIS-331 Exam 2 Fall 2015 Total of 105 Points Version 1 Version 1 1. (20 Points) Given the class A network address 117.0.0.0 will be divided into multiple subnets. a. (5 Points) How many bits will be necessary to address 4,000 subnets? b. (5 Points) What is

More information

TCP for OMNeT++ Roland Bless Mark Doll. Institute of Telematics University of Karlsruhe, Germany. Bless/Doll WSC

TCP for OMNeT++ Roland Bless Mark Doll. Institute of Telematics University of Karlsruhe, Germany. Bless/Doll WSC TCP for OMNeT++ Roland Bless Mark Doll Institute of Telematics University of Karlsruhe, Germany Bless/Doll WSC 2004 1 Overview Motivation Introduction OMNeT++ & TCP Concept for integration Implementation

More information

Operating Systems. 17. Sockets. Paul Krzyzanowski. Rutgers University. Spring /6/ Paul Krzyzanowski

Operating Systems. 17. Sockets. Paul Krzyzanowski. Rutgers University. Spring /6/ Paul Krzyzanowski Operating Systems 17. Sockets Paul Krzyzanowski Rutgers University Spring 2015 1 Sockets Dominant API for transport layer connectivity Created at UC Berkeley for 4.2BSD Unix (1983) Design goals Communication

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

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 Implementation

Network Implementation CS 256/456: Operating Systems Network Implementation John Criswell! University of Rochester 1 Networking Overview 2 Networking Layers Application Layer Format of Application Data Transport Layer Which

More information

Announcements. No book chapter for this topic! Slides are posted online as usual Homework: Will be posted online Due 12/6

Announcements. No book chapter for this topic! Slides are posted online as usual Homework: Will be posted online Due 12/6 Announcements No book chapter for this topic! Slides are posted online as usual Homework: Will be posted online Due 12/6 Copyright c 2002 2017 UMaine Computer Science Department 1 / 33 1 COS 140: Foundations

More information

This talk will cover the basics of IP addressing and subnetting. Topics covered will include:

This talk will cover the basics of IP addressing and subnetting. Topics covered will include: This talk will cover the basics of IP addressing and subnetting. Topics covered will include: What is an IP Address? What are Classes? What is a Network Address? What are Subnet Masks and Subnet Addresses?

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

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

Ref: A. Leon Garcia and I. Widjaja, Communication Networks, 2 nd Ed. McGraw Hill, 2006 Latest update of this lecture was on IP Version 4 (IPv4) Header (Continued) Identification (16 bits): One of the parameters of any network is the maximum transmission unit (MTU) parameter. This parameter specifies the maximum size of the

More information

K2289: Using advanced tcpdump filters

K2289: Using advanced tcpdump filters K2289: Using advanced tcpdump filters Non-Diagnostic Original Publication Date: May 17, 2007 Update Date: Sep 21, 2017 Topic Introduction Filtering for packets using specific TCP flags headers Filtering

More information

CE3005: Computer Networks Laboratory 3 SNIFFING AND ANALYSING NETWORK PACKETS

CE3005: Computer Networks Laboratory 3 SNIFFING AND ANALYSING NETWORK PACKETS SNIFFING AND ANALYSING NETWORK PACKETS 1. OBJECTIVE To further understand how the Internet really works and how the concept of encapsulation is being implemented in the different layers of the TCP/IP protocol

More information

No book chapter for this topic! Slides are posted online as usual Homework: Will be posted online Due 12/6

No book chapter for this topic! Slides are posted online as usual Homework: Will be posted online Due 12/6 Announcements No book chapter for this topic! Slides are posted online as usual Homework: Will be posted online Due 12/6 Copyright c 2002 2017 UMaine School of Computing and Information S 1 / 33 COS 140:

More information

Chapter 5 OSI Network Layer

Chapter 5 OSI Network Layer Chapter 5 OSI Network Layer The protocols of the OSI model Network layer specify addressing and processes that enable Transport layer data to be packaged and transported. The Network layer encapsulation

More information

CS 455: INTRODUCTION TO DISTRIBUTED SYSTEMS [NETWORKING] Frequently asked questions from the previous class surveys

CS 455: INTRODUCTION TO DISTRIBUTED SYSTEMS [NETWORKING] Frequently asked questions from the previous class surveys CS 455: INTRODUCTION TO DISTRIBUTED SYSTEMS [NETWORKING] The Receiver's Buffer Small it may be But throttle the mightiest sender It can Not just the how much But also the when Or if at all Shrideep Pallickara

More information

ROUTING INTRODUCTION TO IP, IP ROUTING PROTOCOLS AND PROXY ARP

ROUTING INTRODUCTION TO IP, IP ROUTING PROTOCOLS AND PROXY ARP IP ROUTING INTRODUCTION TO IP, IP ROUTING PROTOCOLS AND PROXY ARP Peter R. Egli 1/37 Contents 1. IP Routing 2. Routing Protocols 3. Fragmentation in the IP Layer 4. Proxy ARP 5. Routing and IP forwarding

More information

Chapter 10: I/O Subsystems (2)

Chapter 10: I/O Subsystems (2) ADRIAN PERRIG & TORSTEN HOEFLER ( 252-0062-00 ) Networks and Operating Systems Chapter 10: I/O Subsystems (2) BE CAREFUL WITH I/O DEVICES! Our Small Quiz True or false (raise hand) Open files are part

More information

Review: Hardware user/kernel boundary

Review: Hardware user/kernel boundary Review: Hardware user/kernel boundary applic. applic. applic. user lib lib lib kernel syscall pg fault syscall FS VM sockets disk disk NIC context switch TCP retransmits,... device interrupts Processor

More information

Ultra-Lightweight Encapsulation (ULE)

Ultra-Lightweight Encapsulation (ULE) Ultra-Lightweight Encapsulation (ULE) Gorry Fairhurst Electronics Research Group Department of Engineering IETF-57 Vienna IP/MPEG-2 Ultra Lightweight Encapsulation Conclusions Questions IPv6, ROHC, Other

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

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

Chapter 10: I/O Subsystems (2)

Chapter 10: I/O Subsystems (2) ADRIAN PERRIG & TORSTEN HOEFLER ( 252-0062-00 ) Networks and Operating Systems Chapter 10: I/O Subsystems (2) BE CAREFUL WITH I/O DEVICES! Our Small Quiz True or false (raise hand) Open files are part

More information

Review of Important Networking Concepts

Review of Important Networking Concepts Review of Important Networking Concepts Review: ed communication architecture The TCP/IP protocol suite 1 Networking Concepts Protocol Architecture Protocol s Encapsulation Network Abstractions 2 1 Sending

More information

OSI Network Layer. Network Fundamentals Chapter 5. Version Cisco Systems, Inc. All rights reserved. Cisco Public 1

OSI Network Layer. Network Fundamentals Chapter 5. Version Cisco Systems, Inc. All rights reserved. Cisco Public 1 OSI Network Layer Network Fundamentals Chapter 5 Version 4.0 1 Objectives Identify the role of the Network Layer, as it describes communication from one end device to another end device. Examine the most

More information

CSCI-1680 Network Layer: IP & Forwarding Rodrigo Fonseca

CSCI-1680 Network Layer: IP & Forwarding Rodrigo Fonseca CSCI-1680 Network Layer: IP & Forwarding Rodrigo Fonseca Based partly on lecture notes by David Mazières, Phil Levis, John Janno< Administrivia IP out today. Your job: Find partners and tell us Implement

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

NAT, IPv6, & UDP CS640, Announcements Assignment #3 released

NAT, IPv6, & UDP CS640, Announcements Assignment #3 released NAT, IPv6, & UDP CS640, 2015-03-03 Announcements Assignment #3 released Overview Network Address Translation (NAT) IPv6 Transport layer User Datagram Protocol (UDP) Network Address Translation (NAT) Hacky

More information

Transport Layer. The transport layer is responsible for the delivery of a message from one process to another. RSManiaol

Transport Layer. The transport layer is responsible for the delivery of a message from one process to another. RSManiaol Transport Layer Transport Layer The transport layer is responsible for the delivery of a message from one process to another Types of Data Deliveries Client/Server Paradigm An application program on the

More information

Internet. Organization Addresses TCP/IP Protocol stack Forwarding. 1. Use of a globally unique address space based on Internet Addresses

Internet. Organization Addresses TCP/IP Protocol stack Forwarding. 1. Use of a globally unique address space based on Internet Addresses Internet Organization Addresses TCP/IP Protocol stack Forwarding Jörg Liebeherr, 1998-2003 1 What defines the Internet? 1. Use of a globally unique address space based on Internet Addresses 2. Support

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

The Network Layer. Antonio Carzaniga. November 24, Faculty of Informatics Università della Svizzera italiana

The Network Layer. Antonio Carzaniga. November 24, Faculty of Informatics Università della Svizzera italiana The Network Layer Antonio Carzaniga Faculty of Informatics Università della Svizzera italiana November 24, 2017 Outline Basic network-layer architecture of a datagram network Introduction to forwarding

More information

CIS-331 Exam 2 Spring 2016 Total of 110 Points Version 1

CIS-331 Exam 2 Spring 2016 Total of 110 Points Version 1 Version 1 1. (20 Points) Given the class A network address 121.0.0.0 will be divided into multiple subnets. a. (5 Points) How many bits will be necessary to address 8,100 subnets? b. (5 Points) What is

More information

Lecture 17 Overview. Last Lecture. Wide Area Networking (2) This Lecture. Internet Protocol (1) Source: chapters 2.2, 2.3,18.4, 19.1, 9.

Lecture 17 Overview. Last Lecture. Wide Area Networking (2) This Lecture. Internet Protocol (1) Source: chapters 2.2, 2.3,18.4, 19.1, 9. Lecture 17 Overview Last Lecture Wide Area Networking (2) This Lecture Internet Protocol (1) Source: chapters 2.2, 2.3,18.4, 19.1, 9.2 Next Lecture Internet Protocol (2) Source: chapters 19.1, 19.2, 22,1

More information

CS 640: Introduction to Computer Networks. Today s Lecture. Page 1

CS 640: Introduction to Computer Networks. Today s Lecture. Page 1 CS 640: Introduction to Computer Networks Aditya Akella Lecture 2 Layering, Protocol Stacks, and Standards 1 Today s Lecture Layers and Protocols A bit about s 2 Network Communication: Lots of Functions

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