LGW2EChapter5figures - Chapter 5 Peer-to-Peer Protocols and...

Info iconThis preview shows pages 1–16. Sign up to view the full content.

View Full Document Right Arrow Icon
Chapter 5 Peer-to-Peer Protocols and Data Link Layer Chapter Figures
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Leon-Garcia/Widjaja Communication Networks n – 1 peer process n – 1 peer process n peer process n peer process n + 1 peer process n + 1 peer process zz z Figure 5.1
Background image of page 2
Leon-Garcia/Widjaja Communication Networks n + 1 peer process send n + 1 peer process receive Layer n connection-oriented service SDU SDU Figure 5.2
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Leon-Garcia/Widjaja Communication Networks n + 1 peer process send n + 1 peer process receive SDU Layer n connectionless service Figure 5.3
Background image of page 4
Leon-Garcia/Widjaja Communication Networks 1 call = 1 message = entire sequence of speech samples (a) 1 call = sequence of 1-byte messages (b) (c) 1 long message 2 or more blocks 2 or more short messages 1 block Figure 5.4
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Leon-Garcia/Widjaja Communication Networks Data link layer Physical layer Physical layer Data link layer A B Packets Packets Frames (a) 3 2 1 1 2 2 1 3 2 1 1 2 2 1 Medium A B (b) 1 2 Physical layer entity Data link layer entity 3 Network layer entity Figure 5.5
Background image of page 6
Leon-Garcia/Widjaja Communication Networks Physical layer Data link layer Physical layer Data link layer End system α Network layer Network layer Physical layer Data link layer Network layer Physical layer Data link layer Network layer Transport layer Transport layer Messages Messages Segments End system β Network Figure 5.6
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Leon-Garcia/Widjaja Communication Networks 1 1 3 3 2 1 2 2 3 2 1 1 2 2 1 Medium A B 3 2 1 1 2 C 2 1 4 1 2 3 4 End system α End system β Network 1 2 Physical layer entity Data link layer entity 3 Network layer entity 3 Network layer entity Transport layer entity 4 Figure 5.7
Background image of page 8
Leon-Garcia/Widjaja Communication Networks End-to-end 1 2 3 4 5 Data Data Data ACK/NAK Data Hop-by-hop 1 2 3 4 5 Data Data Data Data ACK/ NAK ACK/ NAK ACK/ NAK ACK/ NAK Figure 5.8
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Leon-Garcia/Widjaja Communication Networks Packet sequence Error-free packet sequence Information frames Control frames Transmitter (Process A) Receiver (Process B) CRC Information packet Header Information frame Control frame CRC Header Layer n+1 Layer n Figure 5.9
Background image of page 10
Leon-Garcia/Widjaja Communication Networks (a) Frame 1 lost A B Frame 0 Frame 1 ACK Frame 1 ACK Time Time-out Frame 2 (b) ACK lost A B Frame 0 Frame 1 ACK Frame 1 ACK Time Time-out Frame 2 ACK Figure 5.10
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Leon-Garcia/Widjaja Communication Networks A B Frame 0 Frame 0 ACK Frame 1 ACK Time Time-out Frame 2 Figure 5.11
Background image of page 12
Leon-Garcia/Widjaja Communication Networks (0,0) (0,1) (1,0) (1,1) Global State: (S last , R next ) Error-free frame 0 arrives at receiver ACK for frame 0 arrives at transmitter ACK for frame 1 arrives at transmitter Error-free frame 1 arrives at receiver Transmitter A Receiver B S last R next 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 Timer R next S last Figure 5.12
Background image of page 13

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Leon-Garcia/Widjaja Communication Networks A B First frame bit enters channel Last frame bit enters channel Channel idle while transmitter waits for ACK Last frame bit arrives at receiver Receiver processes frame and prepares ACK ACK arrives Figure 5.13
Background image of page 14
Leon-Garcia/Widjaja Communication Networks Frame t f time A B t prop t ack t proc t prop t proc t 0 Figure 5.14
Background image of page 15

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 16
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/11/2010 for the course ECE 547 taught by Professor Xiaojunlin during the Fall '09 term at Purdue University-West Lafayette.

Page1 / 62

LGW2EChapter5figures - Chapter 5 Peer-to-Peer Protocols and...

This preview shows document pages 1 - 16. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online