























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
This course is about introduction to network programming. Topics covered in this are direct link networks, packet switching, internetworking, end-to-end protocols, congestion control and resource, allocation, end-to-end data, applications. This lecture includes: Source, Routing, Packet, Header, Sequence, Destination, Switches, Topology, Data, Transfer, Rotation, Stripping, Address, Pointer, Datagram
Typology: Slides
1 / 31
This page cannot be seen from the preview
Don't miss anything!
























Source Routing
sequence
of address/ports on path fromsource to destination– One direction per switch: port, nextswitch; (absolute)– Switches read, use, and then discarddirections
Data Transfer in Source Routing• Analogous tofollowingdirections
0
1 (^23)
(^21)
3 0
0
1 3 2
Switch 3
Host B
Switch 2
Switch 1 Host A
datadata^
datadata^
datadata^
datadata^
datadata^
datadata^
Source Routing Model
complete topology
of
the network– Changes must propagate to all hosts• Packet headers may be
large
and
variable in size: the length isunpredictable
Forwarding Performance
Implementation and Performance
-^ Packet arriving at interface 1 has to go on interface 2•^ Point of contention for packets: I/O and memory bus
Bridges and Extended LANs
Building Extended LANs
Bridges vs. Switches
Repeat
subset of traffic
Uses and Limitations of Bridges
No translation
between frame
formats
Learning Bridges
optimization
; need not be complete
Bridge B^
Port 1 Port 2
Host^
PortA (^1) B (^1) C (^1) X (^2) Y (^2) Z 2
Learning Bridges
cycle forever
A^ B C E
D B
B
B B^
K F H B
J B B G I
Spanning Tree Concept
Spanning Tree Algorithm
root bridge