0% found this document useful (0 votes)
80 views5 pages

IP Address Conversion and Analysis

This document contains solutions to 26 problems related to IP addressing. The problems cover converting between IP address notations, finding errors in IP addresses, determining network classes, identifying network and host portions of addresses, and calculating subnet masks.

Uploaded by

lm_zakaria4420
Copyright
© Attribution Non-Commercial (BY-NC)
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)
80 views5 pages

IP Address Conversion and Analysis

This document contains solutions to 26 problems related to IP addressing. The problems cover converting between IP address notations, finding errors in IP addresses, determining network classes, identifying network and host portions of addresses, and calculating subnet masks.

Uploaded by

lm_zakaria4420
Copyright
© Attribution Non-Commercial (BY-NC)
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

Chapter -04

October 2, 2008

Solution set

1. Change the following IP addresses from binary notation to dotted-


decimal notation.
a. 10000001 00001011 00001011 11101111
[Link]
b. 11000001 10000011 00011011 11111111
[Link]
c. 11100111 11011011 10001101 01101000
[Link]
d. 10011100 00011110 00100011 01101010
[Link]

2. Change the following IP addresses from dotted-decimal notation to


binary notation.
a. 129 . 11 . 11 . 239
10000001 00001011 00001011 11101111
b. 193 . 131 . 27 . 255
11000001 10000011 00011011 11111111
c. 231 . 219 . 139 . 111
11100111 11011011 10001011 01101111
d. 249 . 155 . 251 . 15
11111001 10011011 11111011 00001111

3. Find any errors in the following IP addresses.


a. 111. 56 . 045 . 78
There should be no 045 in the IP address
b. 221 . 34 . 7 . 8 . 20
Must have only 4 number to represent the dotted decimal
c. 75 . 45 . 301 .14
No number can exceed 255
d. 111001 . 101 . 111011 . 0011
A mixture of dotted decimal and binary is not allowed
e. 1 . 101 . 11 . 100
No error

4. Change the following IP addresses from binary notation to hexadecimal


notation.
a. 10000001 00001011 00101011 11111110
OX810B0BFE
b. 11000001 10000011 00011101 10011000
OXC1831D98

5. Find the class of each address:

1 CSCI 5132 – Internet Protocols


Chapter -04
October 2, 2008

a. 00000001 00001011 00001011 11101111


A
b. 11000001 10000011 00011011 11111111
C
c. 10100111 11011011 10001011 01101111
B
d. 11110011 10011011 11111011 00001111
E

6. Find the class of each address:


a. [Link]
D
b. [Link]
C
c. [Link]
A
d. [Link]
E
e. [Link]
B

7. Given the network address [Link], find the class, the block, and the
range of the addresses.

Page 91 example 9

8. Given the network address [Link], find the class, the block, and
the range of the addresses.

Page 91 example 10

9. Given the network address [Link], find the class, the block, and
the range of the addresses.

Page 92 example 11

[Link] the address [Link], find the beginning address (network


address).

Page 94 example 12

[Link] the address [Link], find the beginning address (network


address).

2 CSCI 5132 – Internet Protocols


Chapter -04
October 2, 2008

Page 94 example 13

[Link] the address [Link], find the beginning address (network


address).

Page 94 example 14

[Link] is the address space in each of the following systems?


a. a system with 8-bit addresses?
256
b. a system with 16-bit addresses?
65536
c. a system with 64-bit addresses?
1.845 X 1019

[Link] address space has a total of 1,024 addresses. How many bits are
needed to represent an address?

10

[Link] address space uses three symbols: 0, 1, and 2 to represent


addresses. If each address is made of 10 symbols, how many addresses
are available in this system?

3^10 = 59,049

[Link] the following IP addresses from hexadecimal notation to binary


notation:
a. 0x1347FEAB
00010011 01000111 11111110 10101011
b. 0xAB234102
10101011 00100011 01000001 00000010
c. 0x0123A2BE
00000001 00100011 10100010 10111110
d. 0x00001111
00000000 00000000 00010001 00010001

[Link] many digits are needed to define the netid in hexadecimal


notation in each of the following classes?
a. Class A
2
b. Class B
4

3 CSCI 5132 – Internet Protocols


Chapter -04
October 2, 2008

c. Class C
6

[Link] the netid and the hostid of the following IP addresses:


a. [Link]
Netid : 114 hostid: 34.2.8
b. [Link]
Netid: 132.56 hostid: 8.6
c. [Link]
Netid: 208.34.54 hostid: 12

19.A host with IP address [Link] sends a limited broadcast packet


to all hosts in the same network. What are the source and destination
IP addresses used in this packet?

Source address: [Link]


Destination address: [Link]

20.A host with IP address [Link] needs loopback testing. What are
the source and destination addresses?

Source address: [Link]


Destination address: 127.X.Y.Z (where X, Y, and Z can be anything)

21.A host in class C that does not know its IP address wants to send a
message to a bootstrap server to find its address. What are the source
and destination addresses?

Source address: [Link]


Destination address: [Link]

[Link] a class A subnet, we know the IP address of one of the hosts and the
mask as given below:
IP Address: [Link]
Mask: [Link]
What is the first address (subnet address)?

[Link]

[Link] a class B subnet, we know the IP address of one of the hosts and the
mask as given below:
IP Address: [Link]

4 CSCI 5132 – Internet Protocols


Chapter -04
October 2, 2008

Mask: [Link]
What is the first address (subnet address)?

[Link]

[Link] is the subnetwork address if the destination address is


[Link] and the subnet mask is [Link]?

Page 106 example 15

[Link] the contiguous mask in each case


a. 1024 subnets in class A
[Link]
b. 256 subnets in class B
[Link]
c. 4 subnets in class C
[Link] – please check answer has changed

[Link] is the maximum number of subnets in each case?


a. Class A; mask [Link]
1024
b. Class B; mask [Link]
4
c. Class C; mask [Link]
4
d. Class C; mask [Link]
16

5 CSCI 5132 – Internet Protocols

You might also like