

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Septemb er 29, 2004
Propagation delay = Distance Sp eed
=55: 56 10 ^6 seconds
Data transmission delay =
=40: 96 10 ^6 seconds Total delay =Time when packet received at B =96: 52 10 ^6 seconds
(Note : While we sp ecify transmission sp eed Mbps stands for 106 bits p er second and not 220 )
Prefix Link Interface
11100000 0 11100001 00000000 1 11100001 2 otherwise 3
(b)
The entry 11001000 10010001 01010001 01010101 do es not match to any of the pre- xes, hence it go es to link interface 3.
The entry 11100001 00000000 11000011 00111100 matches the longest with the entry corresp onding to interface 1, so it gets forwarded to 1st interface. (Note that though it matches with interface 2 as well, it gets a longer pre x match with interface 1)
The entry 11100001 10000000 00010001 01110111 matches to link interface 2 only, so it gets forwarded to link interface 2.
Prefix Link Interface
224.0.0.0/8 0 225.0.0.0/16 1 225.0.0.0/8 2 otherwise 3
4 .(a) Yes, the SSR option eld must b e copied. See page 19 in the RFC. Also, in page 14 of the RFC, we can see that the rst bit in the o set eld indicates whether it should b e copied in fragmentation. The option eld b eing 137 here, the rst bit is set. (b) Though the length eld in the option has 8 bits, notice that the IP header itself can't exceed 60 bytes. The standard elds in the header take up 20 bytes, which leave 40 bytes max for the options. Assuming all 40 are used for the SSR option, we need a byte each for option eld, length and p ointer. Which leaves us with 37 bytes. Each IP address is 4 bytes long, we can have at maximum, 9 IP addresses sp eci ed in the SSR option.
Total length = More Flag = Fragment O set = MTU =
(a) The incoming packet has 518 byte long data, as there are no options. Each outgoing packet can b e at max 128 byte long, but the header takes up 20 bytes and the data has to b e a multiple of 8 (o ctet). So the maximum data which can b e packed into an outgoing packet is 104 bytes. 104 5 = 520, so the packet will b e fragmented into 5 fragments. (b) Since the rst packet has 104 bytes (13 o ctets), the fragment o set will b e incre- mented by 13. Note that the incoming packet is already a fragmented packet with an o set of 64.
Fragment Total Length More Flag Fragment Offset 1 124 1 64 2 124 1 77 3 124 1 90 4 124 1 103 5 122 1 116
The more ag is going to b e 1 for all the fragments b ecause, it was 1 in the incoming packet which means that there are more fragments to come.