(19a) Networking Handout

Embed Size (px)

Citation preview

  • 8/13/2019 (19a) Networking Handout

    1/35

    Networking

    Basics

    byS.MuthusamiDDE, STI(T)

  • 8/13/2019 (19a) Networking Handout

    2/35

    What is Networking?

    Connecting two or more computers

    Types of Networking LAN (Local Area Network)

    Normally within a building

    Connection orientedWireless

  • 8/13/2019 (19a) Networking Handout

    3/35

    What is Networking?

    WAN (Wide area network)

    between two branches in different citiesdedicated lines(Costly but slower than LA

    VPN (Virtual private network)

    between two branches in different cities

    public network (Cheaper than WAN butthan LAN)

  • 8/13/2019 (19a) Networking Handout

    4/35

    Why Networking?

    Purpose of Networking

    Sharing of files Sharing of resources

    Sharing of programs

    Users communicate with each other

    Video conferencing

  • 8/13/2019 (19a) Networking Handout

    5/35

    Why Networking? Contd

    Entertainment, distributed games Audio & video streaming

    Doom and other games

    Commerce Ticket booking, Purchase of articles and ba

    Automation of business processes

    Control of equipment Domestic like washing machine, Microwav

  • 8/13/2019 (19a) Networking Handout

    6/35

    Terminology

    Local networks are called LANs

    A computer connected to a LAN is known as

    A computer is turned on and can access theis said to be online.

    LAN and Internet are different

    Internet is a group of large networks

    Two modes of configuration in a network

    Client Server model (Domain)

    Peer to Peer model (Workgroup)

  • 8/13/2019 (19a) Networking Handout

    7/35

    Domain Configuration

    DC ADC

    Workstation

    Switch

    Workstation Work

  • 8/13/2019 (19a) Networking Handout

    8/35

    Features of a Domain

    Suited for large Networks Increased security by central authentication

    Access control with NTFS file system Disk quota

    Remote access DNS

    DHCP Mailing facility

    Costly operating system

  • 8/13/2019 (19a) Networking Handout

    9/35

    Peer to Peer model

    SwitchWorkstation Wor

    Wor

    Workstation

  • 8/13/2019 (19a) Networking Handout

    10/35

    Features of a Peer to peer

    Suited for Small Networks up to ten compute

    Share level Access control Cheaper operating system

    Easier to maintain

    No Administrator

    Static IP addresses

  • 8/13/2019 (19a) Networking Handout

    11/35

    Network infrastructure

    Physical

    Network interface card

    Cables

    Switches/Hubs

    RoutersConnectors

    Logical

    Operating system

    protocols

  • 8/13/2019 (19a) Networking Handout

    12/35

    UTP cable

  • 8/13/2019 (19a) Networking Handout

    13/35

    ScTP cable

  • 8/13/2019 (19a) Networking Handout

    14/35

    UTP cables

    C

  • 8/13/2019 (19a) Networking Handout

    15/35

    Connectors

    T l

  • 8/13/2019 (19a) Networking Handout

    16/35

    1. Bus topology

    Topology

    2. St

    3. Ring to

    N t k i ti

  • 8/13/2019 (19a) Networking Handout

    17/35

    Network communication

    Communication between two computers in a networ

    OSI reference model (Open Systems InterconnectReference Model (1984))

    standardization of the various protocols used in comnetworks by the International Standards Organizati

    TCP/IP model or DOD model

  • 8/13/2019 (19a) Networking Handout

    18/35

    The OSI model

    Application layer

    Transport

    Network

    Link

  • 8/13/2019 (19a) Networking Handout

    19/35

    The OSI model

  • 8/13/2019 (19a) Networking Handout

    20/35

    The Physical Layer

    Responsibility: transmission of raw bits over a communication

    channel. Issues:

    mechanical and electrical interfaces time per bit

    distances

    The Data Link Layer

  • 8/13/2019 (19a) Networking Handout

    21/35

    The Data Link Layer -

    Data Link Control

    Responsibility: provide an error-free communication link

    Issues:framing (dividing data into chunks) header & trailer bits

    addressing

    10110110101 01100010011 1011000

    The Data Link Layer

  • 8/13/2019 (19a) Networking Handout

    22/35

    The Data Link Layer -

    The MAC sublayer

    Medium Access Control - needed by mutiaccnetworks.

    MAC provides DLC with virtual wires on

    multiaccess networks.

    Th N k L

  • 8/13/2019 (19a) Networking Handout

    23/35

    The Network Layer

    Responsibilities:

    path selection between end-systems (routing). subnet flow control.

    fragmentation & reassembly translation between different network types.

    Issues:packetheaders

    virtual circuits

    Th T L

  • 8/13/2019 (19a) Networking Handout

    24/35

    The Transport Layer

    Responsibilities:

    provides virtual end-to-end links between peerprocesses.

    end-to-end flow control Issues:

    headers error detection

    reliable communication

    Th S i L

  • 8/13/2019 (19a) Networking Handout

    25/35

    The Session Layer

    Responsibilities: establishes, manages, and terminates sessions be

    applications.

    service location lookup

    Many protocol suites do not include a session

    layer.

    Th P t ti L

  • 8/13/2019 (19a) Networking Handout

    26/35

    The Presentation Layer

    Responsibilities: data encryption

    data compression data conversion

    Many protocol suites do not include a PresenLayer.

    Th A li ti L

  • 8/13/2019 (19a) Networking Handout

    27/35

    The Application Layer

    Responsibilities: anything not provided by any of the other layers

    Issues: application level protocols

    appropriate selection of type of service

    Network Address

  • 8/13/2019 (19a) Networking Handout

    28/35

    Network Address

    Every host connected to a network should have aaddress for interconnectivity

    IP addresses are unique logical addresses (not p 32 bits.( 4 octets in dotted decimal notation)

    Includes a network ID and a host ID.

    Every host must have a unique host ID in its IP ad

    IP addresses are assigned by a central authority

    Internet numbers assigning authority) Subnet masks are to identify the network ID and h

    Eg: For Class C network 255.255.255.0Class B network 255.255.0.0

    Network Address

  • 8/13/2019 (19a) Networking Handout

    29/35

    Network Address

    Every Ethernet interface has a unique 48 bit a

    also (MAC address a.k.a. hardware address).

    Example: C0:B3:44:17:21:17 Switches use this address for switching

    IP Address

  • 8/13/2019 (19a) Networking Handout

    30/35

    IP Address

    0NetID

    10

    110 NetID

    1110 Multicast Address

    HostID

    NetID HostID

    HostID

    ClassClassAA

    BB

    CC

    DD8 bits 8 bits 8 bits8 bits

    0

    12

    1

    22

    241111 ResearchEE

    Eg: 192.128.16.1

    Class A B&C IP Address

  • 8/13/2019 (19a) Networking Handout

    31/35

    Class A,B&C IP Address

    Class A 128 possible network IDs

    over 4 million host IDs per network ID

    Class AClass A 128 possible network IDs

    over 4 million host IDs per networkID

    Class BClass B 16K possible network IDs

    64K host IDs per network ID

    Class CClass C over 2 million possible network IDs

    about 256 host IDs per network ID

    Network ID and Host ID

  • 8/13/2019 (19a) Networking Handout

    32/35

    Network ID and Host ID

    A Network ID is assigned to an organization by authority.

    Host IDs are assigned locally by the system adm Both the Network ID and the Host ID are used fo

    A single network interface is assigned a single IPcalled the hostaddress.

    A host may have multiple interfaces, and therefohostaddresses.

    Hosts that share a network all have the same IP naddress (the network ID).

    Subnetting

  • 8/13/2019 (19a) Networking Handout

    33/35

    Subnetting

    router

    Subnet A192.168.1.0

    Subnet B192.168.2.0

    Subnet C192.168.3.0

    Process summary

  • 8/13/2019 (19a) Networking Handout

    34/35

    Process summary

    Letter

    Letter

    Addressed

    Envelope

    Addressed

    Envelope

  • 8/13/2019 (19a) Networking Handout

    35/35

    Thank You