SlideShare a Scribd company logo
1 of 42
• It is a network of networks
• Any network connected to the internet
– Conform to certain naming conventions
– Must run the IP protocol
– IP protocol is also called Internet dial tone
• Internet has a hierarchical topology
– End Systems connected to local ISPs through access networks
– Access Network examples – LAN, telephone line with a modem, high
speed cable networks
– Local ISPs connected to regional ISPs, regional ISPs connected to
national & international ISPs
– Construction analogous with Lego construction
What is the Internet?
• Allows distributed applications to exchange data with each
other
• Applications include: FTP, Telnet, Mail, WWW, distributed
games, video conferencing
• Provides two kinds of services
– Connection Oriented Service (TCP): Establish connection prior to data
exchange, coupled with reliable data transfer, flow control, congestion
control etc.
– Connectionless Service (UDP): No handshake prior to data exchange,
No acknowledgement of data received, no flow/congestion control
Role of Internet
ISP
ISP
Multi-media
Modem
University
Home
Ethernet
Lan Security
Hosting Platform
Origins of
Online Content
Internet – Information Flow
• Internet is a very complex system
• Set of layers and protocols represents the Network
Architecture.
• Protocols are stacked vertically as series of ‘layers’.
• Each layer has a well defined interface.
– Allows for easy replacement of layer
• Each layer offers Services to layer above, shielding
implementation details.
• Each layer on one machine communicates with
corresponding layer on another machine using
Protocol for the Layer.
Protocol Hierarchies
Layers, Protocols &
Interfaces
Physical communications medium
Layer 1 Layer 1
Layer 1 protocol
Layer 2 Layer 2
Layer 1/2
interface
Layer 1/2
interface
Layer 2 protocol
Layer n protocol
Layer n Layer n
Layer 2/3
interface
Layer n-1/n
interface
Layer 2/3
interface
Layer n-1/n
interface
Layer n/n+1
interface
Layer n/n+1
interface
A protocol defines the format and the order of messages
exchanged between two of more communicating entities
as well as the actions taken on the transmission and/or
receipt of a message or other event.
Protocols
TCP Connection Request
TCP Connection Response
Get http://www.ibm.com/index.html
Index.html
Hi
Hi
Got the Time?
8:50
• Examine the mail system in context of layering and standardized
protocols
– Each letter has a standard format for the address.
Internet Architecture – Simple Analogy
Sender’s Home
Sender’s Mail Box
Sender’s Post Office
Routed
Receiver’s Home
Receiver’s Mail Box
Receiver’s Post Office
Layered Architecture -
Internet
Application Layer
Transport Layer
Network Layer
Link Layer
Physical Network
Application Layer
Transport Layer
Network Layer
Link Layer
Message
Packet (Bridge)
Datagram (Router)
Frame (Hub)
Host A Host B
Port-to-Port
Host-to-Host
Node-to-Node
Http, Ftp, Smtp,
Telnet
TCP, UDP
Ethernet, FDDI
IP
Examples
• Implements application protocol
– Users invoke applications using this protocol
• Application Layer Protocol defines
– Types of messages exchanged e.g. request or
response
– Syntax of the various message types, such as,
fields in the messages and how they are delineated
– Semantics of the fields i.e. meaning of information
in each field
– Rules for determining when and how a process
sends messages and responds to messages
Application Layer
• Different applications use different protocols
– Web Servers/Browsers use HTTP
– File Transfer Utilities use FTP
– Electronic Mail applications use SMTP
– Naming Servers use DNS
• Interacts with transport layer to send messages
– Choose the transport layer protocol
– Fix transport layer parameters, such as,
buffer/segment sizes
Application Layer Protocol
• Socket is the interface between the application layer and the
transport layer
• Two parameter are required for identifying receiving process
– Host machine identifier - IP Address
– Host machine process identifier - Port
Application Layer Protocol
TCP/UDP
with
Buffers
and
Variables
Controlled by
Application
Developer
Controlled by
Operating
System
HOST
Process Process
Controlled by
Operating
System
Controlled by
Application
Developer
HOST
TCP/UDP
with
Buffers
and
Variables
Socket Socket
Internet
• Two types of messages
– HTTP request message
– HTTP response message
Application Layer Example: HTTP
Method sp URL sp Version ctr lf
Header Field Name : Value cr lf
Header Field Name : Value cr lf
cr lf
Message Body
Http Request Message Format
Get /somedir/page.html HTTP/1.1
Connection: close
User-agent: Mozilla
Accept: text/html, image/gif, image/jpeg
Accept-language: fr
(extra carriage return, line feed)
Request
Line
•
•
Header
Lines
Http Request Message Example
• Provides for logical communication between applications
running on different hosts
– Application multiplexing and demultiplexing
• Implemented in the end systems but not in network routers
• On sending side
– Divides stream of application message into smaller units (packets),
– Adds the transport header to each chunk
– Sends message to network layer
• On receiving side
– Takes the header off the message packets
– Reassembles the packets in order
– Sends message to the application layer
• Two internet transport protocols available
– TCP
– UDP
Transport Layer
• TCP (Transmission Control Protocol)
• Connection Oriented Service (requires handshake)
– Duplex
– Simplex
• Reliable Data Transfer
– Guaranteed delivery of packets
• Congestion Control
– Throttles process when network is congested
• No guarantee of a minimum transmission rate
• Suitable for reliability critical/ non time critical applications
– FTP
– SMTP
– Telnet
– HTTP
Internet Transport Protocols:TCP
• Stands for User Datagram Protocol
• Lightweight transport protocol
• Connectionless (no handshake)
• Unreliable data transport service
– No acknowlegements (lost packets not resent)
• Messages may arrive out of order
• No congestion control
– Application can pump as many packets over the socket as it
chooses
• Suitable for loss-tolerant time critical applications
– Audio/Video streaming
– Internet Telephony
Internet Transport Protocols: UDP
• Source / Destination Port Numbers
– Multiplexing / Demultiplexing
• Sequence Number & Acknowledgement
Number
– Congestion Control
• Window size
– Flow control
• Length Field
– Length of TCP header in 32-bit words
• Unused field is currently unused
• Flag Field contains 6 bits
– ACK: shows value in acknowledgement field is
valid
– RST, SYN, FIN bits used for connection setup
and teardown
– PSH bit indicates data should be passed to upper
layer immediately
– URG – indicates that there is data in the
segment which is marked as urgent
• Ptr to urgent data
Points to last byte of the urgent data
• Options field is used when sender and receiver
negotiate the maximum segment size.
Transport Layer Example
Source Port Number Destination Port Number
Sequence Number
Acknowledgement Number
UR
G
AC
K
P
S
H
R
S
T
S
Y
N
F
I
N
Header
Length
Unused Receiver Window Size
Source Port Pointer to Urgent Data
Options
Data
32-bits
GET /directory/dirsearch.html HTTP/1.1
Host: www.phoenix.co.uk
Src: 1081 Dst: 80
Chksum: 0xa858
HTTP Message
TCP header
• Provides communication service between two hosts
– Transports packets from sending host to receiving host
• Encapsulates packets in IP datagram with IP header
• Three primary tasks
• Path Determination
– Determine the route taken by a packet as it flows from sender to receiver
• Switching
– Arriving packet is moved to the appropriate output link
• Call Setup
– Handshake prior to routing packets (required by some network
architectures)
• If addressed to local machine, remove the IP datagram header and
pass up to transport layer.
Network Layer
• Version: IP protocol version
• Header Length
• TOS
– Allows different types of IP datagrams to
be differentiated
• Datagram Length
– Length of data + header
• Identifiers, Flags Fragmentation offset
– Deal with fragmentation
• Time-to-live (TTL)
– Decremented each time a router processes a
datagram Datagram dropped when field is
zero
• Protocol
– Indicates transport level protocol
e.g. 6 indicates TCP, 17 indicates UDP
• Checksum: Used for error checking
• Data – Contains the transport layer segment
Network Layer Example
GET /directory/dirsearch.html HTTP/1.1
Host: www.phoenix.co.uk
Src: 1081 Dst: 80
Chksum: 0xa858
Src: 192.168.0.40
Dst: 192.168.0.50 TTL: 128
HTTP Message
IP datagram header
32-bit destination IP Address
Packet Length (bytes)
Time to Live Headerchecksum
Options (if any)
Data
32-bits
32-bit source IP Address
Version
Header
Length
Type of
Service
16-bit identifier
13-bit Fragm-
entation Offset
Flags
Upper Layer
Protocol
TCP header
• Host identifiers are classified in three categories
– Names: Identify what an object is
– Addresses identify where object is
– Routes identify how to get to the object
• Each host on a TCP/IP internet is assigned a unique 32-bit
internet address that is used in all communications with that host.
– Bits of IP addresses on the same host Provide unique address to each host
– Written as four decimal integers separated by decimal points
– Each integer gies the value of one octet of the IP address
• The 32-bit internet address
– 10000000 00001010 00000010 00011110
– 128.10.2.30
Internet Address
• Each host on a TCP/IP internet is assigned a unique
32-bit internet address that is used in all
communication with that host.
• Conceptually each address is a pair (hostid, netid)
– Netid identifies a network
– Hostid identifies a host on that network
• Since IP addresses encode both a network and a host
on that network, they do not specify individual
computers, but a connection to a network
– A router which connects to n networks will have n addresses
– A multi-homed host will have multiple addresses
TCP/IP – Internet
Addressing
• Class of address assigned depends network size
• Each IP address should be class A, B, or C
– Class A used for more than 216 hosts on network
– Class B used when more than 28 but less than 216 hosts on
network
– Class C used for less than 28 hosts on network
TCP/IP – Classes of IP
Addresses
hostid
hostid
hostid
0
1 1 0
0
netid
0
netid
1
1 netid
1
Multicast address
1
0
1 1 1 Reserved for future use
1
Class A
Class B
Class C
Class D
Class E
8 16 24 31
0
32-bits
• Internet addresses can be used to refer to networks as
well as individual hosts
– An address with all bits of the hostid equal to 0 is reserved
to refer to the network
• IP addresses can be used to specify a broadcast
– Directed broadcasts are used to broadcast messages to target
networks
– A directed broadcast address has a valid netid hostid with all
bits set to 1
– Local network broadcast address is used for broadcast to
local network independent of any host address
– Local broadcast address consists of 32 1’s
TCP/IP – Network & Broadcast
Addresses
• A field consisting of zeros means this
– IP address with all hostid fields 0 means this host
– A netid of 0 means the current
• 127.0.0.0 is the loop back address and used primarily for testing
TCP/IP as well as for inter-process comm.
• Dotted Decimal Notation is used to represent IP addresses
– IP addresses are written as four decimal integers separated by decimal
points
– Each integer gives the value of one octet of the IP address
– 10000000 00001010 00000010 00011110  128.10.2.30
TCP/IP – Network & Broadcast Addresses
contd.
Footnotes:
1 Allowed only at system startup and is never a valid destination address.
2 Never a valid source address.
3 Should never appear on a network.
TCP/IP – Summary of
Exceptions
all 0s
all l s
all 0s host
net all 1s
127 Anything (often 1)
This host1
Host on this net1
Limited broadcast (local net)2
Directed broadcast for net2
Loopback3
• Inadequate to respond to the fast growth of networks
– Immense administrative overhead to manage network
addresses
– Routing tables in routers extremely large causing large
overheads when routers exchange routing table information
– Address space of networks will be eventually exhausted
(Already short of class B addresses)
• Original scheme modified to allow sharing of network
addresses
– Transparent Routers
– ARP
– Standard IP Subnets
Problems with conventional IP
Addressing
• Allows multiple networks to share the same network address
• The IP address is redefined such that
– The network id is left intact
– The host id portion is split into subnetwork id and hostid
• TCP/IP subnet standard permits subnet interpretation to be
chosen independently ofr each physical network.
• Once a subnet partition is selected the all machines on the
network must honour it.
Standard IP Subnets
host id
0 netid
1
Original Scheme
host id
0 Netid (Internet)
1
Subnet Scheme Netid (Local)
• Allows multiple networks to share the same network address
Subnets – Hierarchical Addressing
R1
R3
R2
R5
R4
To the internet
Network 1
Network 2 Network 3
Network 4 Network 5
• Sites that use subnet addressing must also choose a 32-bit
subnet mask for each network.
– Bits for network identifier are set to 1
– Bits for the host identifier are set to 0
• For a class B address if the third octet is used for local netid
– Subnet Mask  11111111 11111111 11111111 00000000
• Dotted Decimal Notation is also popular for subnet masks
– {<network number>, <subnet number>, <host number>}
– e.g. 128.10.6.62
Subnet Masks - Representation
• Transfers network layer datagrams over a link
from node to node
– A node is a router or a host
– A link is the communication path along two nodes
• Link Layer protocol defines the format of the
packets exchanged between the nodes
• The packets exchanged by link layer are called
frames
– Each frame typically encapsulates one datagram
– e.g. Ethernet, token ring, FDDI, PPP
Link Layer
• Framing and Link Access
• Reliable delivery
• Flow Control
• Error Detection
• Error Correction
• Two types of services are provided
– Half-Duplex and Full-Duplex
• Implemented in adapters commonly called Network Interface
Cards (NIC)
Link Layer - Services
IP Module Frame IP Module
Frame
Transmitting
Adapter
Receiving
Adapter
Sending
Node
Reveiving
Node
Communication Link
• Ethernet is the dominant protocol in the LAN market
– Primary factors are cost and complexity
• Many topologies of Ethernet
– Bus Topology
– Star Topology
• Supports multiple medium
– Coaxial Cable
– Copper Wire
– Fiber Optic
• Can transmit data at different rates
– 10Mbps, 100Mbps, 1Gbps
Link Layer Example - Ethernet
Data  Contains the IP datagram
Destination Address  LAN address of destination adapter
Source Address  LAN address of source adapter
Type  Permits Ethernet to multiplex network-layer
protocols (allow different protocols)
CRC (Cyclic Redundancy Check) Allow receiving adapter to detect whether
errors have crept into the frame
Link Layer Example - Ethernet
Preamble
Dest.
Address
Source
Address
Type Data CRC
• Accepts IP datagrams and transmits over
specific networks.
• Maybe a simple device driver (e.g. an Ethernet
driver) or a complex subsystem with further
data link protocols.
Physical Layer
Layered Architecture -
WWW
Application Layer
Transport Layer
Internet Layer
Network Layer
Physical Network
Application Layer
Transport Layer
Internet Layer
Network Layer
HTTP Message
TCP Packet
IP Datagram
Ethernet Frame
Web Browser Web Server
• The data may be routed via numerous
nodes called routers
Routing
Web Browser
Web Server
Router
Network
A
Network
B
Protocol Layering - Routing
Application Layer
Transport Layer
Network Layer
Link Layer
Physical Network
Application Layer
Transport Layer
Network Layer
Link Layer
Message
Packet
Frame Frame
Datagram Datagram
Network Layer
Link Layer
Physical Network
Host B
Host A
Router
• Determining the path that the packets should take in
going from one host to another is called routing
• A graph can be used to represent a network
– The nodes correspond to the physical nodes and the edges
correspond to the node connections
Routing
A
D
B C
F
E
1
2
2 3
1
1
2
5
3
• A the heart of the routing is the routing algorithm
• There are two kinds of routing algorithms
– A global routing algorithm uses the knowledge of the entire
network while making selection
– A decentralized algorithm calculates the least cost path in
an iterative distributed manner
• The routing algorithms can also be classified as
– Static: Routes change very slowly over time usually via
manual intervention
– Dynamic: Change routing paths as network traffic loads or
the topology changes
Routing Algorithms
• Only two types of algorithms typically used on
the Internet
– A dynamic global link state algorithm
– A dynamic decentralized distance vector algorithm
Routing Algorithms
• Switch is a generic term for a device that switches data
(packets or frames)
• Hub is link layer switch (node to node)
– Operates on ethernet frames
– L2 switch
– Uses physical addresses (mac addresses)
• Bridge connects two LANS or two segments of the
same LAN
– Protocol Independent
– Operates on ethernet frames
– L2 switch
– Uses physical addresses (mac addresses)
Hub, Switch and Router
• Router is network layer switch (host to host)
– Also called L3 switch
– Uses network addresses
– Operates on packets
• Gateway is a generic term for an
internetworking system
– Can be implemented in software and/or hardware
– Can operate at any level of the OSI model from
application protocols to low-level signaling.
• http://pcwebopedia.com
Hub, Switch and Router
• In TCP/IP any machine on the same network can be
contacted directly, but machines on another network
must be contacted through a router or gateway.
• Router is a specific device (software or hardware) that
forwards a transmission from a local network to other
networks.
• Since the router is another device on the network, it
needs to have its own internal IP address that the
computers can contact.
Routers

More Related Content

Similar to presentation on Internet and its protocol

presentation on TCP/IP protocols data comunications
presentation on TCP/IP protocols data comunicationspresentation on TCP/IP protocols data comunications
presentation on TCP/IP protocols data comunicationsAnyapuPranav
 
Ismail TCP IP.pdf
Ismail TCP IP.pdfIsmail TCP IP.pdf
Ismail TCP IP.pdfhelloraja
 
Ismail TCP IP.pdf
Ismail TCP IP.pdfIsmail TCP IP.pdf
Ismail TCP IP.pdfhelloraja
 
Web technologies: recap on TCP-IP
Web technologies: recap on TCP-IPWeb technologies: recap on TCP-IP
Web technologies: recap on TCP-IPPiero Fraternali
 
Computer Networks
Computer NetworksComputer Networks
Computer NetworksShylesh BC
 
tcp ip protocols.ppt
tcp ip protocols.ppttcp ip protocols.ppt
tcp ip protocols.pptssuser3acfba
 
Internet protocols Report Slides
Internet protocols Report SlidesInternet protocols Report Slides
Internet protocols Report SlidesBassam Kanber
 
WIFI MODEM Part-22
WIFI MODEM Part-22WIFI MODEM Part-22
WIFI MODEM Part-22Techvilla
 
chapter07 - The Internet.pdf
chapter07 - The Internet.pdfchapter07 - The Internet.pdf
chapter07 - The Internet.pdfsatonaka3
 
Unit 4 tansport layer in the internat
Unit 4 tansport layer in the internatUnit 4 tansport layer in the internat
Unit 4 tansport layer in the internatKritika Purohit
 
TCP-IP NETWORKING FOR WIRELESS SYSTEMS
TCP-IP NETWORKING FOR WIRELESS SYSTEMS TCP-IP NETWORKING FOR WIRELESS SYSTEMS
TCP-IP NETWORKING FOR WIRELESS SYSTEMS BuddiesSairamit
 

Similar to presentation on Internet and its protocol (20)

presentation on TCP/IP protocols data comunications
presentation on TCP/IP protocols data comunicationspresentation on TCP/IP protocols data comunications
presentation on TCP/IP protocols data comunications
 
Ismail TCP IP.pdf
Ismail TCP IP.pdfIsmail TCP IP.pdf
Ismail TCP IP.pdf
 
Ismail TCP IP.pdf
Ismail TCP IP.pdfIsmail TCP IP.pdf
Ismail TCP IP.pdf
 
Web technologies: recap on TCP-IP
Web technologies: recap on TCP-IPWeb technologies: recap on TCP-IP
Web technologies: recap on TCP-IP
 
Computer Networks
Computer NetworksComputer Networks
Computer Networks
 
TCP/IP Protocols
TCP/IP ProtocolsTCP/IP Protocols
TCP/IP Protocols
 
TCP /IP
TCP /IPTCP /IP
TCP /IP
 
data communication
data communicationdata communication
data communication
 
Tcp/Ip Model
Tcp/Ip ModelTcp/Ip Model
Tcp/Ip Model
 
Computer Networks
Computer NetworksComputer Networks
Computer Networks
 
tcp ip protocols.ppt
tcp ip protocols.ppttcp ip protocols.ppt
tcp ip protocols.ppt
 
Internet protocols Report Slides
Internet protocols Report SlidesInternet protocols Report Slides
Internet protocols Report Slides
 
Tcp ip
Tcp ipTcp ip
Tcp ip
 
WIFI MODEM Part-22
WIFI MODEM Part-22WIFI MODEM Part-22
WIFI MODEM Part-22
 
chapter07 - The Internet.pdf
chapter07 - The Internet.pdfchapter07 - The Internet.pdf
chapter07 - The Internet.pdf
 
Dist 03-4
Dist 03-4Dist 03-4
Dist 03-4
 
Lecture set 7
Lecture set 7Lecture set 7
Lecture set 7
 
Unit 4 tansport layer in the internat
Unit 4 tansport layer in the internatUnit 4 tansport layer in the internat
Unit 4 tansport layer in the internat
 
Internet protocol
Internet protocolInternet protocol
Internet protocol
 
TCP-IP NETWORKING FOR WIRELESS SYSTEMS
TCP-IP NETWORKING FOR WIRELESS SYSTEMS TCP-IP NETWORKING FOR WIRELESS SYSTEMS
TCP-IP NETWORKING FOR WIRELESS SYSTEMS
 

Recently uploaded

Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...Call Girls in Nagpur High Profile
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZTE
 

Recently uploaded (20)

Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
 

presentation on Internet and its protocol

  • 1. • It is a network of networks • Any network connected to the internet – Conform to certain naming conventions – Must run the IP protocol – IP protocol is also called Internet dial tone • Internet has a hierarchical topology – End Systems connected to local ISPs through access networks – Access Network examples – LAN, telephone line with a modem, high speed cable networks – Local ISPs connected to regional ISPs, regional ISPs connected to national & international ISPs – Construction analogous with Lego construction What is the Internet?
  • 2. • Allows distributed applications to exchange data with each other • Applications include: FTP, Telnet, Mail, WWW, distributed games, video conferencing • Provides two kinds of services – Connection Oriented Service (TCP): Establish connection prior to data exchange, coupled with reliable data transfer, flow control, congestion control etc. – Connectionless Service (UDP): No handshake prior to data exchange, No acknowledgement of data received, no flow/congestion control Role of Internet
  • 4. • Internet is a very complex system • Set of layers and protocols represents the Network Architecture. • Protocols are stacked vertically as series of ‘layers’. • Each layer has a well defined interface. – Allows for easy replacement of layer • Each layer offers Services to layer above, shielding implementation details. • Each layer on one machine communicates with corresponding layer on another machine using Protocol for the Layer. Protocol Hierarchies
  • 5. Layers, Protocols & Interfaces Physical communications medium Layer 1 Layer 1 Layer 1 protocol Layer 2 Layer 2 Layer 1/2 interface Layer 1/2 interface Layer 2 protocol Layer n protocol Layer n Layer n Layer 2/3 interface Layer n-1/n interface Layer 2/3 interface Layer n-1/n interface Layer n/n+1 interface Layer n/n+1 interface
  • 6. A protocol defines the format and the order of messages exchanged between two of more communicating entities as well as the actions taken on the transmission and/or receipt of a message or other event. Protocols TCP Connection Request TCP Connection Response Get http://www.ibm.com/index.html Index.html Hi Hi Got the Time? 8:50
  • 7. • Examine the mail system in context of layering and standardized protocols – Each letter has a standard format for the address. Internet Architecture – Simple Analogy Sender’s Home Sender’s Mail Box Sender’s Post Office Routed Receiver’s Home Receiver’s Mail Box Receiver’s Post Office
  • 8. Layered Architecture - Internet Application Layer Transport Layer Network Layer Link Layer Physical Network Application Layer Transport Layer Network Layer Link Layer Message Packet (Bridge) Datagram (Router) Frame (Hub) Host A Host B Port-to-Port Host-to-Host Node-to-Node Http, Ftp, Smtp, Telnet TCP, UDP Ethernet, FDDI IP Examples
  • 9. • Implements application protocol – Users invoke applications using this protocol • Application Layer Protocol defines – Types of messages exchanged e.g. request or response – Syntax of the various message types, such as, fields in the messages and how they are delineated – Semantics of the fields i.e. meaning of information in each field – Rules for determining when and how a process sends messages and responds to messages Application Layer
  • 10. • Different applications use different protocols – Web Servers/Browsers use HTTP – File Transfer Utilities use FTP – Electronic Mail applications use SMTP – Naming Servers use DNS • Interacts with transport layer to send messages – Choose the transport layer protocol – Fix transport layer parameters, such as, buffer/segment sizes Application Layer Protocol
  • 11. • Socket is the interface between the application layer and the transport layer • Two parameter are required for identifying receiving process – Host machine identifier - IP Address – Host machine process identifier - Port Application Layer Protocol TCP/UDP with Buffers and Variables Controlled by Application Developer Controlled by Operating System HOST Process Process Controlled by Operating System Controlled by Application Developer HOST TCP/UDP with Buffers and Variables Socket Socket Internet
  • 12. • Two types of messages – HTTP request message – HTTP response message Application Layer Example: HTTP Method sp URL sp Version ctr lf Header Field Name : Value cr lf Header Field Name : Value cr lf cr lf Message Body Http Request Message Format Get /somedir/page.html HTTP/1.1 Connection: close User-agent: Mozilla Accept: text/html, image/gif, image/jpeg Accept-language: fr (extra carriage return, line feed) Request Line • • Header Lines Http Request Message Example
  • 13. • Provides for logical communication between applications running on different hosts – Application multiplexing and demultiplexing • Implemented in the end systems but not in network routers • On sending side – Divides stream of application message into smaller units (packets), – Adds the transport header to each chunk – Sends message to network layer • On receiving side – Takes the header off the message packets – Reassembles the packets in order – Sends message to the application layer • Two internet transport protocols available – TCP – UDP Transport Layer
  • 14. • TCP (Transmission Control Protocol) • Connection Oriented Service (requires handshake) – Duplex – Simplex • Reliable Data Transfer – Guaranteed delivery of packets • Congestion Control – Throttles process when network is congested • No guarantee of a minimum transmission rate • Suitable for reliability critical/ non time critical applications – FTP – SMTP – Telnet – HTTP Internet Transport Protocols:TCP
  • 15. • Stands for User Datagram Protocol • Lightweight transport protocol • Connectionless (no handshake) • Unreliable data transport service – No acknowlegements (lost packets not resent) • Messages may arrive out of order • No congestion control – Application can pump as many packets over the socket as it chooses • Suitable for loss-tolerant time critical applications – Audio/Video streaming – Internet Telephony Internet Transport Protocols: UDP
  • 16. • Source / Destination Port Numbers – Multiplexing / Demultiplexing • Sequence Number & Acknowledgement Number – Congestion Control • Window size – Flow control • Length Field – Length of TCP header in 32-bit words • Unused field is currently unused • Flag Field contains 6 bits – ACK: shows value in acknowledgement field is valid – RST, SYN, FIN bits used for connection setup and teardown – PSH bit indicates data should be passed to upper layer immediately – URG – indicates that there is data in the segment which is marked as urgent • Ptr to urgent data Points to last byte of the urgent data • Options field is used when sender and receiver negotiate the maximum segment size. Transport Layer Example Source Port Number Destination Port Number Sequence Number Acknowledgement Number UR G AC K P S H R S T S Y N F I N Header Length Unused Receiver Window Size Source Port Pointer to Urgent Data Options Data 32-bits GET /directory/dirsearch.html HTTP/1.1 Host: www.phoenix.co.uk Src: 1081 Dst: 80 Chksum: 0xa858 HTTP Message TCP header
  • 17. • Provides communication service between two hosts – Transports packets from sending host to receiving host • Encapsulates packets in IP datagram with IP header • Three primary tasks • Path Determination – Determine the route taken by a packet as it flows from sender to receiver • Switching – Arriving packet is moved to the appropriate output link • Call Setup – Handshake prior to routing packets (required by some network architectures) • If addressed to local machine, remove the IP datagram header and pass up to transport layer. Network Layer
  • 18. • Version: IP protocol version • Header Length • TOS – Allows different types of IP datagrams to be differentiated • Datagram Length – Length of data + header • Identifiers, Flags Fragmentation offset – Deal with fragmentation • Time-to-live (TTL) – Decremented each time a router processes a datagram Datagram dropped when field is zero • Protocol – Indicates transport level protocol e.g. 6 indicates TCP, 17 indicates UDP • Checksum: Used for error checking • Data – Contains the transport layer segment Network Layer Example GET /directory/dirsearch.html HTTP/1.1 Host: www.phoenix.co.uk Src: 1081 Dst: 80 Chksum: 0xa858 Src: 192.168.0.40 Dst: 192.168.0.50 TTL: 128 HTTP Message IP datagram header 32-bit destination IP Address Packet Length (bytes) Time to Live Headerchecksum Options (if any) Data 32-bits 32-bit source IP Address Version Header Length Type of Service 16-bit identifier 13-bit Fragm- entation Offset Flags Upper Layer Protocol TCP header
  • 19. • Host identifiers are classified in three categories – Names: Identify what an object is – Addresses identify where object is – Routes identify how to get to the object • Each host on a TCP/IP internet is assigned a unique 32-bit internet address that is used in all communications with that host. – Bits of IP addresses on the same host Provide unique address to each host – Written as four decimal integers separated by decimal points – Each integer gies the value of one octet of the IP address • The 32-bit internet address – 10000000 00001010 00000010 00011110 – 128.10.2.30 Internet Address
  • 20. • Each host on a TCP/IP internet is assigned a unique 32-bit internet address that is used in all communication with that host. • Conceptually each address is a pair (hostid, netid) – Netid identifies a network – Hostid identifies a host on that network • Since IP addresses encode both a network and a host on that network, they do not specify individual computers, but a connection to a network – A router which connects to n networks will have n addresses – A multi-homed host will have multiple addresses TCP/IP – Internet Addressing
  • 21. • Class of address assigned depends network size • Each IP address should be class A, B, or C – Class A used for more than 216 hosts on network – Class B used when more than 28 but less than 216 hosts on network – Class C used for less than 28 hosts on network TCP/IP – Classes of IP Addresses hostid hostid hostid 0 1 1 0 0 netid 0 netid 1 1 netid 1 Multicast address 1 0 1 1 1 Reserved for future use 1 Class A Class B Class C Class D Class E 8 16 24 31 0 32-bits
  • 22. • Internet addresses can be used to refer to networks as well as individual hosts – An address with all bits of the hostid equal to 0 is reserved to refer to the network • IP addresses can be used to specify a broadcast – Directed broadcasts are used to broadcast messages to target networks – A directed broadcast address has a valid netid hostid with all bits set to 1 – Local network broadcast address is used for broadcast to local network independent of any host address – Local broadcast address consists of 32 1’s TCP/IP – Network & Broadcast Addresses
  • 23. • A field consisting of zeros means this – IP address with all hostid fields 0 means this host – A netid of 0 means the current • 127.0.0.0 is the loop back address and used primarily for testing TCP/IP as well as for inter-process comm. • Dotted Decimal Notation is used to represent IP addresses – IP addresses are written as four decimal integers separated by decimal points – Each integer gives the value of one octet of the IP address – 10000000 00001010 00000010 00011110  128.10.2.30 TCP/IP – Network & Broadcast Addresses contd.
  • 24. Footnotes: 1 Allowed only at system startup and is never a valid destination address. 2 Never a valid source address. 3 Should never appear on a network. TCP/IP – Summary of Exceptions all 0s all l s all 0s host net all 1s 127 Anything (often 1) This host1 Host on this net1 Limited broadcast (local net)2 Directed broadcast for net2 Loopback3
  • 25. • Inadequate to respond to the fast growth of networks – Immense administrative overhead to manage network addresses – Routing tables in routers extremely large causing large overheads when routers exchange routing table information – Address space of networks will be eventually exhausted (Already short of class B addresses) • Original scheme modified to allow sharing of network addresses – Transparent Routers – ARP – Standard IP Subnets Problems with conventional IP Addressing
  • 26. • Allows multiple networks to share the same network address • The IP address is redefined such that – The network id is left intact – The host id portion is split into subnetwork id and hostid • TCP/IP subnet standard permits subnet interpretation to be chosen independently ofr each physical network. • Once a subnet partition is selected the all machines on the network must honour it. Standard IP Subnets host id 0 netid 1 Original Scheme host id 0 Netid (Internet) 1 Subnet Scheme Netid (Local)
  • 27. • Allows multiple networks to share the same network address Subnets – Hierarchical Addressing R1 R3 R2 R5 R4 To the internet Network 1 Network 2 Network 3 Network 4 Network 5
  • 28. • Sites that use subnet addressing must also choose a 32-bit subnet mask for each network. – Bits for network identifier are set to 1 – Bits for the host identifier are set to 0 • For a class B address if the third octet is used for local netid – Subnet Mask  11111111 11111111 11111111 00000000 • Dotted Decimal Notation is also popular for subnet masks – {<network number>, <subnet number>, <host number>} – e.g. 128.10.6.62 Subnet Masks - Representation
  • 29. • Transfers network layer datagrams over a link from node to node – A node is a router or a host – A link is the communication path along two nodes • Link Layer protocol defines the format of the packets exchanged between the nodes • The packets exchanged by link layer are called frames – Each frame typically encapsulates one datagram – e.g. Ethernet, token ring, FDDI, PPP Link Layer
  • 30. • Framing and Link Access • Reliable delivery • Flow Control • Error Detection • Error Correction • Two types of services are provided – Half-Duplex and Full-Duplex • Implemented in adapters commonly called Network Interface Cards (NIC) Link Layer - Services IP Module Frame IP Module Frame Transmitting Adapter Receiving Adapter Sending Node Reveiving Node Communication Link
  • 31. • Ethernet is the dominant protocol in the LAN market – Primary factors are cost and complexity • Many topologies of Ethernet – Bus Topology – Star Topology • Supports multiple medium – Coaxial Cable – Copper Wire – Fiber Optic • Can transmit data at different rates – 10Mbps, 100Mbps, 1Gbps Link Layer Example - Ethernet
  • 32. Data  Contains the IP datagram Destination Address  LAN address of destination adapter Source Address  LAN address of source adapter Type  Permits Ethernet to multiplex network-layer protocols (allow different protocols) CRC (Cyclic Redundancy Check) Allow receiving adapter to detect whether errors have crept into the frame Link Layer Example - Ethernet Preamble Dest. Address Source Address Type Data CRC
  • 33. • Accepts IP datagrams and transmits over specific networks. • Maybe a simple device driver (e.g. an Ethernet driver) or a complex subsystem with further data link protocols. Physical Layer
  • 34. Layered Architecture - WWW Application Layer Transport Layer Internet Layer Network Layer Physical Network Application Layer Transport Layer Internet Layer Network Layer HTTP Message TCP Packet IP Datagram Ethernet Frame Web Browser Web Server
  • 35. • The data may be routed via numerous nodes called routers Routing Web Browser Web Server Router Network A Network B
  • 36. Protocol Layering - Routing Application Layer Transport Layer Network Layer Link Layer Physical Network Application Layer Transport Layer Network Layer Link Layer Message Packet Frame Frame Datagram Datagram Network Layer Link Layer Physical Network Host B Host A Router
  • 37. • Determining the path that the packets should take in going from one host to another is called routing • A graph can be used to represent a network – The nodes correspond to the physical nodes and the edges correspond to the node connections Routing A D B C F E 1 2 2 3 1 1 2 5 3
  • 38. • A the heart of the routing is the routing algorithm • There are two kinds of routing algorithms – A global routing algorithm uses the knowledge of the entire network while making selection – A decentralized algorithm calculates the least cost path in an iterative distributed manner • The routing algorithms can also be classified as – Static: Routes change very slowly over time usually via manual intervention – Dynamic: Change routing paths as network traffic loads or the topology changes Routing Algorithms
  • 39. • Only two types of algorithms typically used on the Internet – A dynamic global link state algorithm – A dynamic decentralized distance vector algorithm Routing Algorithms
  • 40. • Switch is a generic term for a device that switches data (packets or frames) • Hub is link layer switch (node to node) – Operates on ethernet frames – L2 switch – Uses physical addresses (mac addresses) • Bridge connects two LANS or two segments of the same LAN – Protocol Independent – Operates on ethernet frames – L2 switch – Uses physical addresses (mac addresses) Hub, Switch and Router
  • 41. • Router is network layer switch (host to host) – Also called L3 switch – Uses network addresses – Operates on packets • Gateway is a generic term for an internetworking system – Can be implemented in software and/or hardware – Can operate at any level of the OSI model from application protocols to low-level signaling. • http://pcwebopedia.com Hub, Switch and Router
  • 42. • In TCP/IP any machine on the same network can be contacted directly, but machines on another network must be contacted through a router or gateway. • Router is a specific device (software or hardware) that forwards a transmission from a local network to other networks. • Since the router is another device on the network, it needs to have its own internal IP address that the computers can contact. Routers