Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Packet switching

Status
Not open for further replies.

F1Tech

MIS
Jul 23, 2001
6
0
0
GB
I am familiar with the OSI model. but I think what the benifits of the different layers of packet switching are. can anyone help?
 
Please help me with the below problem. Thanks very much.
I can be contacted on kelvin.hoang@students.vu.edu.au
Thanks again.
Kelvin


PACKET SWITCHING
A text file consisting of 150,000(ASCII) characters is to be sent from Sydney to Perth. The station in Sydney is connected to the station in Perth via stations in Melbourne and Adelaide. The Sydney – Melbourne, Melbourne – Adelaide, and Adelaide – Perth links are 800km, 700km, and 2,500km long respectively, and have data rates 1.92kbps, 9.6kbps, and 4.8 kbps respectively. The velocity of propagation in all links is 200m/microsec. The protocol operating in the network is FTP over TCP/IP over HDLC. All links are error free and there are no queuing delay at any of the stations.

TASK 1:
(a) Draw a time diagram to show the passing of data frames across each link. (Ignore the activities involved in the connection establishment and connection termination at all protocol levels.)
(b) Determine the total time taken for the data transaction (ignoring the time taken for the connection establishment and termination).
(c) Repeat (b) given that the file is sent from Perth to Sydney.
(d) Investigate how the packet size (in breaking down the file) effect the file transfer time. (Note that the IP datagram has a maximum size.)

TASK 2:
Repeat Task 1 taking into account of the additional frames passed across links for connection establishment and termination. (Show the fields of the packets/frames passed on in the process and thereby make a reasonable assessment of the size of the frame involved.)
******************
FTP/TCP Connection Establishment/Termination
FTP is support with two TCP ports. Port 21 supports control connection and port 20 supports data connection. Command and responses are passed through the control connection. User data passed through the data connection.

Control connection is first made when the client sends a TCP segment (SYN segment). This segment includes (in addition to the destination server port number 21) the ephemeral port number of client, and the IP addresses of client and server. Server then sends a SYN/ACK segment. This includes acknowledgement for the client’s (previous) SYN segment, and also initialisation of the sequence number of the server’s segments. Finally, the client sends the third segment to acknowledge the SYN/ACK segment.

For data connection, the client sends a segment to server (via the already established control connection) informing the server the client’s ephemeral port number. The server then establishes a connection between this port and server’s port 20.

Connection is terminated with quit command.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top