LECTURE WK4 NETWORKING

Similar documents
ITP 140 Mobile Applications Technologies. Networks

CCNA 1 Chapter 7 v5.0 Exam Answers 2013

ICS 351: Networking Protocols

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

Chapter 7. Telecommunications, the Internet, and Wireless Technology

Local Area Networks; Ethernet

Outline. Inter-Process Communication. IPC across machines: Problems. CSCI 4061 Introduction to Operating Systems

Introduction to computer networking

ECS 15; Lectures 17 and 18. The Internet. What is the internet, and how does it work? TA feedback

OSI Model. Teran Subasinghe MBCS, Bsc.(Hons) in Computer Science - University of Greenwich, UK

Lecture (02) Network Protocols and Standards

Introduction to TCP/IP networking

The OSI Model. Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO).

EEC-484/584 Computer Networks

Transport Layer TCP & UDP Week 7. Module : Computer Networks Lecturers : Lucy White Office : 324

Chapter 2 Communicating Over the Network

CNBK Communications and Networks Lab Book: Purpose of Hardware and Protocols Associated with Networking Computer Systems

Computer Communication & Networks / Data Communication & Computer Networks Week # 03

ITP 140 Mobile Applications Technologies. Networks

Typical Network Uses

Data & Computer Communication

Networking By: Vince

Chapter 15 Networks. Chapter Goals. Networking. Chapter Goals. Networking. Networking. Computer network. Node (host) Any device on a network

Data and Computer Communications. Chapter 2 Protocol Architecture, TCP/IP, and Internet-Based Applications

Networking and Health Information Exchange Unit 1a ISO Open Systems Interconnection (OSI) Slide 1. Slide 2. Slide 3

Networking. Networking and Communication Trends Convergence (Accessibility) Speed Stability Simplicity* Embeddedness

Operating Systems. 16. Networking. Paul Krzyzanowski. Rutgers University. Spring /6/ Paul Krzyzanowski

Fundamentals of Computer Networking AE6382

06/02/ Local & Metropolitan Area Networks 0. INTRODUCTION. 1. History and Future of TCP/IP ACOE322

Lecture 2: Internet Structure

Networking Applications

Part 1: Introduction. Goal: Review of how the Internet works Overview

CSC 4900 Computer Networks: Introduction

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

The Data Link Layer. 32 PART I Networking Basics

ECE 650 Systems Programming & Engineering. Spring 2018

OSI Layer OSI Name Units Implementation Description 7 Application Data PCs Network services such as file, print,

Lecture 2. Computer Networks Models. Network Models 1-1

The Applications and Gaming Tab - Port Range Forward

Goals and topics. Verkkomedian perusteet Fundamentals of Network Media T Circuit switching networks. Topics. Packet-switching networks

Where we are in the Course

Chapter 16 Networking

Networking and Internetworking 1

Outline: Connecting Many Computers

Introduction to the Internet

Cisco Cisco Certified Network Associate (CCNA)

3.2 COMMUNICATION AND INTERNET TECHNOLOGIES

Network Layer (1) Networked Systems 3 Lecture 8

NT1210 Introduction to Networking. Unit 10

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

networks List various types of networks and their

Chapter 7 Transport Layer. 7.0 Introduction 7.1 Transport Layer Protocols 7.2 TCP and UDP 7.3 Summary

Networking and Health Information Exchange: ISO Open System Interconnection (OSI)

Connectionless and Connection-Oriented Protocols OSI Layer 4 Common feature: Multiplexing Using. The Transmission Control Protocol (TCP)

Chapter 4: Networking and the Internet. Network Classifications. Network topologies. Network topologies (continued) Connecting Networks.

CSCI Computer Networks

CS519: Computer Networks. Lecture 1 (part 2): Jan 28, 2004 Intro to Computer Networking

Defining the Internet

Web Mechanisms. Draft: 2/23/13 6:54 PM 2013 Christopher Vickery

Chapter 11: Wide-Area Networks and the Internet

CN1047 INTRODUCTION TO COMPUTER NETWORKING CHAPTER 6 OSI MODEL TRANSPORT LAYER

CSCI-GA Operating Systems. Networking. Hubertus Franke

COMPONENTS OF DATA COMMUNICATION

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.

521262S Computer Networks 2 (fall 2007) Laboratory exercise #4: Multimedia, QoS and testing

Computer Networks and Mobile Systems. Shyam Gollakota

Unit 28 Website Production ASSIGNMENT 1

Internet Overview. Introduction to Internet Technology Overview of Web Authoring. Internet Technology 1

COMS Introduction to Computers. Networking

Lecture A4 Network / Internet. Computing and Art : Nature, Power, and Limits CC 3.12: Fall 2007

Next Steps Spring 2011 Lecture #18. Multi-hop Networks. Network Reliability. Have: digital point-to-point. Want: many interconnected points

Scribe Notes -- October 31st, 2017

precise rules that govern communication between two parties TCP/IP: the basic Internet protocols IP: Internet protocol (bottom level)

CS 204: Advanced Computer Networks

DATA COMMUNICATION AND NETWORKS

ECS 152A Computer Networks Instructor: Liu. Name: Student ID #: Final Exam: March 17, 2005

Defining Networks with the OSI Model. Module 2

5105: BHARATHIDASAN ENGINEERING COLLEGE NATTARMPALLI UNIT I FUNDAMENTALS AND LINK LAYER PART A

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

Outline. TCP/IP Internet

OSI Transport Layer. objectives

6 Computer Networks 6.1. Foundations of Computer Science Cengage Learning

Networking Jamie Tees

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

Hands-On IP for TeleCom Technicians Internetworking, TCP/IP, VLANS, Wirelss and more...

Distributed Systems. Why use distributed systems? What is a distributed system? Intro to Distributed Systems and Networks.

Communicating over the Network

BLM6196 COMPUTER NETWORKS AND COMMUNICATION PROTOCOLS

Introduction to internetworking, OSI, TCP/IP and Addressing.

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

Network+ Guide to Networks, Seventh Edition Chapter 2, Solutions

6 Computer Networks 6.1. Foundations of Computer Science Cengage Learning

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

User Datagram Protocol

APPENDIX F THE TCP/IP PROTOCOL ARCHITECTURE

SC/CSE 3213 Winter Sebastian Magierowski York University CSE 3213, W13 L8: TCP/IP. Outline. Forwarding over network and data link layers

Lecture (11) OSI layer 4 protocols TCP/UDP protocols

Networking. Robotics is networking. Liam Paull, co-inventor of Duckietown and professor at University of Montreal

Chapter 4 The Internet

Transcription:

LECTURE WK4 NETWORKING Workbook and Quiz Workbook o Due in WK5 o Must hand in a hard copy to the tutor as well as an online submission Quiz o In the practical class o 30mins to complete the quiz o Short, fill in the box questions o 4 questions, one per week, one per topic How do you Communicate with the Raspberry Pi? On your PC you send characters from the keyboard down the serial cable The PC also receives characters from the serial cable and writes them to the screen The serial cable has characters travelling both to and from the Raspberry Pi and the PC The serial cable represents these characters as electrical pulses - 8 on or off pulses (bits) per character The RPi finds the programs typed by the user and runs them Bash is the program running on the RPi, when you hit enter bash figures out what to do For some commands like ls, bash knows what to do, however, for most commands, bash must search in specific places for programs with those names What is the Internet? The internet and the web are different The internet is a communications network which links computer systems together The web is a particular system that runs on top of the internet for web pages Licklider Ran advanced projects in the US Foresaw modern interfaces Came up with the idea of the internet Ran the first internet the ARPANET Wasn t until 1995 that the internet really took off Networking A lot of computer systems don t make sense by themselves The network connecting computers gives them more value To move data and communicate Internet is a global network of computers Web is HTML webpages that operate over the internet Can network with people, devices, Metcalfe s Law says the value of a telecommunications network is proportional to the square of the number of connected users of the system (n 2 )

Key Terms and Concepts LAN: Local Area Networking (LAN) e.g. networking within a home, building or organisation WAN: Wide Area Network, internet between organisations doesn t really exist, only a lot of LANs WAN is the things outside of our LAN Protocol: formats and rules for exchanging digital messages agreed (predefined) ways for things to interact e.g. all USBs work the same way TCP/IP: internet protocols for communicating on internet Broadband: high speed internet, particularly for homes, much faster than older 56Kpbs modems Ethernet: family of computer networking technologies for local area networks (LANs). Voice over IP (VOIP) send voice sound over internet e.g. skype Data communications the transfer of digital or analog data using digital or analog signals Telecommunications the study of telephones and the systems that transmit telephone signals Network management the design, installation, and support of a network, including its hardware and software Switches: LAN-LAN, connects devices to network Routers: LAN to WAN and WAN to WAN, route data between networks Modem: converts digital data to analog signals and vice versa e.g. ADSL modem for home broadband (Wireless) Access Point: connect wireless devices to a wired network using WiFi, some contain ADSL modem Network card: connects a computer to network e.g. Ethernet or WiFi Measuring Network Performance: Bandwidth and Latency Bandwidth: data communication speed o Measured in bits per second bps (bit is a 0 or 1, byte = 8 bits e.g. a number in range 0-255) o Sometimes, confusingly bytes per second (big B or little b) o May be different for read vs write, download vs upload o e.g. what you d need to download a movie quickly (it doesn t matter if there is a lag) o If you re watching a movie, it doesn t matter if you lose a few bits Latency: delay to receiving first bit of data o e.g. Lag in computer games o if you re trying to update software and you miss a few bits it could be catastrophic Bandwidth and latency varies between different networks, and can depend on use (congestion) Speeds often reduced due to software and other overheads Requirements of apps also varies For streaming media bandwidth is important For games latency is important Other characteristics like reliability, quality of service etc.

Varieties of Wireless Networking A lot of wireless networking is about trade-offs in terms of performance power usage, bandwidth and distance o E.g. a smartwatch that needs to send small notifications may be energy efficient but lacks bandwidth Some wireless networking is for the internet e.g. 3G, WiFi or Bluetooth For 3G and 4G: o High power o Long range o Good bandwidth o Poor latency WiFi: o Usually LAN based networking o High power o High bandwidth o Good latency Bluetooth o Low energy o Low bandwidth Packet Switching Breaks messages into small packets of data Many forms of packet switching Connectionless ones: each packet is sent to destination and contains: o Destination address o Source address o Port numbers intended program recipient of message o Sequence number so packets can be sent out of order and reassembled Used on internet and for wireless communication Each packet is independent can t be interpreted individually The packets find their own way to the destination (different routes means they arrive in random orders) TCP = Transmission Control Protocol o Breaks data into packets before they are sent over a network o Assembles the packets when they arrive o Detects errors and resends lost information o Flow-control, connection establishment and reliable transmission of data IP = Internet Protocol o Host addressing and identification hierarchical IP addressing system o Packet routing TCP/IP Layers: o App layer (e.g. email) o Transport layer (TCP) reassembles packets o Internet layer (IP) sending the packets o Network access layer (e.g. physical wire)

Addresses and Identity MAC address: machine or physical address, unique number given to every network card e.g. 88-53-2E-5F-60-35, burned into hardware IP address: internet address e.g. 131.181.1.2 (IPV4 address, now moving to IPV6 e.g. 2001:db8::ff00:42:8329), can be static or dynamically allocated e.g. by DHCP server to network card DNS name (Domain Name System) name e.g. www.qut.edu.au (a DNS server looks up DNS names to IP addresses) URL (Uniform Resource Locator) web address e.g. http://www.qut.edu.au, DNS name or IP address and a protocol to access the resource e.g. HTTP Some IP address ranges are reserved for local use (LAN/ Internet) and don t get routed Local IP addresses are often dynamically allocated via a DHCP (Dynamic Host Configuration Protocol) server IPv4: IP version 4 o Running out of IP addresses, o 32bit numeric address IPv6: IP version 6 o more internet addresses (128bit address) and new features Ports are part of IP addresses which are used to indicate particular endpoints e.g. 208.54.245.456: 80 for the web There are some standard ports used for different high level protocols e.g.: o 21 ftp: file transfer protocol (insecure) o 22 ssh: secure shell: network protocol for secure communication inc command execution o 23 telnet: terminal protocol for command shell (insecure) o 25: SMTP: Simple Mail Transfer Protocol (email) o 80: for web HTTP: http:// etc o 443: for secure web HTTPS Programs listen on ports for other programs which send messages to them:

PRACTICAL WK4 NETWORKING Make sure you bring your workbook to your practical Use STIMULATE if you need to The quiz is within your practical The following commands are very useful for completing this practical: ifconfig o used to configure or view a configuration of a network interface o used to find your IP address nslookup o looks up a network name server o finds an IP address and domain name for a network server traceroute o sends a packet, showing each hop required to get to the location nc o reads and writes data across network connections using the TCP or UDP protocol o nc -l 1234 and nc -l (IP ADDRESS) 1234 Tcpdump o gets a raw dump of network traffic Nmap requires installation o a network exploration tool and security port scanner Use these commands to investigate computer networking. The tasks outlined in the workbook will explore TCP/IP networking using the above Linux command line tools.