Network Basics CS490 - Security in Computing Copyright © 2005 by Scott Orr and the Trustees of Indiana University.

Slides:



Advertisements
Similar presentations
Interconnecting Networks with TCP/IP
Advertisements

IST 201 Chapter 9. TCP/IP Model Application Transport Internet Network Access.
Lecture 5: TCP/IP OSI layers 3 (IP) and 4 (TCP/UDP) IPv4 – addresses and routing, “best-effort” service Ethernet, Appletalk, etc wrap IP packets with their.
CCNA 1 v3.1 Module 11 Review.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Communicating over the Network Network Fundamentals – Chapter 2.
TCP/IP Networks. Table of Contents Computer networks, layers, protocols, interfaces; OSI reference model; TCP/IP reference model; Internet Protocol (operations,
© Wiley Inc All Rights Reserved. CCNA: Cisco Certified Network Associate Study Guide CHAPTER 2: Internet Protocols.
Lesson 7 – THE BUSINESS OF NETWORKING. TCP/IP and UDP Other Internet protocols Important Internet protocols OVERVIEW.
Understanding Networks. Objectives Compare client and network operating systems Learn about local area network technologies, including Ethernet, Token.
Introduction To Networking
Chapter 2 Internet Protocol DoD Model Four layers: – Process/Application layer – Host-to-Host layer – Internet layer – Network Access layer.
TCP/IP TCP/IP Basics Alvin Kwan. TCP/IP What is TCP/IP?  It is a protocol suite governing how data can be communicated in a network environment, both.
Institute of Technology Sligo - Dept of Computing Semester 2 Chapter 9 The TCP/IP Protocol Suite Paul Flynn.
Defining Network Protocols Application Protocols –Application Layer –Presentation Layer –Session Layer Transport Protocols –Transport Layer Network Protocols.
Chapter Overview TCP/IP Protocols IP Addressing.
CS 356 Systems Security Spring Dr. Indrajit Ray
IST 228\Ch3\IP Addressing1 TCP/IP and DoD Model (TCP/IP Model)
IP Network Basics. For Internal Use Only ▲ Internal Use Only ▲ Course Objectives Grasp the basic knowledge of network Understand network evolution history.
Chapter Eleven An Introduction to TCP/IP. Objectives To compare TCP/IP’s layered structure to OSI To review the structure of an IP address To look at.
Networking CSCI N321 – System and Network Administration Copyright © 2000, 2012 by Scott Orr and the Trustees of Indiana University.
TCP/IP Networking sections 13.2,3,4,5 Road map: TCP, provide connection-oriented service IP, route data packets from one machine to another (RFC 791) ICMP,
1 UNIX Networking. 2 Section Overview TCP/IP Basics TCP/IP Configuration TCP/IP Network Testing Dynamic Host Config Protocol (DHCP) Wireless Networking.
Computer Science and Engineering Computer System Security CSE 5339/7339 Session 24 November 11, 2004.
WXES2106 Network Technology Semester /2005 Chapter 4 TCP/IP CCNA1: Module 9, 10.3 and 11.
The Network Layer. Network Projects Must utilize sockets programming –Client and Server –Any platform Please submit one page proposal Can work individually.
CS-328 A Networking Primer
Network Protocols. Why Protocols?  Rules and procedures to govern communication Some for transferring data Some for transferring data Some for route.
1 Introduction to Networking Dr. Mahdi Nasereddin PPU.
Semester 2v2 Chapter 9:  TCP/IP.
Network Services CSCI N321 – System and Network Administration Copyright © 2000, 2007 by Scott Orr and the Trustees of Indiana University.
Chabot College ELEC Ports (Layer 4).
Examining TCP/IP.
TCP/IP and the Internet ARPANET (1969) –R&D network funded by DARPA. –Packet Switching Survive nuclear war. –Experimental to operational (1975). –Not suitable.
Lect1..ppt - 01/06/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 2 Protocols and the TCP/IP Suite by Zornitza Genova Prodanoff.
Chap 9 TCP/IP Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
Chapter 4 TCP/IP Overview Connecting People To Information.
10/13/2015© 2008 Raymond P. Jefferis IIILect 07 1 Internet Protocol.
© Introduction to Internetworking – Alex Kooijman 04/04/2000 Introduction to internetworking Part Two.
Chapter 6-2 the TCP/IP Layers. The four layers of the TCP/IP model are listed in Table 6-2. The layers are The four layers of the TCP/IP model are listed.
Hands-On Ethical Hacking and Network Defense Chapter 2 TCP/IP Concepts Review.
1 TCP/IP, Addressing and Services S. Hussain Ali M.S. (Computer Engineering) Department of Computer Engineering King Fahd University of Petroleum and Minerals.
TCP/IP Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
1 CS 4396 Computer Networks Lab TCP/IP Networking An Example.
1 UDP : User Datagram Protocol Computer Network System Sirak Kaewjamnong.
CSE 6590 Department of Computer Science & Engineering York University 111/9/ :26 AM.
1 Chapter 8 – TCP/IP Fundamentals TCP/IP Protocols IP Addressing.
Data Networks ISOTDAQ 2012
Cisco Networking Academy S2 C9 TCP/IP. ensure communication across any set of interconnected networks Stack components such as protocols to support file.
1 Introduction to TCP/IP. 2 OSI and Protocol Stack OSI: Open Systems Interconnect OSI ModelTCP/IP HierarchyProtocols 7 th Application Layer 6 th Presentation.
1 Chapter Overview Network Communications The OSI Reference Model.
1 Chapter Overview Network Communications The OSI Reference Model.
Chapter 2 - Page 1 Infogem Institute of Technology CCNA Course TCP/IP Protocol Suite TCP/IP PROTOCOL SUITE Chapter 3 Sybex, Chapter 9 Exam Cram.
1 Bus topology network. 2 Data is sent to all computers, but only the destination computer accepts 02608c
Linux Operations and Administration Chapter Eight Network Communications.
Telecommunications Essentials John R. Durrett July 5, 2005.
Hands-On Ethical Hacking and Network Defense
1 DETAILS OF PROTOCOLS The Zoo Protocol - TCP - IP.
Transmission Control Protocol (TCP) Internet Protocol (IP)
Hands-On Ethical Hacking and Network Defense Chapter 2 TCP/IP Concepts Review Last modified
The OSI Model. Understanding the OSI Model In early 1980s, manufacturers began to standardize networking so that networks from different manufacturers.
1 OSI Reference Model Benefits Standardizes interfaces Facilitates modular engineering Ensures interoperable technology Accelerates evolution Simplifies.
TCP/IP PROTOCOL UNIT 6. Overview of TCP/IP Application FTP, Telnet, SMTP, HTTP.. Presentation Session TransportHost-to-HostTCP, UDP NetworkInternetIP,
CITA 352 Chapter 2 TCP/IP Concepts Review. Overview of TCP/IP Protocol –Language used by computers –Transmission Control Protocol/Internet Protocol (TCP/IP)
CS-140 CS-140 A Networking Primer Programming with Objects Dick Steflik.
Introduction to TCP/IP
Chapter 5 Network and Transport Layers
What the OSI Protocol Layers Do
The Open System Interconnection (OSI) Model & Network Protocols.
Chapter 5 Network and Transport Layers
בדיקת התקשרות עם מחשב ברשת
Presentation transcript:

Network Basics CS490 - Security in Computing Copyright © 2005 by Scott Orr and the Trustees of Indiana University

Section Overview Network terms and topologies Network terms and topologies OSI and TCP/IP Protocol Stacks OSI and TCP/IP Protocol Stacks Ethernet and TCP/IP Packets Ethernet and TCP/IP Packets Addressing and Name Resolution Addressing and Name Resolution Routing Routing

References Security in Computing, 3 rd Ed. Security in Computing, 3 rd Ed. Chapter 7 (pgs ) Chapter 7 (pgs )

Basic Networking Terms Hosts & Nodes Hosts & Nodes Links & Media Links & Media Protocols Protocols LANs, MANs, & WANs LANs, MANs, & WANs Internets and Intranets Internets and Intranets

Network Topologies Star Ring Bus

OSI Network Model Application Presentation Session Transport Network Data Link Physical Application Presentation Session Transport Network Physical

Application (FTP, HTTP, DNS) Transport Layer (TCP,UDP) Network Layer (IP) TCP/IP Protocol Stack Link Layer (Device Drivers) Physical Layer (media)

EIPT/U TCP/IP Packet Encapsulation UTP/PSTN Ethernet/PPP IP TCP/UDP Service Data Data T/UData IPT/UData E

IP Addresses Unique for each connection (interface) Unique for each connection (interface) Consists of 4 octets (#.#.#.#) Consists of 4 octets (#.#.#.#) Network portion Network portion Host portion Host portion Special Addresses Special Addresses Network Address Network Address Broadcast Address Broadcast Address

Internet Protocol Destination Address Source Address Data Versn.IHL Type of Svc. Total Length IdentificationFlags Fragment Offset TTLProtocol Header Checksum PaddingOptions o o o

IP Address Classes Class 1 st Byte Format Total Hosts A 0 – – 126N.H.H.H 16 Million B 128 – 191 N.N.H.H 64 Thousand C 192 – 239 N.N.N.H254 D 224 – 239 -(Multicast) E 240 – 254 -(Experimental)

Hostnames Uniquely identifies each system Uniquely identifies each system Fully Qualified Domain Name Fully Qualified Domain Name hostname.site.domain[.country] hostname.site.domain[.country] Country: 2 letter identifier for country Country: 2 letter identifier for country Domain: Type of site (edu, com, org) Domain: Type of site (edu, com, org) Site: Unique name of organization Site: Unique name of organization Hostname: Unique name of system Hostname: Unique name of system

DNS Name Resolution host.domain.comdns.domain.comdns.iupui.edudns.cs.iupui.edu Root Server Non-Recursive Recursive

Client-Server Model Server Client Listens for incomingrequests Makes a request Request fulfilled

Services TCP TCP TELNET, FTP, HTTP, NNTP, SMTP, finger, talk, r-commands UDP UDP TFTP, NTP, SNMP NFS, DNS, RPC ICMP ICMP ping, traceroute

Network Protocols Service request/response syntax Service request/response syntax Often uses English commands Often uses English commands Request For Comments (RFC) Request For Comments (RFC) Documentation for protocols and practices Documentation for protocols and practices Each revision its own number Each revision its own number May have a second classification May have a second classification For Your Information (FYI) For Your Information (FYI) Best Common Practices (BCP) Best Common Practices (BCP) Standards (STD) Standards (STD)

Network Ports Enables processes to communicate with each other across a network Enables processes to communicate with each other across a network 64K possible ports 64K possible ports Privileged ports Privileged ports < 1024 reserved for system use only < 1024 reserved for system use only Correspond to well-known services Correspond to well-known services

Transmission Control Protocol Data o o o Source Port Destination Port Sequence Number Acknowledgment Number OffsetRsrvd.FlagsWindow Urgent Pointers Checksum PaddingOptions

SYN 3-Way Handshake SYN(C, ISN c ) SYN(S, ISN s ) ACK(C, ISN c ) ACK(S, ISN s ) First step in all new TCP/IP sessions Client Server

User Datagram Protocol Data o o o Source Port Destination Port LengthChecksum “Connectionless”

Translates IP addresses to Ethernet (MAC) addresses Translates IP addresses to Ethernet (MAC) addresses Address Resolution Protocol Who is ? I am (1:2:3:7:8:9)

Ethernet Addressing Assigned by manufacturer (hardware) Assigned by manufacturer (hardware) Must be absolutely unique Must be absolutely unique Address format Address format 6 octets in hex (#:#:#:#:#:#) 6 octets in hex (#:#:#:#:#:#) First 3 octets: Manufacturer Identifier First 3 octets: Manufacturer Identifier Last 3 octets: Card serial number Last 3 octets: Card serial number Used for local network communication Used for local network communication

Ethernet Type Data o o o Checksum Data Destination Address Source Address

Interconnectivity Gateway Router Bridge Repeater Network Access Internet Transport Application Physical Internet Transport Application Physical

Connects Networks together Connects Networks together If destination not on local network, packets sent through gateway If destination not on local network, packets sent through gateway Routers

Subnet Masks Splits networks into subnetworks Splits networks into subnetworks Separates address into 2 parts Separates address into 2 parts 1’s – Network Portion 1’s – Network Portion 0’s – Host Portion 0’s – Host Portion Example: Class C Network Example: Class C Network Address: N.N.N.H Address: N.N.N.H Mask: (255 = ) Mask: (255 = ) CIDR Notation: N.N.N.H/24 CIDR Notation: N.N.N.H/24