+1(316)4441378

+44-141-628-6690

Networking

Networking

1) Explain how routers forward packets in a datagram network and in a virtual circuit network.
2) Routing on the Internet would not work if IP addresses were assigned at random to hosts. Explain the problem that would arise in that case. Then explain how IP addresses are allocated and why that strategy avoids the above problem

3) Suppose an IP packet of 5000 bytes travels on network A with MTU of 1500 and then on network B with an MTU of 512 bytes. Show the content of the fields of the first 8 bytes of each IP packet received at the destination (for example the original IP packet can be described as ver = 4, hlen= 20, type=T, length= 5000, id=X, fflag=0, foffset=0)
4)
a. Consider a network with link costs c(a,b)= 4, c(b,c) = 20, c(b,e) = 7, c(c,d) = 3, c(d,e)=1. Simulate the execution of the distance vector protocol presented in Appendix, filling in Table 2.
b. The simplified algorithm presented in the Appendix does not work if link costs increase during the execution. Starting from the final situation of the execution in the previous point show why an increase in cost would not be correctly reflected in the distance vectors (assume nodes connected by the link whose cost changes update their distance vector accordingly and start updating their neighbours). In the algorithm presented during the lectures, nodes keep a copy of past distance vectors received from all nodes. Explain why this would solve the above problem.
5) A typical attack on non-switched Ethernet is packet sniffing, i.e. disabling the hardware filtering of frames performed by the network card, so that also packets addressed to other nodes are passed to upper layers.
This attack is not effective on a switched network. Explain why, with an example on a network composed by hosts A,B,C (the attacker) connected to a switch, where node A sends 3 packets to node B which replies to each packet. Suppose switch tables starts empty.
6) Now reconsider the above case focusing on IP packets sent from A to B supposing that at the start A does not yet know B’s MAC address. Explain the process for A to send 10 IP packets to B, including every operation performed by hosts, and every message sent. Is there anything C can do to receive packets destined to B in this case? If no explain why the process is secure, if yes explain the attack and think about possible ways to detect or prevent it.

7) Suppose host A need to send the following 3 bytes of data to B (in hexadecimal): E2,34,9F. Compute the parity bits according to the following schemes: a) single bit odd parity, b) column (odd) parity scheme with 2, 4 and 6 columns c) two dimensional parity schemes with 6 columns. Then say how many errors can be detected or corrected with each scheme, and compute the overhead of the scheme i.e., the ratio between the number of bits used for error correction and the number of data bits.
8) Suppose the only factor to define the maximum length of Ethernet cables is allowing the transmitting node to detect collisions with other nodes. Find out the minimum length of an Ethernet frame L and compute the maximum length of a cable for R=10Mbps, 100Mbps and 1Gbps Ethernets (assume the speed of signal propagation is 200.000Km/sec). Then compute the CSMA/CD efficiency for such long cables using the formula in the slides (note that efficiency is computed from the maximum length frame size).

 

 

ORDER THIS ESSAY HERE NOW AND GET A DISCOUNT !!!

 

You can place an order similar to this with us. You are assured of an authentic custom paper delivered within the given deadline besides our 24/7 customer support all through.

 

Latest completed orders:

# topic title discipline academic level pages delivered
6
Writer's choice
Business
University
2
1 hour 32 min
7
Wise Approach to
Philosophy
College
2
2 hours 19 min
8
1980's and 1990
History
College
3
2 hours 20 min
9
pick the best topic
Finance
School
2
2 hours 27 min
10
finance for leisure
Finance
University
12
2 hours 36 min
[order_calculator]