CS 378 (Spring 2003)
|
|
- Shon Lester
- 6 years ago
- Views:
Transcription
1 Department of Computer Sciences THE UNIVERSITY OF TEXAS AT AUSTIN CS 378 (Spring 2003) Linux Kernel Programming Yongguang Zhang Copyright 2003, Yongguang Zhang
2 This Lecture Linux Networking Setting up networks with UML Overview of Linux networking code Major data structures Questions? How much do you know about IP networking? Spring Yongguang Zhang 2
3 Building a Test-bed Network To build a test-bed network with UML instances To test your network implementation Here, you need to know a little bit about Linux networking and network administration How to configure an IP address: ifconfig How to configure the route table: route How to test the network: ping How to debug the network: tcpdump Spring Yongguang Zhang 3
4 Virtual Networks with UML UML supports a virtual Ethernet driver Ethernet packets are sent via UDP through UML host Emulate an Ethernet segment with an IP multicast group (UML host joins this group) UML UML UML host Virtual Ethernet Virtual Ethernet UTCS UDP Spring Yongguang Zhang 4
5 A Very Simple IP Network IP network basics Each network interface must have a unique IP address Network interfaces connected by the same network must belong to the same subnet Host 1 Host 2 Network interface Network interface IP address: IP address: Ethernet segment (subnet: /24) Spring Yongguang Zhang 5
6 Build this Network with UML Host 1 Host 2 Network interface Network interface IP address: IP address: UML host UDP UML host Spring Yongguang Zhang 6
7 Before We Start You will need to run multiple instances of UML In the same UTCS host, or In different hosts Use COW (copy-on-write) to use disk space Make root fs file read-only: chmod a-r root_fs_utcs First UML:./linux ubd0=cow1,root_fs_utcs Second UML:./linux ubd0=cow2,root_fs_utcs These cow* files take little space Spring Yongguang Zhang 7
8 Step 1: Add an Ethernet to UML Adding a network device to UML Specify an ethn= argument in UML command line Pick an Ethernet segment for this device (i.e. pick a multicast address) UML command line syntax eth0=mcast,ethernetaddr,multicastaddr,port,ttl Example: To add a eth0 device on Ethernet segment /linux ubd0=cow1,root_fs_utcs eth0=mcast,, ,, Spring Yongguang Zhang 8
9 Step 2: Start Up this Interface Configure the network interface within UML Once you run UML with the eth0= argument, you get an eth0 device Check this with: ifconfig eth0 Assign an IP address to this interface ifconfig eth up To check this configuration: ifconfig eth0 route n Spring Yongguang Zhang 9
10 Step 3: Start up Another Host Start another UML host with the same virtual network In the same Linux host or another host in the same physical network (e.g, both in UTCS net)./linux ubd0=cow2,root_fs_utcs eth0=mcast,, ,, Make sure you use the same multicast address & port! Within this UML, configure the network with a different IP address, but in the same subnet ifconfig eth up Spring Yongguang Zhang 10
11 Step 4: Test the Network Now, you have two UML hosts connected by a virtual network In first host: try ping In second host: try ping In first host: try ssh Try tcpdump while you are doing these Spring Yongguang Zhang 11
12 UML Networking Cautions Pick your multicast address to avoid conflict with other people I suggest: ab.cd, where abcd is the last 4 digits of your account uid Spring Yongguang Zhang 12
13 A More Complex Network Build your own network (with multiple subnets) Remember to use different multicast address (one per subnet) Set up your own routing Host 1 Host 2 Network interface NIC NIC Host 3 Network interface Subnet ( /24) Subnet ( /24) Spring Yongguang Zhang 13
14 Building it with UML Host 2 (router): To start UML with 2 virtual Ethernet interfaces:./linux ubd0=cow2,root_fs_utcs eth0=mcast,, ,, eth1=mcast,, ,, To configure within UML: ifconfig eth up ifconfig eth up Host 3: To start UML:./linux ubd0=cow3,root_fs_utcs eth0=mcast,, ,, To configure within UML: ifconfig eth up Spring Yongguang Zhang 14
15 Enable Routing Enable routing Enable IP forwarding at router (Host 2) echo 1 > /proc/sys/net/ipv4/ip_forward Need to add a static route at host 1 route add -net netmask gw Need to add a static route at host 2 route add -net netmask gw To test At host 1: ping Spring Yongguang Zhang 15
16 Linux Networking Architecture Network subsystem in Linux kernel (NET4.0) Supports a wide range of network architecture (family): IP, IPv6, IPX, Supports a wide range of network hardware: Ethernet, token ring, wireless, serial line, Supports network roles: host, router, bridge/switch A complete and robust internetworking system This class Study IP(v4) only Study network implementation in kernel only Spring Yongguang Zhang 16
17 Linux Kernel Responsibility Protocol implementation and API Transport level and below: TCP, UDP, IP, ARP, Ethernet Higher-level protocols are implemented in user-space: HTTP, DNS, SMTP, SSH, Network configuration/management API for setting IP address, route table, ARP table Dynamic configuration/network management are implemented in user-space: DHCP, dynamic routing Networked OS services Network file system (NFS, SMB,...) Spring Yongguang Zhang 17
18 Networking Stack Application Presentation Session Transport Network Data-link Physical User Space socket Linux Kernel hardware Java, HTML Socket programming Protocol implementation Network administration Networking Stack Spring Yongguang Zhang 18
19 Networking Stack Components Socket API Common API for all network architectures/devices Network and transport layers Core protocols, multiplexing/de-multiplexing Grouped under different network families Network device drivers Manage hardware (network interface cards) Deal with data-link functions (such as MAC) Can be virtual (e.g., ppp0) Spring Yongguang Zhang 19
20 Source Code Layout Under linux kernel source tree net/*.c, net/core/ : socket API, kernel abstractions and common utilities net/ethernet/, /net/atm/ : common device layer net/sched/ : packet schedulers (QoS) net/bridge/ : Ethernet bridge code net/*/ : protocol family (one per dir, e.g, net/ipv4/) drivers/net/*/ : network device driver (one per dir) Spring Yongguang Zhang 20
21 Layering in the Networking Stack BSD Socket INET Socket TCP/UDP IP Common network layer Socket API IPv4-specific socket interface multiplexing Transport protocols IP input/output chain forwarding/routing IP-layer protocols Socket buffer, netfilter queue disciplines interface to device driver Spring Yongguang Zhang 21
22 Socket Layer BSD socket Defining API and servicing related system calls Providing a common file interface for sockets (through a special file system called sockfs) Major data structure: struct socket (definition: include/linux/net.h, code: net/socket.c, net/core/) INET socket IPv4-specific socket interface Protocols multiplexing Major data structure: struct sock (definition: include/net/sock.h, code: net/ipv4/af_inet.c) Spring Yongguang Zhang 22
23 Protocol Layer Protocol multiplexing and demultiplexing Setting up socket types, protocol switches, and handlers Major data structure: list of socket types, protocol hash Code: net/ipv4/protocol.c, net/ipv4/af_inet.c Raw socket: net/ipv4/raw.c Protocol-specific processing TCP, UDP: net/ipv4/tcp*.c, net/ipv4/udp.c ICMP, IGMP: net/ipv4/icmp.c, net/ipv4/igmp.c Tunneling, multicast: net/ipv4/ipip.c, net/ipv4/ipmr.c Spring Yongguang Zhang 23
24 The IP Layer IP packet processing Code: net/ipv4/ip_*.c Address resolution Major data structure: neighor cache (ARP cache) Code: net/ipv4/arp.c Forwarding/routing Major data structure: FIB, route cache Code: net/ipv4/fib_*.c, net/ipv4/route.c Spring Yongguang Zhang 24
25 Common Network Layer Basic data structure: socket buffer Used in all network stack: carry the packet payload for going through the input/output chains Minimize copying: only twice (between user mode and kernel mode, and from/to the network hardware) Other functions Netfilter hooks (for packet mangling, like firewall) Scheduling and queueing disciplines (for QoS) Common net device functions (for interfacing with device driver) Spring Yongguang Zhang 25
26 Input Chain and Output Chain application socket TCP output IP output TCP input IP input Network device driver Spring Yongguang Zhang 26
27 Summary Linux Networking LKP: 8 ULK: 18 Next lecture: Linux Networking Spring Yongguang Zhang 27
5105: BHARATHIDASAN ENGINEERING COLLEGE NATTARMPALLI UNIT I FUNDAMENTALS AND LINK LAYER PART A
5105: BHARATHIDASAN ENGINEERING COLLEGE NATTARMPALLI 635 854. NAME OF THE STAFF : R.ANBARASAN DESIGNATION & DEPARTMENT : AP/CSE SUBJECT CODE : CS 6551 SUBJECT NAME : COMPUTER NETWORKS UNIT I FUNDAMENTALS
More informationFundamentals of Computer Networking AE6382
Computer networks are an integral part of the modern computing infrastructure The local network (LAN) is usually Ethernet LAN s are inter-connected with other LAN s in a hierarchical fashion eventually
More informationOperating 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 informationFundamental Questions to Answer About Computer Networking, Jan 2009 Prof. Ying-Dar Lin,
Fundamental Questions to Answer About Computer Networking, Jan 2009 Prof. Ying-Dar Lin, ydlin@cs.nctu.edu.tw Chapter 1: Introduction 1. How does Internet scale to billions of hosts? (Describe what structure
More informationEXAMGOOD QUESTION & ANSWER. Accurate study guides High passing rate! Exam Good provides update free of charge in one year!
EXAMGOOD QUESTION & ANSWER Exam Good provides update free of charge in one year! Accurate study guides High passing rate! http://www.examgood.com Exam : 3X0-103 Title : Linux Networking (Level 1) Version
More informationData Communications and Networks Spring Syllabus and Reading Assignments
Data Communications and Networks Spring 2018 Syllabus and Assignments Revision Date: January 24, 2018 Course : This course teaches the design and implementation techniques essential for engineering robust
More informationComputer Network Programming. The Transport Layer. Dr. Sam Hsu Computer Science & Engineering Florida Atlantic University
Computer Network Programming The Transport Layer Dr. Sam Hsu Computer Science & Engineering Florida Atlantic University The Transport Layer The Big Picture Overview of TCP/IP protocols TCP Packet Exchanges
More informationTCP/IP Network Essentials
TCP/IP Network Essentials Linux System Administration and IP Services AfNOG 2012 Layers Complex problems can be solved using the common divide and conquer principle. In this case the internals of the Internet
More informationAssignment - 1 Chap. 1 Wired LAN s
Assignment - 1 Chap. 1 Wired LAN s 1. (1 Mark) 1. Draw the frame format of Ethernet. 2. What is unicast, multicast and broadcast address? 3. State the purpose of CRC field. 2. (5 Marks) 1. Explain how
More informationCOMPUTER NETWORKING LAB EXERCISES (TP) 4
Name 1: Name 2: Group number: COMPUTER NETWORKING LAB EXERCISES (TP) 4 IPV6 December 14, 2009 Abstract In this TP you will revisit some of the basic networking tools that were introduced in TP1, only this
More informationMike 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 informationChapter 7. Local Area Network Communications Protocols
Chapter 7 Local Area Network Communications Protocols The Network Layer The third layer of the OSI Model is the network layer. The network layer is concerned with providing a means for hosts to communicate
More informationTCP/IP and the OSI Model
TCP/IP BASICS TCP/IP and the OSI Model TCP/IP BASICS The network protocol of the Internet Composed of six main protocols IP Internet Protocol UDP User Datagram Protocol TCP Transmission Control Protocol
More informationNetwork 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 informationComputer Communication & Networks / Data Communication & Computer Networks Week # 03
Computer Communication & Networks / Data Communication & Computer Networks Week # 03 M.Nadeem Akhtar CS & IT Department The University of Lahore Email: nadeem.akhtar@cs.uol.edu.pk URL-https://sites.google.com/site/nadeemuolcsccn/home
More informationPacket Sniffing and Spoofing
Some of the slides borrowed from the book Computer Security: A Hands on Approach by Wenliang Du Packet Sniffing and Spoofing Chester Rebeiro IIT Madras Shared Networks Every network packet reaches every
More informationIdentify the features of network and client operating systems (Windows, NetWare, Linux, Mac OS)
Course Outline Network+ Duration: 5 days (30 hours) Learning Objectives: Install and configure a network card Define the concepts of network layers Understand and implement the TCP/IP protocol Install
More informationACL Rule Configuration on the WAP371
Article ID: 5089 ACL Rule Configuration on the WAP371 Objective A network access control list (ACL) is an optional layer of security that acts as a firewall for controlling traffic in and out of a subnet.
More informationETSF10 Internet Protocols Network Layer Protocols
ETSF10 Internet Protocols Network Layer Protocols 2012, Part 2, Lecture 3.1 Kaan Bür, Jens Andersson Network Layer Protocols IPv4, IPv6 [ed.4 ch.20.3+19.2] [ed.5 ch.22.1.1-2+22.2] Transition from IPv4
More informationNetwork Architecture Models
School of Business Eastern Illinois University Network Architecture Models (September 8, 2009) Abdou Illia, Fall 2009 Learning Objectives 2 Discuss the OSI reference Model Discuss the Internet Model Compare
More information( A ) 1. WAP is a (A) protocol (B) hardware (C) software (D) network architecture
CS 742 Computer Communication Networks Final Exam - Name: Fall 2003 Part 1: (75 points - 3 points for each problem) ( A ) 1. WAP is a (A) protocol (B) hardware (C) software (D) network architecture ( C
More informationCSC 474/574 Information Systems Security
CSC 474/574 Information Systems Security Topic 7.4 Firewalls CSC 474/574 Dr. Peng Ning 1 Outline What are firewalls? Types Filtering Packet filtering Session filtering Proxy Circuit Level Application Level
More informationOMNeT++ Community Summit, Beyond INET 3.0
OMNeT++ Community Summit, 2015 Beyond INET 3.0 IBM Research - Zurich, Switzerland September 3-4, 2015 Levente Mészáros Overview Network node architecture refactoring Cross-layer communication and optimization
More informationLayer 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 informationEMT2455 Data Communications 4. Network Layer. Dr. Xiaohai Li. Dept. of Computer Eng. Tech., NYCCT. Last Update: Nov.
EMT2455 Data Communications 4. Network Layer Dr. Xiaohai Li xhli@citytech.cuny.edu Dept. of Computer Eng. Tech., NYCCT Last Update: Nov. 2014 Copyright Notice The slides include pictures, figures, diagrams,
More information521262S Computer Networks 2 (fall 2007) Laboratory exercise #2: Internetworking
521262S Computer Networks 2 (fall 2007) Laboratory exercise #2: Internetworking Name Student ID Signature In this exercise we will connect our LANs made in first exercise with routers and build an internet.
More informationIP Basics Unix/IP Preparation Course June 29, 2010 Pago Pago, American Samoa
IP Basics Unix/IP Preparation Course June 29, 2010 Layers Complex problems can be solved using the common divide and conquer principle. In this case the internals of the Internet are divided into separate
More informationCS-435 spring semester Network Technology & Programming Laboratory. Stefanos Papadakis & Manolis Spanakis
CS-435 spring semester 2016 Network Technology & Programming Laboratory University of Crete Computer Science Department Stefanos Papadakis & Manolis Spanakis CS-435 Lecture #4 preview ICMP ARP DHCP NAT
More informationNetwork 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 informationIntroduction... xiii Chapter 1: Introduction to Computer Networks and Internet Computer Networks Uses of Computer Networks...
Table of Contents Introduction... xiii Chapter 1: Introduction to Computer Networks and Internet... 1 1.1 Computer Networks... 1 1.1.1 Advantages of Computer Networks... 2 1.1.2 Disadvantages of Computer
More information1. Which OSI layers offers reliable, connection-oriented data communication services?
CCNA 1 Practice Final Exam Answers v4.0 100% 1. Which OSI layers offers reliable, connection-oriented data communication services? application presentation session transport network 2. Refer to the exhibit.
More informationLAN Setup Reflection. Ask yourself some questions: o Does your VM have the correct IP? o Are you able to ping some locations, internal and external?
LAN Setup Reflection Ask yourself some questions: o Does your VM have the correct IP? o Are you able to ping some locations, internal and external? o Are you able to log into other VMs in the classroom?
More informationAntonio Cianfrani. Fundamentals of IP Networking
Antonio Cianfrani Fundamentals of IP Networking The Internet network routers networks Hosts Network devices TCP/IP protocol stack Application Transport (TCP/UDP) Network (IP) Data Link Applications (HTTP,
More informationQUESTION BANK UNIT-I
DEPARTMENT OF INFORMATION TECHNOLOGY QUESTION BANK Subject Code: CS1302 Subject Name: Computer Networks Year/ Sem: III / V UNIT-I 1. What is multicast? What is the difference between unicast and multicast?
More informationC19: User Datagram and Multicast
CISC 3120 C19: User Datagram and Multicast Hui Chen Department of Computer & Information Science CUNY Brooklyn College 4/18/2018 CUNY Brooklyn College 1 Outline Recap Network fundamentals IPv4, IPv6 addresses
More informationExam : Title : Sun Certified Network Administrator for Solaris 10 OS. Version : DEMO
Exam : 310-302 Title : Sun Certified Network Administrator for Solaris 10 OS Version : DEMO 1. In certain configurations, Gigabit Ethernet can use 9000 byte Ethernet frames instead of the standard 1500
More informationStatic and source based routing
Static and source based routing Lab setup For this lab students have to work in teams of two. Two team of two students (that is overall four students) should form a group and perform lab tasks together.
More informationcs144 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 informationCOMS Introduction to Computers. Networking
COMS 1001 Introduction to Computers Networking What's Ahead Networking layers Network Speeds Protocols, sockets, client/server Routing, DNS, Ethernet, LANs, wireless What is a Network? Loose definition:
More informationInterconnecting Networks with TCP/IP. 2000, Cisco Systems, Inc. 8-1
Interconnecting Networks with TCP/IP 2000, Cisco Systems, Inc. 8-1 Objectives Upon completion of this chapter you will be able to perform the following tasks: Identify the IP protocol stack, its protocol
More informationCS Computer and Network Security: Firewalls
CS 5410 - Computer and Network Security: Firewalls Professor Patrick Traynor Fall 2017 Reminders Monday: Change of Plans Recording lecture - turn in your rules. Friday: Project Abstract The hardest paragraph
More informationECPE / 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 informationVorlesung 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 informationOn Distributed Communications, Rand Report RM-3420-PR, Paul Baran, August 1964
The requirements for a future all-digital-data distributed network which provides common user service for a wide range of users having different requirements is considered. The use of a standard format
More informationOperating Systems. 16. Networking. Paul Krzyzanowski. Rutgers University. Spring /6/ Paul Krzyzanowski
Operating Systems 16. Networking Paul Krzyzanowski Rutgers University Spring 2015 1 Local Area Network (LAN) LAN = communications network Small area (building, set of buildings) Same, sometimes shared,
More informationMainframe Networking 101 Share Session 15422
Mainframe Networking 101 Share Session 15422 6 Laura Knapp WW Business Consultant Laurak@aesclever.com ipv6hawaii@outlook.com 06/23/2014 Applied Expert Systems, Inc. 2014 1 Agenda Requirements for Communication
More informationThe Lean Plan p. 1. Embedded Systems. The Operating System The Development Environment. Acknowledgments Introduction p. 1.
Preface p. xi The Lean Plan p. xi Embedded Systems p. xii The Hardware p. xiii The Network p. xiii The Operating System p. xiv The Development Environment p. xiv The Software p. xv Acknowledgments p. xv
More informationPractical Exercises in Computer Networks
Practical Exercises in Computer Networks IP forwarding between directly connected stations, ARP and ICMP (WIP) 2015, José María Foces Morán. All rights reserved. Internet is composed of a large number
More informationIP - 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 informationLAN Setup Reflection
LAN Setup Reflection After the LAN setup, ask yourself some questions: o Does your VM have the correct IP? o Are you able to ping some locations, internal and external? o Are you able to log into other
More informationMainframe Networking 101 Share Session. Junie Sanders Kevin Manweiler -
Mainframe Networking 101 Share Session 6 Junie Sanders jrsandler@cisco.com Kevin Manweiler - kmanweil@cisco.com 2 Agenda Requirements for Communication What are Networking Architectures? Networking Architectures
More informationC18: Network Fundamentals and Reliable Sockets
CISC 3120 C18: Network Fundamentals and Reliable Sockets Hui Chen Department of Computer & Information Science CUNY Brooklyn College 4/16/2018 CUNY Brooklyn College 1 Outline Networking fundamentals Network
More informationCS164 Final Exam Winter 2013
CS164 Final Exam Winter 2013 Name: Last 4 digits of Student ID: Problem 1. State whether each of the following statements is true or false. (Two points for each correct answer, 1 point for each incorrect
More informationGuide 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 informationTopics Quick review of network fundamentals The ISO OSI 7-layer model (and why it matters) Network and host part of an IP address Function of the
Network Basics Topics Quick review of network fundamentals The ISO OSI 7-layer model (and why it matters) Network and host part of an IP address Function of the subnet mask Differences between IPv4 and
More informationSJTU 2018 Fall Computer Networking. Wireless Communication
SJTU 2018 Fall Computer Networking 1 Wireless Communication Internet Protocol Stack 2 Application: supporting network applications - FTP, SMTP, HTTP Transport: data transfer between processes - TCP, UDP
More informationIntroduction to Computer Networks. CS 166: Introduction to Computer Systems Security
Introduction to Computer Networks CS 166: Introduction to Computer Systems Security Network Communication Communication in modern networks is characterized by the following fundamental principles Packet
More informationNetwork Administra0on
Network Administra0on (Introduc0on) Administración en Red 1 Index Introduc0on (TCP/IP) Network Interface Link Layer Network Layer Monitoring/Test Administración en Red 2 Introduc0on (TCP/IP) Protocol Suite,
More informationCMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 11
CMPE 150/L : Introduction to Computer Networks Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 11 1 Midterm exam Midterm this Thursday Close book but one-side 8.5"x11" note is allowed (must
More informationLecture 2. Outline. Layering and Protocols. Network Architecture. Layering and Protocols. Layering and Protocols. Chapter 1 - Foundation
Lecture 2 Outline Wireshark Project 1 posted, due in a week Lab from a different textbook Work through the lab and answer questions at the end Chapter 1 - Foundation 1.1 Applications 1.2 Requirements 1.3
More informationVPN-against-Firewall Lab: Bypassing Firewalls using VPN
SEED Labs 1 VPN-against-Firewall Lab: Bypassing Firewalls using VPN Copyright c 2016 Wenliang Du, Syracuse University. The development of this document was partially funded by the National Science Foundation
More informationComputer Network Addressing. The TCP/IP Layers and Addresses. Topics. The Internet Communication. The TCP/IP Layers and Addresses IP Address
Topics Computer Addressing The / Layers and Addresses Computer and Data Communication Laboratory I 2 The Internet Communication The / Layers and Addresses 4 Protocol Layers / Protocol Stack OSI and / SMTP
More informationComputer Networks. More on Standards & Protocols Quality of Service. Week 10. College of Information Science and Engineering Ritsumeikan University
Computer Networks More on Standards & Protocols Quality of Service Week 10 College of Information Science and Engineering Ritsumeikan University Introduction to Protocols l A protocol is a set of rules
More informationLab 1: Packet Sniffing and Wireshark
Lab 1: Packet Sniffing and Wireshark Fengwei Zhang Wayne State University Course: Cyber Security Practice 1 Packet Sniffer Packet sniffer is a basic tool for observing network packet exchanges in a computer
More informationNetwork+ Guide to Networks 6 th Edition. Chapter 4 Introduction to TCP/IP Protocols
Network+ Guide to Networks 6 th Edition Chapter 4 Introduction to TCP/IP Protocols Objectives Identify and explain the functions of the core TCP/IP protocols Explain the TCP/IP model and how it corresponds
More informationNetwork+ Guide to Networks, Seventh Edition Chapter 2, Solutions
Network+ Guide to Networks, Seventh Edition Chapter 2, Solutions Review Questions 1. Which part of a MAC address is unique to each manufacturer? A. The network identifier B. The OUI C. The device identifier
More informationITexamGuide. High-quality IT Cert Exam study guide
ITexamGuide High-quality IT Cert Exam study guide Exam : 310-302 Title : Sun Certified Network Administrator for Solaris 10 OS Vendors : SUN Version : DEMO Get Latest & Valid 310-302 Exam's Question and
More informationSC/CSE 3213 Winter Sebastian Magierowski York University CSE 3213, W13 L8: TCP/IP. Outline. Forwarding over network and data link layers
SC/CSE 3213 Winter 2013 L8: TCP/IP Overview Sebastian Magierowski York University 1 Outline TCP/IP Reference Model A set of protocols for internetworking The basis of the modern IP Datagram Exchange Examples
More informationMonitoring (and) IPv6
>> 1/26 Monitoring (and) IPv6 Dipl. Inform. October 28, 2009 Open Source Monitoring Conference Nürnberg, Germany >> 2/26 Introduction IPv6
More informationAppendix B Policies and Filters
Appendix B Policies and Filters NOTE: This appendix does not describe Access Control Lists (ACLs) or IPX SAP ACLs, which are additional methods for filtering packets. See Software-Based IP Access Control
More information0 TCP/IP overview. 0.1 The Internet
0521841445 - / Essentials: A Lab-Based Approach 0 / overview From these assumptions comes the fundamental structure of the Internet: a packet switched communications facility in which a number of distinguishable
More informationTHE INTERNET PROTOCOL INTERFACES
THE INTERNET PROTOCOL The Internet Protocol Stefan D. Bruda Winter 2018 A (connectionless) network protocol Designed for use in interconnected systems of packet-switched computer communication networks
More informationThe Internet. 9.1 Introduction. The Internet is a global network that supports a variety of interpersonal and interactive multimedia applications.
The Internet 9.1 Introduction The Internet is a global network that supports a variety of interpersonal and interactive multimedia applications. Associated with each access network - ISP network, intranet,
More informationROYAL INSTITUTE OF INFORMATION & MANAGEMENT
ROYAL INSTITUTE OF INFORMATION & MANAGEMENT BASICS NETWORKING CHAPTER 1 Networking Basics to Networking Advantages of Networking Types of Network 1 Local Area Network (LAN) LAN features Basic LAN components
More informationThe Internet Protocol
The Internet Protocol Stefan D. Bruda Winter 2018 THE INTERNET PROTOCOL A (connectionless) network layer protocol Designed for use in interconnected systems of packet-switched computer communication networks
More informationTHE INTERNET PROTOCOL/1
THE INTERNET PROTOCOL a (connectionless) network layer protocol designed for use in interconnected systems of packet-switched computer communication networks (store-and-forward paradigm) provides for transmitting
More informationComputer Networks (Unit wise Questions)
Unit I Unit II 1. What are different transmission modes?[4] 2. Encode the following binary data stream into Manchester and differential Manchester codes 1 1 0 0 1 0 1 0 [8] 3. What are different topologies
More informationSome of the slides borrowed from the book Computer Security: A Hands on Approach by Wenliang Du. Firewalls. Chester Rebeiro IIT Madras
Some of the slides borrowed from the book Computer Security: A Hands on Approach by Wenliang Du Firewalls Chester Rebeiro IIT Madras Firewall Block unauthorized traffic flowing from one network to another
More informationCCNA MCQS with Answers Set-1
CCNA MCQS with Answers Set-1 http://freepdf-books.com CCNA MCQS with Answers Set-1 Question 1# - Which of the following are ways to provide login access to a router? (choose all that apply) A. HTTP B.
More informationMiPDF.COM. 1. Convert the decimal number 231 into its binary equivalent. Select the correct answer from the list below.
CCNA1 v6.0 Pretest Exam Answers 2017 (100%) MiPDF.COM 1. Convert the decimal number 231 into its binary equivalent. Select the correct answer from the list below. 11110010 11011011 11110110 11100111* 11100101
More informationNetworking 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 informationFINAL EXAM REVIEW PLEASE NOTE THE MATERIAL FROM LECTURE #16 at the end. Exam 1 Review Material
FINAL EXAM REVIEW PLEASE NOTE THE MATERIAL FROM LECTURE #16 at the end Chapters in the book 1, 2, 3, 5, 6 Exam 1 Review Material Topics You are also responsible for the reading in the chapters understanding
More informationUniversity of Southern California EE450: Introduction to Computer Networks
University of Southern California EE450: Introduction to Computer Networks Catalog Description Network architectures; Layered protocols, Network service interface; Local Networks; long-haul Networks; Internal
More informationIntroduction. An introduction to the equipment and organization of the Internet Lab.
Introduction An introduction to the equipment and organization of the Internet Lab. Some material in this slide set is copyrighted, Pearson Education, 2004 Internet Lab Equipment 4 Linux PCs 4 Cisco Routers
More informationIntroduction to Firewalls using IPTables
Introduction to Firewalls using IPTables The goal of this lab is to implement a firewall solution using IPTables, and to write and to customize new rules to achieve security. You will need to turn in your
More informationComputer Networks. Dr. Abdel Ilah ALshbatat Dept. of Communication and Computer Engineering Faculty of Engineering Tafila Technical University
Computer Networks Dr. Abdel Ilah ALshbatat Dept. of Communication and Computer Engineering Faculty of Engineering Tafila Technical University 1 Lecture 0 Course Information Title: Computer Networks 2 Course
More informationCS 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 informationLecture 1: Introduction
Int ernet w orking Lecture 1: Introduction The Internet, underlying link layer, and IP addressing Literature: Forouzan: TCP/IP Protocol Suite: Ch 1-5 The Internet today 250 million hosts 580 million users
More informationLecture 04: Networking & Internetworking
CSIE52400 Distributed Systems Lecture 04: Networking & Internetworking 吳秀陽 Shiow-yang Wu Department of Computer Science and Information Engineering National Dong Hwa University Communication Subsystem
More informationshow ipv6 nat translations, on page 71
show ip masks, on page 4 show ip nat limits all-host, on page 5 show ip nat limits all-vrf, on page 7 show ip nat nvi statistics, on page 9 show ip nat nvi translations, on page 11 show ip nat redundancy,
More informationInternet. 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 informationTSIN02 - Internetworking
Lecture 2: The Internet Protocol Literature: Forouzan: ch 4-9 and ch 27 2004 Image Coding Group, Linköpings Universitet Outline About the network layer Tasks Addressing Routing Protocols 2 Tasks of the
More informationWhat is a Network? TCP / IP. The ISO OSI Model. Protocols. The TCP/IP Protocol Suite. The TCP/IP Protocol Suite. Computer network.
What is a Network? TCP / IP Computer network a set of computers using common protocols to communicate over connecting transmission media. Protocol a formal description of message formats and the rules
More informationfirewall { all-ping enable broadcast-ping disable ipv6-receive-redirects disable ipv6-src-route disable ip-src-route disable log-martians enable name
firewall { all-ping enable broadcast-ping disable ipv6-receive-redirects disable ipv6-src-route disable ip-src-route disable log-martians enable name WAN_IN { default-action drop description "WAN to internal"
More informationLinux IP Networking. Antonio Salueña
Linux IP Networking Antonio Salueña Preface We will study linux networking for the following case: Intel x86 architecture IP packets Recent stable linux kernel series 2.4.x 2 Overview
More informationA 10 years journey in Linux firewalling Pass the Salt, summer 2018 Lille, France Pablo Neira Ayuso
A 10 years journey in Linux firewalling Pass the Salt, summer 2018 Lille, France Pablo Neira Ayuso What is Netfilter? Not just iptables Image from Wikipedia (J. Engelhardt, 2018)
More informationCS 348 Computer Networks. IP and Routing. Indian Institute of Technology, Bombay
Computer Networks IP and Routing Network Interconnections Data Link Layer Delivery of frames on the same LAN Extend reach using switches/bridges and hubs Limitations Solution? Cannot address heterogeniety
More informationCCRI Networking Technology I CSCO-1850 Spring 2014
CCRI Networking Technology I CSCO-1850 Spring 2014 Instructor John Mowry Telephone 401-825-2138 E-mail jmowry@ccri.edu Office Hours Room 2126 Class Sections 102 Monday & Wednesday 6:00PM-9:50PM, starts
More informationLecture 3 Protocol Stacks and Layering
Lecture 3 Protocol Stacks and ing Hui Zhang School of Computer Science Carnegie Mellon University 15-441 Networking, Fall 2007 http://www.cs.cmu.edu/~srini/15-441/f07/ 1 What is a Communication Network?
More informationUnit 28 Website Production ASSIGNMENT 1
Unit 28 Website Production ASSIGNMENT 1 Last week Learning outcomes History HTML skeleton Annotated diagram of a WAN Servers, routers, client PC, browser, Server OS Switch, packet Architecture ISP Web
More information