1 LAN Concepts and Components Version A.01 H3065S Module 1 Slides.

Slides:



Advertisements
Similar presentations
TCP/IP MODEL Maninder Kaur
Advertisements

CCNA – Network Fundamentals
Network Certification Preparation. Module - 1 Communication methods OSI reference model and layered communication TCP/IP model TCP and UDP IP addressing.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Services Networking for Home and Small Businesses – Chapter 6.
Network Services Networking for Home & Small Business.
Network Layer and Transport Layer.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
IP: The Internet Protocol
Oct 21, 2004CS573: Network Protocols and Standards1 IP: Addressing, ARP, Routing Network Protocols and Standards Autumn
CS335 Networking & Network Administration Tuesday, May 11, 2010.
Introduction To Networking
Chapter 2 Internet Protocol DoD Model Four layers: – Process/Application layer – Host-to-Host layer – Internet layer – Network Access layer.
1 Version 3.0 Module 9 TCP/IP Protocol and IP Addressing.
Prepared By E.Musa Alyaman1 Networking Theory Chapter 1.
1 Version 3.0 Module 10 Routing Fundamentals and Subnetting.
COMPUTER NETWORKS.
Copyright 2003 CCNA 1 Chapter 7 TCP/IP Protocol Suite and IP Addressing By Your Name.
©Brooks/Cole, 2003 Chapter 6 Computer Networks. ©Brooks/Cole, 2003 Understand the rationale for the existence of networks. Distinguish between the three.
Lecture 8 Modeling & Simulation of Communication Networks.
IST 228\Ch3\IP Addressing1 TCP/IP and DoD Model (TCP/IP Model)
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.0 Module 9 TCP/IP Protocol Suite and IP Addressing.
Process-to-Process Delivery:
Protocol Headers Pre DA SA 0800h … version H L 6 TCP Header Data FCS
Module 4 - Networking MIS5122: Enterprise Architecture for the IT Auditor.
CP476 Internet ComputingCh.1 # 1 Lecture 2. A Brief Introduction to the Internet The objective is to understand The history of Internet What the Internet.
WXES2106 Network Technology Semester /2005 Chapter 4 TCP/IP CCNA1: Module 9, 10.3 and 11.
CCNA 1 v3.0 Module 9 TCP/IP Protocol Suite and IP Addressing
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
20 LAN Hardware Overview Version A.01 H3065S Module 2 Slides.
Computer Networks. IP Addresses Before we communicate with a computer on the network we have to be able to identify it. Every computer on a network must.
THE OSI MODEL AND THE TCP/IP PROTOCOL SUITE CS 1202 Lectur3 part2.
Huda AL_Omairl - Network 71 Protocols and Network Software.
Examining TCP/IP.
Chapter Three Network Protocols By JD McGuire ARP Address Resolution Protocol Address Resolution Protocol The core protocol in the TCP/IP suite that.
CMPT 471 Networking II Address Resolution IPv4 ARP RARP 1© Janice Regan, 2012.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
TCP/IP TCP/IP LAYERED PROTOCOL TCP/IP'S APPLICATION LAYER TRANSPORT LAYER NETWORK LAYER NETWORK ACCESS LAYER (DATA LINK LAYER)
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.
Addressing Through the Layers  Data Link Layer Address  Network Layer Address.
Information Flow Across the Internet. What is the Internet? A large group of computers that link together to form the Worldwide Area Network (WAN)
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.
CCNA 1 v3.0 Module 9 TCP/IP Protocol Suite and IP Addressing.
CSE 6590 Department of Computer Science & Engineering York University 111/9/ :26 AM.
Presented by Rebecca Meinhold But How Does the Internet Work?
Networking Basics CCNA 1 Chapter 11.
178 Connecting to the Network Version A.01 H3064S Module 21 Slides.
CCNA 1 v3.0 Module 9 TCP/IP Protocol Suite and IP Addressing
Socket Programming Introduction. Socket Definition A network socket is one endpoint in a two-way communication flow between two programs running over.
1 OSI and TCP/IP Models. 2 TCP/IP Encapsulation (Packet) (Frame)
IP addresses IPv4 and IPv6. IP addresses (IP=Internet Protocol) Each computer connected to the Internet must have a unique IP address.
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.
Address Resolution Protocol (ARP). Internet and Data Link Layer Addresses Each host and router on a subnet needs a data link layer address to specify.
Voice Over Internet Protocol (VoIP) Copyright © 2006 Heathkit Company, Inc. All Rights Reserved Presentation 5 – VoIP and the OSI Model.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
TCP/IP Protocol Suite and IP Addressing Presented By : Dupien AMS.
The OSI Model. History of OSI Model ISO began developing the OSI model in It is widely accepted as a model for understanding network communication.
IP: Addressing, ARP, Routing
The OSI Model and the TCP/IP Protocol Suite
Layered Architectures
TCP/IP Networking An Example
The OSI Model and the TCP/IP Protocol Suite
I. Basic Network Concepts
TCP/IP Networking An Example
Process-to-Process Delivery:
TCP/IP Protocol Suite: Review
The OSI 7 Layer Model Ben, Stuart, Charles.
The OSI Model and the TCP/IP Protocol Suite
Process-to-Process Delivery: UDP, TCP
Presentation transcript:

1 LAN Concepts and Components Version A.01 H3065S Module 1 Slides

© 1999 Hewlett-Packard Co. H3065S A.01 2 What Is a Local Area Network (LAN)? a6731 SCSI Bus 5 m Local area network (LAN) 5 km Wide area network (WAN) 500 km Type of Connection Max Length

© 1999 Hewlett-Packard Co. H3065S A.01 3 The OSI Model in a Nutshell a6732 7ApplicationHow is data created and used? 6PresentationHow is the data represented to the application? Is the data in EBCDIC or ASCII format? 5SessionHow does an application initiate a connection? How does an application actually transmit/receive data? How does an application know data has been received? 4 TransportShould the receiver acknowledge receipt of a packet? How should the acknowledgement be handled? Which process should receive the data? 3NetworkHow is data routed between networks? 2Data linkHow do I know when its my turn to transmit? How do I know which data is for me? How are collisions handled? 1PhysicalWhat kinds of cabling are supported? What kinds of connectors are supported? What’s the longest supported cable segment?

© 1999 Hewlett-Packard Co. H3065S A.01 4 Media Access Control (MAC) Addresses a6733 0x 0060B0 7ef226 Following no. Card manufacturer’s Unique card is in hex… ID number ID number A MAC address uniquely identifies a LAN card. MAC address structure MAC addresses identify a frame’s destination. Frames contain source and destination MAC addresses. Hosts accept frames destined for their MAC address. Hosts ignore frames destined for other MAC addresses. A MAC adress is a unique 48-bit hex number assigned to each network card by the card manufacturer. Example:

© 1999 Hewlett-Packard Co. H3065S A.01 5 Internet Protocol (IP) Addresses a6734 IP address purpose IP addresses allow related nodes on a physical network to be logically grouped together. Related nodes are grouped by an administrator by IP network numbers. IP addresses uniquely identify a device within an IP network. IP address structure Each IP address contains two parts: The network portion specifies the address of the network containing the system. The host portion specifies the address of the host on the network. Example : Network Portion Host Portion

© 1999 Hewlett-Packard Co. H3065S A.01 6 Three Classes of IP Addresses a6735 Class A Class B Class C Three classes of network address are available. Network class is determined by number of network bits.

© 1999 Hewlett-Packard Co. H3065S A.01 7 IP Addresses and Network Routes a6736 Mickie Minnie Clara Cleo Router (Officenet) (Factorynet)

© 1999 Hewlett-Packard Co. H3065S A.01 8 Choosing an IP Address a6737 General Restrictions Each IP address must be unique. The first IP address octet must be in range 2–224 (except 127). Public Internet IP addresses must be ordered through : (North/South America) (Asia/Pacific) (Europe) Special Addresses loopback address ( ) broadcast address generic network address

© 1999 Hewlett-Packard Co. H3065S A.01 9 IP Addresses — Examples a6738 Sample Host IP Class Network Address Host Address Broadcast Loopback Addr

© 1999 Hewlett-Packard Co. H3065S A Hostnames a6739 Hostnames are user-friendly “nicknames” corresponding to an IP address. Hostnames are made up of letters or numbers (maximum of 8 characters). Example hostnames include: tomserver1 accountsmailsrvr Hostnames are defined in /etc/hosts (or DNS or NIS). Sample /etc/hosts file: Hostnames are always resolved to IP addresses before a packet is sent. Examples: telnet minnie resolves to telnet ftp mickie resolves to ftp minnie mickie...

© 1999 Hewlett-Packard Co. H3065S A Converting IP Addresses to MAC Addresses a67310 Network Packet Destination MAC Address EF45 Source MAC Address Data xxxxxxx Mickie Minnie $ ping minnie 1. Resolve hostname minnie to an IP address. 2. Look up the MAC address in the ARP cache corresponding to minnie’s IP address. 3. Send the packet to minnie’s MAC address. Example: system mickie pings system minnie minnie mickie pluto /etc/hosts A23C EF45 Arp cache (memory resident) EF

© 1999 Hewlett-Packard Co. H3065S A Populating the ARP Cache a A23C ABC incomplete Arp cache $ ping minnie minnie cleo clive mickie Broadcast Packet EF45 1.System mickie pings system minnie. System resolves minnie’s IP address. 2.Search for minnie’s IP in the arp cache — the IP address not found in ARP cache. 3.Send arp broadcast on local network to find specified IP address. 4.System with specified IP address responds with packet containing its MAC. 5.The MAC address and corresponding IP address are added to the ARP cache. 6.The packet specifically addressed to minnie’s MAC address is sent. Example: 1

© 1999 Hewlett-Packard Co. H3065S A Putting It All Together a67312 Is the destination a hostname or an IP address? Is the destination on the local network? Look for the destination IP address in routing table. Resolve hostname to corresponding IP address. Send a broadcast requesting the MAC for the destination IP. Destination machine responds with its MAC address. Record the found MAC address in the ARP cache for later reference. Use the MAC address found in ARP cache as the destination MAC. Send the packet out on the wire with the source and destination MAC and IP addresses. IP address hostname Is the destination IP address found in ARP cache? Yes, on local network No Send packet to router to be forwarded to destination host. No Yes

© 1999 Hewlett-Packard Co. H3065S A Managing Packet Flow with TCP a67313 minnie cleo clive mickie Acknowledgements Open Data Packets Close Segment Data Send Packet Retransmit Reassemble 1.Open connection to remote node. 2.Segment data into “datagram” packets. 3.Send datagrams to destination node. 4.If there is no acknowledgement, retransmit! 5.Close connection after all datagrams are received. 6.Receiver node reassembles datagrams into proper order. Sending a packet with TCP:

© 1999 Hewlett-Packard Co. H3065S A Managing Packet Flow with UDP a67314 Sending a packet with UDP: minnie cleo clive mickie Packets cannot be segmented or streamed; a packet is always sent as a single message. 2.No connection is opened with the node; the packet is simply sent to the node. 3.No acknowledgement is sent back to the original sender. 1 1 Since the original sender never knows if packet is received, sender never retransmits. The receiver doesn’t know if it received all of the intended packets. With UDP, the application is responsible for ensuring data transmission is complete.

© 1999 Hewlett-Packard Co. H3065S A Sending Data to Applications via Ports a67315 Problem: Who gets the data? minnie cleo clive Mickie Thousands of packets arrive every minute on the LAN interface card. How does the network subsystem know to which application to deliver the network packets? telnetd $ telnet mickie $ rlogin mickie $ ftp mickie ftpd rlogind Network Subsystem Solution: Assign each application a unique port number. When each packet is sent, a port number will be included in the packet. The port numbers identify which network application is to receive the packet. To: port 23 To: port 21 To: port 512 port 23 port 21 port 512

© 1999 Hewlett-Packard Co. H3065S A Managing Ports with Sockets a6981 minnie cleo clive Mickie telnetd $ telnet mickie $ ftp mickie $ rlogin mickie $ telnet mickie $ ftp mickie Network Subsystem telnetd ftpd rlogind telnetd Problem: Which network application gets the data when multiple instances are present? Multiple clients can be executing the same network application (such as, ftp on cleo and minnie). Multiple instances of the network application can be running on the same client (such as, telnet on clive). Solution: Create a unique socket for each process which runs a network application. A socket is a port number combined with a node’s IP address. A socket connection is the coupling of a client socket number with a server socket number. To: port 23

© 1999 Hewlett-Packard Co. H3065S A More on Socket Connections a67317 Clive Mickie telnetd $ telnet mickie Network Subsystem telnetd telnet telnet Socket = IP Addr + Port No Socket Communications between two processes over the network are uniquely defined by their socket connection. To: port 23 $ telnet mickie Socket = IP Addr + Port No

© 1999 Hewlett-Packard Co. H3065S A Revisiting the OSI Model a6982 7ApplicationCreates/receives the data. 6PresentationDetermines the format in which to represent the data. Possible choices are EBCDIC or ASCII format. 5SessionEstablishes a unique communication path between client/server. Sockets are used to communicate between two systems. A socket is an IP address plus a port number. 4 TransportTCP requires that a socket connection be established; UDP does not. TCP requires packets be acknowledged; UDP does not. TCP is streams-based; UDP is message-based. 3NetworkIP addresses define a system’s network and host number. 2Data linkMAC addresses uniquely identify a LAN card. Ultimately, packets are sent from one MAC address to another. ARP caches map IP addresses to MAC addresses. 1PhysicalThe type of media used to connect the machines together. The type of cabling used for the network.