[go: up one dir, main page]

0% found this document useful (0 votes)
259 views61 pages

Module-I TCP-IP Overview & Ethernet PDF

This document provides an overview of Module 1 of a TCP/IP training course which covers the OSI and TCP/IP models. It includes lessons on the OSI and TCP/IP models, Ethernet, and the packet delivery process. The TCP/IP model has 5 layers - application, transport, internet, network interface, and physical. Key protocols at each layer like TCP, UDP, IP, Ethernet, and ARP are explained.

Uploaded by

swarnendu das
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
259 views61 pages

Module-I TCP-IP Overview & Ethernet PDF

This document provides an overview of Module 1 of a TCP/IP training course which covers the OSI and TCP/IP models. It includes lessons on the OSI and TCP/IP models, Ethernet, and the packet delivery process. The TCP/IP model has 5 layers - application, transport, internet, network interface, and physical. Key protocols at each layer like TCP, UDP, IP, Ethernet, and ARP are explained.

Uploaded by

swarnendu das
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 61

Module-1: Introduction to TCP/IP

Prashant Mude | 10th May 2017

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


Version Tracker

Created by Reviewed by Approved by Approval date Version

Prashant Mude Prashant Mude Saurabh 10/05/2017 V1.2


Network L&D Srivastava
Reliance Jio Infocomm Ltd
RCP, Navi Mumbai
Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com
Index
Module-1
Lesson 1: OSI & TCP/IP model
Lesson 2: Understanding Ethernet
Lesson 3: Exploring Packet Delivery Process

Module-2 IPv4 and IPv6 Overview

Module-3 Routing Overview-ISIS & BGP

Module-4 MPLS

Module-5 IP-MPLS Hardware Overview

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


Lesson-1 TCP-IP Model

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


Understanding Host-to-Host Communications

– Older model
• Proprietary
• Application and combinations software controlled by one vendor
– Standards-based model
• Multivendor software
• Layered approach

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


Why a Layered Network Model?

192.168.30.2
192.168.10.2

192.168.20.1 192.168.30.1
192.168.10.1

192.168.20.2

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


TCP/IP Stack vs. the OSI Model

 Reduces complexity
 Standardizes interfaces
 Facilitates modular engineering
 Ensures interoperable technology
 Accelerates evolution
 Simplifies teaching and learning

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


The TCP/IP Model

• TCP/IP” is the acronym that is commonly used for the set of network protocols that compose
the Internet Protocol suite.
• TCP/IP is now the most widely used protocol for a number of reasons, including its flexible
addressing scheme, its usability by most operating systems and platforms, its many tools and
utilities, and the need to use it to connect to the Internet.
• Originally also known as the DoD Model, built by DARPA an agency of the US Department of
Defense.
• Provide end-to-end Connectivity specifying how data should be packetized, addressed,
transmitted.
• TCP/IP model specifies 5 Layers, it specifies various protocols at each layer which handing one
aspect of the network communications.

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


TCP/IP Stack Layers

Application • 5 Layers in TCP/IP Stack.

Transport

Internet

Network Interface

Physical

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


Application Layer

• This layer is closest to the User.


• Provides Network service to the applications of the user, such as email, file transfer, and terminal
emulation.
• Ensure that data is readable by receiving systems
• Formats data, structure data, provide data Encryption, Compression and Authentication.
• Negotiates data transfer syntax for application.
• Protocols Running at Application Layer : SMTP,DNS,FTP,POP3,SSH

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


Transport Layer

• Handles transportation issues between hosts


• The purpose of the transport layer is to hide the network requirements from the application layer.
• Connection-oriented transport provides reliable transport; connectionless transport provides best-
effort transport
• Provide reliability through fault detection, flow control, acknowledgement of receipt, Congestion
control, data recovery.
• UDP is a protocol that operates at the transport layer and provides applications with access to the
network layer without the overhead of the reliability mechanisms of TCP. UDP is a connectionless,
best-effort delivery protocol.
• TCP is a protocol that operates at the transport layer and provides applications with access to the
network layer. TCP is connection-oriented, provides error checking, delivers data reliably, operates
in full-duplex mode, and provides some data recovery functions.

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


Reliable vs. Best-Effort Comparison

Reliable Best Effort


Protocol TCP UDP
Connection Type Connection-Oriented Connectionless
Sequencing Yes No
Uses • Email • Voice Streaming
• File Sharing • Video Streaming
• Downloading

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


TCP Characteristics

• Transport layer of the TCP/IP stack


• Access to the network layer for applications
• Connection-oriented protocol
• Full-duplex mode operation
• Error checking
• Sequencing of data packets
• Acknowledgement of receipt
• Data-recovery features

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


TCP Acknowledgment

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


Flow Control

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


UDP Characteristic

• Operates at transport layer of OSI and TCP/IP models


• Provides applications with access to the network layer without the overhead of reliability
mechanisms
• Is a connectionless protocol
• Provides limited error checking
• Provides best-effort delivery
• Has no data-recovery features

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


TCP/IP Applications

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


IP PDU

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


Internet Layer

• Exchanging information between the host connected in different networks.


• Route data packets and select best path to deliver data.
• Provide logical addressing (IP address),which uniquely identify each device on a network.
• Every host (computer, networking device, peripheral) must have a unique address called IP
address.
• Two variants for logical address: IPv4 and IPv6
• Provide fragmentation of packet to fit the packet size as per the next Network requirements.

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


Network Interface Layer

• Provide node to node communication with in the same network.


• Network interface layer provide interface between Software layer (internet) and hardware layer
(physical).
• Defines the Network access methods for the host.
• The network interface defines a addressing scheme know as: Hardware address/Physical
address/MAC address
• Encapsulate the packets received from network layer in to a frame and also add error detection
information.
• Protocol in this layer include: Ethernet for LAN & PPP, HDLC, Frame-Relay ATM for WAN

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


MAC Address Components

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


MAC Address

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


Physical

• Send the data in Bits, Bytes format. Convert Bits, Bytes in voltage levels.
• Defines the electrical, Mechanical, Procedural, and functional specifications for activating,
maintaining and deactivating the physical link.
• Does not try to interpret the meaning of the information it is handling.

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


Address Resolution Process (ARP)

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


Peer-to-Peer Communications

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


Data Encapsulation

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


Data De-Encapsulation

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


End to End Communication Model

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


Lesson-2 Understanding Ethernet

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


Local Area Network

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


LAN Components

– Computers
• PCs
• Servers
– Interconnections
• NICs
• Media
– Network devices
• Hubs
• Switches
• Routers
– Protocols
• Ethernet
• IP
• ARP
• DHCP

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


Functions of a LAN

– Data and applications


– Share resources
– Provide communication path to other networks

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


Ethernet Evolution

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


LAN Standards

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


Ethernet Frame Structure

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


Communicating Within the LAN

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


MAC Address Components

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


MAC Addresses

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


Network Interface Card

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


Comparing Ethernet Media Requirements

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


Differentiating Between Connections

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


1000BASE-T GBIC

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


Ethernet Connector and Jack

• Short wavelength (1000BASE-SX) • RJ-45 Connector


• Long wavelength/long haul
(1000BASE-LX/LH)
• Extended distance (1000BASE-ZX)

• RJ-45 Jack

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


Switch Operation

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


Issues in a Poorly Designed Network

• Unbounded failure domains


• Large broadcast domains
• Large amount of unknown
MAC unicast traffic
• Unbounded multicast traffic
• Management and
support challenges
• Possible security
vulnerabilities

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


VLAN Overview

 A VLAN is a Virtual LAN


 VLAN=Broadcast Domain
 VLAN=Logical Network (subnets)
 VLAN address these needs:
-Segmentation
-Security
-Network Flexibility

VLAN = Broadcast Domain = Logical Network (Subnet)

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


Type of VLAN: Dynamic Vs. Static VLANs

• VLANs can be configured dynamically or statically.

• Static VLAN:

– Static VLANs are configured port-by-port.


– End-User devices become members in a VLAN based on the physical switch port to
which they are connected.
– Each port receives a port VLAN ID (PVID) that associates it with a VLAN number.

• Dynamic VLAN ports automatically learn their VLAN assignment


– Software database of MAC address-to-VLAN mappings

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


VLAN Link Types

• Two types of links

1) Access Port:
• An access port can have only one VLAN configured on
the interface; it can carry traffic for only one VLAN.
• Non-VLAN aware devices

2) Trunk links
• Switch-to-switch links
• Switch-to-router links
• A trunk port can have two or more VLANs
configured on the interface; it can carry traffic for
several VLANs simultaneously.

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


Trunking with 802.1Q (Cont.)

• Combining many VLANs on the same port called


trunking.
• A trunk allows the transportation of frames from
different VLANs.
• Each frame has a tag that specifies the VLAN that it
belongs to.
• Frames are forwarded to the corresponding VLAN
based on the tag information.

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


VLAN Virtual Local Area Network
• IEEE 802.1Q
• A group of devices on different physical LAN segments which can communicate with each
other as if they were all on the same physical LAN segment.

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


802.1Q Frame

VID- VLAN ID is the identification of the VLAN. It


has 12 bits and allow the identification of 4096
(2^12) VLANs. Of the 4096 possible VIDs, a VID
of 0 is used to identify priority frames and value
4095 (FFF) is reserved, so the maximum possible
VLAN configurations are 4,094

Frame tagging
• IEEE 802.1q
• Also known as frame identification
• Adds a four-byte field to Ethernet frame

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


Native VLAN

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


ENodeB to CSR Logical Connectivity

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


Small Cell to CSR/AG1 VLAN Mapping

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


Lesson-3 Exploring Packet Delivery

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


Role of Switch in Packet Delivery Process

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


Role of Switch in Packet Delivery Process

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


Role of Switch in Packet Delivery Process

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


Role of Switch in Packet Delivery Process

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


Role of Switch in Packet Delivery Process

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com


Thank You

Confidential | Network L&D Reliance Jio Infocomm Limited | prashant.mude@ril.com

You might also like