Tcp-ip Furouzan Chapter 18

  • Uploaded by: ATIF KHAN
  • 0
  • 0
  • December 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Tcp-ip Furouzan Chapter 18 as PDF for free.

More details

  • Words: 258
  • Pages: 4
CHAPTER 18

Remote Login: TELNET

Exercises 1. The pattern is: 11110011 00111100 11111111 11111111

Note: The last byte is duplicated because it is the same as IAC; it must be repeated to be interpreted as data.

3. To do the task in Exercise 1, we need to send: Client to Server: IAC DO BINARY (3 bytes) Server to Client: IAC WILL BINARY (3 bytes) Client to Server: 11110011 00111100 11111111 11111111 (4 bytes)

If each transmission is encapsulated in a single TCP segment with 20 bytes of header, there will be 3 segments of 23, 23, and 24 bytes for the total of 70 bytes or 560 bits.

5. If we assume the useful bits are the 3 bytes of data from Exercise 1: 3 bytes of data / 216 bytes transmitted = 1 : 70

7. See Figure 18.1.

1

SECTION

Figure 18.1 Exercise 7

Client

Server GA: GO AHEAD SGA: SUPPRESS GO AHEAD

ECHO

DONT

IAC IAC

WONT

ECHO Character mode

SGA

DONT

IAC IAC

WONT

SGA

IAC

GA

Default mode

9. See Figure 18.2. Figure 18.2 Exercise 9

Client

Server

GA: GO AHEAD SGA: SUPPRESS GO AHEAD LM: LINE MODE

ECHO

DONT

IAC IAC

LM

DO

WONT

ECHO

WILL

LM

Character mode

IAC IAC

Line mode

11. See Figure 18.3.

2

SECTION

Figure 18.3 Exercise 11

Client

Server

GA: GO AHEAD SGA: SUPPRESS GO AHEAD LM: LINE MODE

ECHO

DO

IAC IAC

LM

DONT

DONT

ECHO

WONT

LM

WONT

SGA

IAC

GA

IAC IAC

SGA

WILL

Line mode

IAC IAC

Default mode

3

SECTION

4

Related Documents

Tcp-ip Furouzan Chapter 18
December 2019 8
Tcpip
October 2019 44
Tcpip
April 2020 27
Tcpip
November 2019 40
Tcp-ip Furouzan Chapter 17
December 2019 5
Tcp-ip Furouzan Chapter 20
December 2019 3

More Documents from "ATIF KHAN"

Tcp-ip Furouzan Chapter 19
December 2019 16
Tcp-ip Furouzan Chapter 25
December 2019 12
Tcp-ip Furouzan Chapter 09
December 2019 16
Tcp-ip Furouzan Chapter 22
December 2019 24
Tcp-ip Furouzan Chapter 18
December 2019 8
Tcp-ip Furouzan Chapter 26
December 2019 6