0% found this document useful (0 votes)
36 views1 page

CIS 617 Homework: IP Addressing Concepts

The document contains sample exam questions and answers about IP addressing and IPv4/IPv6 headers. It includes questions about class B networks, converting between IP address formats, routing table entries, IPv6 address space and protocol fields. The answers provide calculations, IP conversions and explanations of IPv6 header fields.

Uploaded by

SRI RIJUL DAS
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views1 page

CIS 617 Homework: IP Addressing Concepts

The document contains sample exam questions and answers about IP addressing and IPv4/IPv6 headers. It includes questions about class B networks, converting between IP address formats, routing table entries, IPv6 address space and protocol fields. The answers provide calculations, IP conversions and explanations of IPv6 header fields.

Uploaded by

SRI RIJUL DAS
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd

Deguang Yu (3810)

Homework assignment 9 – Questions of final exam


CIS 617-001
April 25, 2004

5-37 Suppose that instead of using 16 bits for the network part of a class B address originally, 20 bits had
been used. How many class B networks would there have been?
There would be 220 networks, which are 1048576.

5-38 Convert the IP address whose hexadecimal representation is C22F1582 to dotted decimal notation.
The IP address in dotted decimal notation is: [Link]

5-42 The set of IP addresses from [Link] to [Link] has been aggregated to [Link]/16.
However, there is a gap of 1024 unassigned addresses from [Link] to [Link] that are now
suddenly assigned to a host using a different outgoing line. Is it now necessary to split up the aggregate
address into its constituent blocks, add the new block to the table, and then see if any reaggregation is
possible? If not, what can be done instead?
To solve the problem, we can just add a new entry for the gap to the routing table:

Base address Mask


[Link]/16 00011101 00010010 00000000 00000000 11111111 11111111 00000000 00000000
[Link]/22 00011101 00010010 00111100 00000000 11111111 11111111 11111100 00000000

The CIDR entries in its routing table in the route has two entries for addresses from [Link] to [Link]:

Address/mask Next hop


[Link]/16 y.y.y.y
[Link]/22 x.x.x.x

5-51 IPv6 uses 16-byte addresses. If a block of 1 million addresses is allocated every picosecond, how long
will the addresses last?
There are 2128 addresses available. In one second, there are 106 / 10-12 addresses allocated, so the time it will take
to allocate all addresses is: 2128 / (106 / 10-12 ) = 340282366920938463463.37 seconds = 10790283070806 years!

5-52 The Protocol field used in the IPv4 header is not present in the fixed IPv6 header. Why not?
It’s true that there’s no Protocol field in the fixed IPv6 header, but the information is given in the Next header
field in the fixed IPv6 header. It tells which of the (currently) six extension headers, if any, follow this one. If
this header is the last IP header, the Next header field tells which transport protocol handler (e.g., TCP, UDP) to
pass the packet to.

You might also like