Slides For Chapter 3: Networking and Internetworking: Distributed Systems: Concepts and Design
Slides For Chapter 3: Networking and Internetworking: Distributed Systems: Concepts and Design
km
InstructorsGuideforCoulouris,Dollimore,KindbergandBlair,DistributedSystems:ConceptsandDesignEdn.5
PearsonEducation2012
Figure 3.2
Conceptual layering of protocol software
Layer n
Layer 2
Layer 1
InstructorsGuideforCoulouris,Dollimore,KindbergandBlair,DistributedSystems:ConceptsandDesignEdn.5
PearsonEducation2012
Figure 3.3
Encapsulation as it is applied in layered protocols
Application-layer message
Presentation header
Session header
Transport header
Network header
InstructorsGuideforCoulouris,Dollimore,KindbergandBlair,DistributedSystems:ConceptsandDesignEdn.5
PearsonEducation2012
Figure 3.4
Protocol layers in the ISO Open Systems Interconnection (OSI) model
Session
Transport
Network
Data link
Physical
Sender Communication Recipient
medium
InstructorsGuideforCoulouris,Dollimore,KindbergandBlair,DistributedSystems:ConceptsandDesignEdn.5
PearsonEducation2012
Figure 3.5
OSI protocol summary
InstructorsGuideforCoulouris,Dollimore,KindbergandBlair,DistributedSystems:ConceptsandDesignEdn.5
PearsonEducation2012
Figure 3.6
Internetwork layers
Message
Layers
Application
Internetwork
Transport protocols
Internetwork
Internetwork packets
Network interface
Underlying
Network-specific packets network
protocols
Underlying network
InstructorsGuideforCoulouris,Dollimore,KindbergandBlair,DistributedSystems:ConceptsandDesignEdn.5
PearsonEducation2012
Figure 3.7
Routing in a wide area network
A 1 B
2
Hosts
Links
or local 3 4
C
networks
5
D 6 E
Routers
InstructorsGuideforCoulouris,Dollimore,KindbergandBlair,DistributedSystems:ConceptsandDesignEdn.5
PearsonEducation2012
Figure 3.8
Routing tables for the network in Figure 3.7
RoutingsfromD RoutingsfromE
InstructorsGuideforCoulouris,Dollimore,KindbergandBlair,DistributedSystems:ConceptsandDesignEdn.5
PearsonEducation2012
Figure 3.9
Pseudo-code for RIP routing algorithm
Send:EachtsecondsorwhenTlchanges,sendTloneachnonfaultyoutgoinglink.
Receive:WheneveraroutingtableTrisreceivedonlinkn:
forallrowsRrinTr{
if(Rr.link|n){
Rr.cost=Rr.cost+1;
Rr.link=n;
if(Rr.destinationisnotinTl)addRrtoTl;
//addnewdestinationtoTl
elseforallrowsRlinTl{
if(Rr.destination=Rl.destinationand
(Rr.cost<Rl.costorRl.link=n))Rl=Rr;
//Rr.cost<Rl.cost:remotenodehasbetterroute
//Rl.link=n:remotenodeismoreauthoritative
}
}
}
InstructorsGuideforCoulouris,Dollimore,KindbergandBlair,DistributedSystems:ConceptsandDesignEdn.5
PearsonEducation2012
Figure 3.10
Simplified view of part of a university campus network
router/
Campus138.37.95.240/29 138.37.95.241 firewall
router subnet hammer
Staff subnet Student subnet
138.37.88 138.37.88.251 138.37.94.251 138.37.94
compute file server/
server Eswitch Eswitch gateway
bruno
138.37.88.249 custard
138.37.94.246 printers
dialup
server
henry
138.37.88.230 other
file servers
server
hotpoint
138.37.88.162
web
server
copper
138.37.88.248
hub hub
Campus138.37.95.248/29 sickle
router/ 100 Mbps Ethernet
router subnet 138.37.95.249 firewall
1000 Mbps Ethernet
Eswitch: Ethernet switch
InstructorsGuideforCoulouris,Dollimore,KindbergandBlair,DistributedSystems:ConceptsandDesignEdn.5
PearsonEducation2012
Figure 3.11
Tunnelling for IPv6 migration
IPv4 network
IPv6 IPv6
A B
Encapsulators
InstructorsGuideforCoulouris,Dollimore,KindbergandBlair,DistributedSystems:ConceptsandDesignEdn.5
PearsonEducation2012
Figure 3.12
TCP/IP layers
Message
Layers
Application
Messages (UDP) or Streams (TCP)
Transport
UDP or TCP packets
Internet
IP datagrams
Network interface
Network-specific frames
Underlying network
InstructorsGuideforCoulouris,Dollimore,KindbergandBlair,DistributedSystems:ConceptsandDesignEdn.5
PearsonEducation2012
Figure 3.13
Encapsulation in a message transmitted via TCP over an Ethernet
Application message
IP header TCP
Ethernet header IP
Ethernet frame
InstructorsGuideforCoulouris,Dollimore,KindbergandBlair,DistributedSystems:ConceptsandDesignEdn.5
PearsonEducation2012
Figure 3.14
The programmer's conceptual view of a TCP/IP Internet
Application Application
TCP UDP
IP
InstructorsGuideforCoulouris,Dollimore,KindbergandBlair,DistributedSystems:ConceptsandDesignEdn.5
PearsonEducation2012
Figure 3.15
Internet address structure, showing field sizes in bits
7 24
Class A: 0 Network ID Host ID
14 16
Class B: 1 0 Network ID Host ID
28 21 8
Class C: 1 1 0 Network ID Host ID
28
Class D (multicast): 1 1 1 0 Multicast address
27
Class E (reserved): 1 1 1 1 0 unused
InstructorsGuideforCoulouris,Dollimore,KindbergandBlair,DistributedSystems:ConceptsandDesignEdn.5
PearsonEducation2012
Figure 3.16
Decimal representation of Internet addresses
InstructorsGuideforCoulouris,Dollimore,KindbergandBlair,DistributedSystems:ConceptsandDesignEdn.5
PearsonEducation2012
Figure 3.17
IP packet layout
header
IP address of source IP address of destination data
up to 64 kilobytes
InstructorsGuideforCoulouris,Dollimore,KindbergandBlair,DistributedSystems:ConceptsandDesignEdn.5
PearsonEducation2012
Figure 3.18
A typical NAT-based home network
InstructorsGuideforCoulouris,Dollimore,KindbergandBlair,DistributedSystems:ConceptsandDesignEdn.5
PearsonEducation2012
Figure 3.19
IPv6 header layout
Destination
(128
address
bits)
InstructorsGuideforCoulouris,Dollimore,KindbergandBlair,DistributedSystems:ConceptsandDesignEdn.5
PearsonEducation2012
Figure 3.20
The MobileIP routing mechanism
InstructorsGuideforCoulouris,Dollimore,KindbergandBlair,DistributedSystems:ConceptsandDesignEdn.5
PearsonEducation2012
Figure 3.21
Firewall configurations
a) Filtering router
Protected intranet
Router/
filter
Internet
web/ftp
server
Internet
web/ftp
server
Internet
web/ftp
server
InstructorsGuideforCoulouris,Dollimore,KindbergandBlair,DistributedSystems:ConceptsandDesignEdn.5
PearsonEducation2012
Figure 3.22
IEEE 802 network standards
InstructorsGuideforCoulouris,Dollimore,KindbergandBlair,DistributedSystems:ConceptsandDesignEdn.5
PearsonEducation2012
Figure 3.23
Ethernet ranges and speeds
Max.segmentlengths:
InstructorsGuideforCoulouris,Dollimore,KindbergandBlair,DistributedSystems:ConceptsandDesignEdn.5
PearsonEducation2012
Figure 3.24
Wireless LAN configuration
A B C
Laptops
radio obstruction
Wireless
LAN
Palmtop D E
LAN
InstructorsGuideforCoulouris,Dollimore,KindbergandBlair,DistributedSystems:ConceptsandDesignEdn.5
PearsonEducation2012
Figure 3.25
Bluetooth frame structure
bits:72 18 18 18 02744
Header
bits:3 1 1 1 4 8
Addresswithin =ACL,SCO,
Piconet poll,null
SCOpackets(e.g.forvoicedata)havea240bitpayloadcontaining80bits
ofdatatriplicated,fillingexactlyonetimeslot.
InstructorsGuideforCoulouris,Dollimore,KindbergandBlair,DistributedSystems:ConceptsandDesignEdn.5
PearsonEducation2012