Lecture 1 Networking Concepts

Embed Size (px)

Citation preview

  • 7/28/2019 Lecture 1 Networking Concepts

    1/30

    Networking Concepts

    Lecture 1

    1Lecture 1

  • 7/28/2019 Lecture 1 Networking Concepts

    2/30

    LAN

    Concepts

    Attenuation, Noise

    Hardware

    Repeater, Amplifier Bridge, Router, Gateway, Switch, Hub

    Twisted pair, Coaxial cable, Fiber optics

    Server, Workstation

    Wireless access point

    Topology Bus, Tree, Star, Ring

    2Lecture 1

  • 7/28/2019 Lecture 1 Networking Concepts

    3/30

    LAN

    Standard

    OSI (Open Systems Interconnection)

    IEEE (Institute of Electrical and Electronic Engineers)

    ITU-T (Intl Telephone Union Telecom. Sector)

    ISO (International Standards Organization)

    EIA (Electronic Industries Association)

    ETS (European Telecom. Standard)

    3Lecture 1

  • 7/28/2019 Lecture 1 Networking Concepts

    4/30

    Communications Hardware

    Repeater

    Extends distance limitation on networks (both voice and data)

    Filters noise

    Regenerates signals

    For twisted pair wire, repeaters are placed every 100 meters Amplifier

    Extends distance limitation on networks (both voice and data)

    Amplifies both signal and noise

    4Lecture 1

  • 7/28/2019 Lecture 1 Networking Concepts

    5/30

    Communications Hardware

    Bridge

    Connects two LANs using same protocol

    Single path between LANs

    Minimal sophistication Router

    Connects multiple LANs using same protocol

    Choice of paths between LANs

    Mainstay of internetworking

    5Lecture 1

  • 7/28/2019 Lecture 1 Networking Concepts

    6/30

    Communications Hardware

    Gateway

    Connects multiple LANs using any protocol

    Very sophisticated

    Supports todays internet by providing access points to severalnetworks

    Hub

    Connects nodes to a network

    Sometimes acts as repeater

    6Lecture 1

  • 7/28/2019 Lecture 1 Networking Concepts

    7/30

    Communications Hardware

    Switch

    Connects multiple LAN segments using the same protocol

    Connections may use twisted pair, coaxial cable, or fiber optics

    wiring Faster than bridges

    Enables simultaneous communication between multiple network

    segments

    7Lecture 1

  • 7/28/2019 Lecture 1 Networking Concepts

    8/30

    Ethernet

    Ethernet was developed jointly by Xerox, Intel, and DEC in 1980

    DEC (Digital Equipment Corporation) a computer company thatspecialized in mini-computers in the 1970s. It was acquired byCompaq and Compaq merged with HP.

    This was the first commercial LAN system

    Ethernet is a simple protocol to implement

    Ethernet addresses the layers 1 and 2 functionality for the OSI model Ethernet standard is very close to IEEE 802.3 standard, but has some

    minor differences

    8Lecture 1

  • 7/28/2019 Lecture 1 Networking Concepts

    9/30

    Ethernet

    Ethernet uses bus topology (which we will discuss next)

    Ethernet transmits a baseband signal at 10 Mbps Baseband signals are digital and bidirectional

    Ethernet allows the user data to have a variable length up to 1500 bytes

    Unlike HDLC(High Level Data Link Control) and SDLC(Synchronous Data Link Control) protocols, Ethernet uses a length

    field in the header to identify the length of the user data in bytes.Because of this, no special bit pattern is needed to recognize the startand end of the user data.

    9Lecture 1

  • 7/28/2019 Lecture 1 Networking Concepts

    10/30

    Ethernet frame format

    6-bytes 6-bytes 2-bytes Variable length 4-bytes

    Destination

    address

    Source

    address

    length User data CRC-32

    CyclicRedundancy

    Check

    10Lecture 1

  • 7/28/2019 Lecture 1 Networking Concepts

    11/30

    Ethernet diagram

    PC1

    PC2

    PC3

    Segment 1

    Repeater

    PC-B

    PC-A

    PC-C

    Segment 2

    11Lecture 1

  • 7/28/2019 Lecture 1 Networking Concepts

    12/30

    Bus topology

    It is a contention-based topology, which means that each node on thenetwork must contend for access

    Each node listens to traffic on the network

    When a node has packets to transfer and the bus is not busy, then the

    packets are put on the bus in both directions, with the destination

    address marked on the packets All nodes listen to traffic on the network and the node that has packets

    addressed to it, receives the packets

    No routing or switching is involved in data transfer

    12Lecture 1

  • 7/28/2019 Lecture 1 Networking Concepts

    13/30

    Bus topology diagram

    PC1 PC3PC2 PC4

    Tap for a new node

    13Lecture 1

  • 7/28/2019 Lecture 1 Networking Concepts

    14/30

    Tree topology

    Tree topology is a variation on bus topology

    A special node is designated as root

    The primary reason for this topology is to segment nodes so that not allnodes need to listen to packets broadcast on a segment

    This adds a layer of security in the form of unwanted nodes notlistening to the network traffic

    Speeds up data transfer since there will be fewer nodes on eachsegment

    14Lecture 1

  • 7/28/2019 Lecture 1 Networking Concepts

    15/30

    Tree topology diagram

    Root

    PC 1 PC 2

    PC 3

    PC 4PC 5

    PC 6

    PC 7

    15Lecture 1

  • 7/28/2019 Lecture 1 Networking Concepts

    16/30

    Star topology

    This is another variation on bus topology

    This has a central hub, a passive device

    Star is a logical bus and a physical ring

    Hub has ports in multiples of 8. Multiple hubs can be connected in adaisy chain format

    Easy to add nodes to the network and remove nodes from the network

    Central node does switching between nodes

    Multiple nodes can communicate simultaneously without collision

    Potential problem is the single point of failure for the network whenthe central node fails

    16Lecture 1

  • 7/28/2019 Lecture 1 Networking Concepts

    17/30

    Star topology diagram

    HubPC 1 PC 5

    PC 3

    PC 7

    PC 4PC 2

    PC 8PC 6

    17Lecture 1

  • 7/28/2019 Lecture 1 Networking Concepts

    18/30

    Ring topology

    The nodes are connected in a ring pattern

    Unlike bus topology, each node on the ring acts as a repeater on thenetwork

    Nodes access the network using a token, which eliminates the need forcontention as in bus topology

    Token is a series of bits that identifies the node that has the right to

    transmit at any given time

    Example of a token: Assume that there are 6 nodes on the network.The nodes are labeled 1 through 6 and the token would consist of 3

    bits. The token 100 will indicate that node 4 has the token.

    Tokens circulate in a single direction from a node to its neighbor

    18Lecture 1

  • 7/28/2019 Lecture 1 Networking Concepts

    19/30

    Ring topology diagram

    PC 1

    PC 2

    PC 3

    PC 4

    PC 5

    PC 6

    19Lecture 1

  • 7/28/2019 Lecture 1 Networking Concepts

    20/30

    OSI 7-layer model

    Source Destination

    Application

    Presentation

    Session

    Transport

    Network

    Data link

    Physical

    Application

    Presentation

    Session

    Transport

    Network

    Data link

    Physical

    20Lecture 1

  • 7/28/2019 Lecture 1 Networking Concepts

    21/30

    IEEE 802

    802.1 General LAN management of OSI

    layers 3 through 7

    802.2 LLC sublayer(Logical Link Control)

    802.3 Ethernet

    802.4 Token bus

    802.5 Token ring

    802.6 MAN

    802.7 Broadband, in general

    21Lecture 1

  • 7/28/2019 Lecture 1 Networking Concepts

    22/30

    IEEE 802

    802.10 Network Security

    802.11 Wireless LAN

    802.12 100VG-AnyLAN (Voice Grade)

    802.13 unused

    802.14 Cable Modem

    22Lecture 1

  • 7/28/2019 Lecture 1 Networking Concepts

    23/30

    WAN

    Concepts

    Gateway, Frame Relay, ATM, DSL, T1, T3, STS (Synchronous

    Transport Signal)

    Standard TCP/IP (Transmission Control Protocol /Internet Protocol)

    IETF (Internet Engineering Task Force)

    ATM Forum (Asynchronous Transfer Mode)

    23Lecture 1

  • 7/28/2019 Lecture 1 Networking Concepts

    24/30

    STS, STM, OC equivalencies

    STS level STM level OC level Data Rate

    STS-1 -- OC-1 52 Mbps

    STS-3 STM-1 OC-3 155 Mbps

    STS-9 STM-3 OC-9 467 Mbps

    STS-12 STM-4 OC-12 622 Mbps

    STS-18 STM-6 OC-18 933 Mbps

    STS-24 STM-8 OC-24 1.2 Gbps

    STS-36 STM-12 OC-36 1.9 Gbps

    STS-48 STM-16 OC-48 2.5 Gbps

    Synchronized Transfer Signal

    Synchronized Transfer Mode Level-1Optical Carrier

    24Lecture 1

  • 7/28/2019 Lecture 1 Networking Concepts

    25/30

    ATM VPI and VCI

    VPI 1 VPI 5

    VPI 3

    VC I 1

    VC I 2

    VC I 1

    VC I 2

    VPI 3

    VPI 2VC I 2

    VC I 6

    VCI 2

    VCI 6

    VCI 4

    VCI 7

    VCI 7

    VCI 4

    VP Switch

    VPI 6

    25Lecture 1

  • 7/28/2019 Lecture 1 Networking Concepts

    26/30

    TCP/IP functions

    Establish a connection between nodes Manage data flow on the network

    Handle transmission errors

    Terminate connection at the end

    TCP is a connection-oriented protocol, meaning that a packet sent to

    the next node is monitored for proper receipt

    IP is a connection-less protocol, meaning that a packet sent to the nextnode is not monitored for proper delivery

    Since TCP and IP work together, the packet delivery is reliable

    Connection-less mode is known as User Datagram Protocol (UDP)

    26Lecture 1

  • 7/28/2019 Lecture 1 Networking Concepts

    27/30

    TCP/IP 5-layer model

    TCP/IP protocol is divided into 5 layers

    Application layer

    Transport layer

    Network layer

    Data link layer Physical layer

    27Lecture 1

  • 7/28/2019 Lecture 1 Networking Concepts

    28/30

    IP Addressing

    IP address consists of 4 octets: n.n.n.n where n is in the range 0 to 255

    This form of IP address is known as IPv4, denoting IP address Version

    4

    A new form of IP address known as IPv6, denoting IP address Version

    6, has been proposed. It uses 128-bit addressing instead of 32-bit

    addressing.

    28Lecture 1

  • 7/28/2019 Lecture 1 Networking Concepts

    29/30

    IP Address Hierarchy

    There are 3 main classes of IP addresses in use and two additionalclasses of IP addresses available for multicast and testing

    Class A First octet range: 1126

    IBM, AT&T, HP, Merck, Stanford University

    Class B First octet range: 128191

    U of L and most other universities Class C First octet range: 192223

    IGLOU, Louisvilles first ISP

    29Lecture 1

  • 7/28/2019 Lecture 1 Networking Concepts

    30/30

    UDP

    User Datagram Protocol is a best effort protocol best effort means no guarantee of delivery

    This is a connection-less protocol

    UDP does not provide reliability

    UDP sends out packets without first establishing a connection

    RFC 768 describes UDP UDP header consists of source port, destination port, length, checksum

    Example of UDP: TFTP (Trivial File Transfer Protocol). TFTP is usedwhen bootsrapping diskless system

    TFTP is on UDP port 69

    30Lecture 1