You are on page 1of 6

CHAPTER 5 IP ADDRESS PLANNING AND MANAGEMENT

Review Exercise 5-1

IP Address Binary or decimal correspondence


101.150.11.51 01100101.10010110.00001011.0011001
1
156.230.15.251 10011100.11100110.00001111.1111101
1
22.131.49.31 00010110.10000011.00110001.0001111
1
223.100.31.76 11011111.01100100.00011111.0100110
0
11001010.10001010.00110110.1111000 202.138.54.240
0
10010010.11001101.10111110.0000001 146.205.190.3
1
11001000.00011000.11101011.1010101 200.24.235.170
0
10100000.01111000.11000001.0011001 160.120.193.51
1

Exercise 5-2
1. (answers below).
2.
IP Address Mask Network Number of permanent
Addresses IP addresses
123.45.56.89 /14 123.44.0.0 262,142
123.45.56.89 /18 123.45.0.0 16,382
123.45.56.89 /19 123.45.32.0 8190
123.45.56.89 /21 123.45.56.0 2046

Exercise 5-3

2. Yes, it has the same effect as 127.123.123.123 as it is a legitimate ping IP.

Exercise 5-4
1. All hosts and the default gateway (192.168.1.254) within the subnet will send back the ping
response to the PC (192.168.1.1).
2. Both 192.168.1.255 and 255.255.255.255 have the same effect.
3. The limited broadcasting of a packet results in its broadcasting within a “broadcast domain”.

Exercise 5-5: A sample answer


A response packet arriving from 123.45.67.89 has a source address of 123.45.67.89:80 and the
destination address of 137.42.61.33:4322. The border router finds the mapping internal source IP
192.168.1.1:4322 from its address conversion table. Then, it substitutes the packet’s destination IP
137.42.61.33: 4322 with 192.168.1.1:4322 and forwards the packet to the internal host.

1
Exercise 5-6: 7 subnetworks

Exercise 5-7
1.

IP Address Decimal Binary


Subnet Address 195.112.36.0 11000011.01110000.00100100.00000000
Subnet Mask 255.255.255.0 11111111.11111111.11111111.00000000

2.
IP Address Decimal Binary
Subnet Address 207.34.15.0 11001111.00100010.00001111.00000000
Subnet Mask 255.255.255.0 11111111.11111111.11111111.00000000

3.
195.205.36.5/13.

IP address 195.205.36.5 11000011.11001101.00100100.00000101


Subnet address 195.200.0.0 11000011.11001000.00000000.00000000
Subnet mask 255.248.0.0 11111111.11111000.00000000.00000000

192.168.36.5/21.

IP address 192.168.36.5 11000000.10101000.00100100.00000101


Subnet address 192.168.32.0 11000000.10101000.00100000.00000000
Subnet mask 255.255.248.0 11111111.11111111.11111000.00000000

10.11.46.51/15.

IP address 10.11.46.51 00001010.00001011.00101101.00110011


Subnet address 10.10.0.0 00001010.00001010.00000000.00000000
Subnet mask 255.254.0.0 11111111.11111110.00000000.00000000

4.
IP Address Subnet address Subnet mask
10.15.123.50/8 10.0.0.0 255.0.0.0
17.100.222.15/13 17.96.0.0 255.248.0.0
128.100.54.11/24 128.100.54.0 255.255.255.0
141.131.75.162/13 141.128.0.0 255.248.0.0
115.125.129.227/16 115.125.0.0 255.255.0.0
162.15.115.2/21 162.15.112.0 255.255.248.0
173.102.75.224/18 173.102.64.0 255.255.192.0
192.168.124.31/20 192.168.112.0 255.255.240.0
172.31.200.201/22 172.31.200.0 255.255.252.0

Exercise 5-8

2
Subnet 2: 10000010.10111111.01000000.00000001 ~ 10000010.10111111.01111111.11111110
= 130.191.64.1 ~ 130.191.127.254
Subnet 3: 10000010.10111111.10000000.00000001 ~ 10000010.10111111.10111111.11111110
= 130.191.128.1 ~ 130.191.191.254
Subnet 4: 10000010.10111111.11000000.00000001 ~ 10000010.10111111.11111111.11111110
= 130.191.192.1 ~ 130.191.255.254

Exercise 5-9
1.
a. 24 or 16
b. 255.255.240.0 (111111111.11111111.11110000.00000000)
c. 130.190.0.0; 130.190.16.0; 130.190.32.0; 130.190.48.01; 130.190.64.0; 130.190.80.0;
130.190.96.0; 130.190.112.0; 130.190.128.0; 130.190.144.0; 130.190.160.0;
130.190.176.0; 130.190.192.0; 130.190.208.0; 130.190.224.0; 130.190.240.0

2.
a. 255.255.255.240
b. 172.191.183.0, 172.191.183.16, 172.191.183.32, 172.191.183.48, 172.191.183.64,
172.191.183.80, 172.191.183.96, 172.191.183.112, 172.191.183.128, 172.191.183.144,
172.191.183.160, 172.191.183.176, 172.191.183.192, 172.191.183.208, 172.191.183.224,
172.191.183.240
c. 172.191.183.1, 172.191.183.2, 172.191.183.3, 172.191.183.4, 172.191.183.5,
172.191.183.6, 172.191.183.7, 172.191.183.8, 172.191.183.9, 172.191.183.10,
172.191.183.11, 172.191.183.12, 172.191.183.13, 172.191.183.14

3.
a. 3 bits
b. 255.255.255.224
c. 230.195.10.0, 230.195.10.32, 230.195.10.64, 230.195.10.96, 230.195.10.128,
230.195.10.160, 230.195.10.192, 230.195.10.224
d. 230.195.10.225 ~ 230.195.10.254

Exercise 5-10
1.
Subnet Address Subnet Mask Broadcast Address
130.191.0.0 255.255.192.0 130.191.63.255
130.191.64.0 255.255.192.0 130.191.127.255
130.191.128.0 255.255.192.0 130.191.191.255
130.191.192.0 255.255.192.0 130.191.255.255

2.
Host Address Subnet Mask Broadcast Address
192.168.150.121 255.255.128.0 (or /17) 192.168.255.255
172.57.237.200 255.248.0.0 (or /13) 172.63.255.255

3.

3
a) 24 = 16
b) 4 bits
c) 24-2 = 14 hosts
d) 130.191.31.16
e) 130.191.31.31
f) 130.191.31.17
g) 130.191.31.30

4.

a) Number of bits to 4
borrow
b) Subnet mask 255.255.255.240
c) Total subnets 16
possible
d) Subnet addresses 192.110.10.0 192.110.10,64 192.110.10.12 192.110.10.192
8
192.110.10.16 192.110.10.80 192.110.10.14 192.110.10.208
4
192.110.10.32 192.110.10.96 192.110.10.16 192.110.10.224
0
192.110.10.48 192.110.10.112 192.110.10.17 192.110.10.240
6
e) Number of usable 14
address per subnet
f) Range of IP 192.10.10.17 – 192.10.10.30
address within
192.10.10.16
g) Broadcast address 192.10.10.31

5.

a) Number of bits to borrow 3


b) Subnet mask 255.255.255.224
c) Total subnets possible 8
d) All subnet addresses 192.168.3.0 192.168.3.128
192.168.3.32 192.168.3.160
192.168.3.64 192.168.3.192
192.168.3.96 192.168.3.224
e) Number of usable address per subnet 30
f) Range of IP address within 192.168.3.32 192.168.3.33 - 192.168.3.62
g) Broadcast address 192.168.3.63

Exercise 5-11
1) 192.168.0.0/21 (255.255.248.0)
2) 192.168.128.0/19 (255.255.224.0)

Exercise 5-12

4
1. 172.16.128.0/18 (subnet mask in decimal: 255.255.192.0)
2. 10.20.0.0/16 (subnet mask in decimal: 255.255.0.0)

Exercise 5-13
1. 192.168.44.16 : A server running at a student lab
2. 192.168.54.50 : A user station at the Athletics department
3. 192.168.4.4 : A managed switch at the university administration
4. 192.168.53.11 : A managed access point at the campus safety and security

CHAPTER REVIEW QUESTIONS

1. B
2. C
3. D
4. A
5. D
6. A
7. E
8. D
9. C
10. E
11. D
12. A
13. C
14. B
15. B
16. E
17. C
18. C
19. E
20. A
21. E
22. C
23. B
24. C
25. C

Hands-On Exercise: Enterprise IP Management at Atlas Co.

a) 6 subnets (not including the Internet connection)


b) 3 bits
c) 8 subnets
d) 30 hosts
e) 255.255.255.224
f) 11111111. 11111111. 11111111.11100000
g)

# Subnet address First available Last available Host Broadcast IP

5
Host IP address IP address address
1 192.168.20.0 192.168.20.1 192.168.20.30 192.168.20.31
2 192.168.20.32 192.168.20.33 192.168.20.62 192.168.20.63
3 192.168.20.64 192.168.20.65 192.168.20.94 192.168.20.95
4 192.168.20.96 192.168.20.97 192.168.20.126 192.168.20.127
5 192.168.20.128 192.168.20.129 192.168.20.158 192.168.20.159
6 192.168.20.160 192.168.20.161 192.168.20.190 192.168.20.191
7 192.168.20.192 192.168.20.193 192.168.20.222 192.168.20.223
8 192.168.20.224 192.168.20.225 192.168.20.254 192.168.20.255

h)

Nodes Interface Subnet Address IP Address Subnet Mask Default Gateway


R1 Fa0/0 192.168.20.0 192.168.20.1 255.255.255.224 N/A
S0/0 192.168.20.128 192.168.20.129 255.255.255.224 N/A
S0/1 192.168.20.160 192.168.20.161 255.255.255.224 N/A
R2 Fa0/0 192.168.20.32 192.168.20.33 255.255.255.224 N/A
S0/0 192.168.20.128 192.168.20.158 255.255.255.224 N/A
R3 Fa0/0 192.168.20.64 192.168.20.65 255.255.255.224 N/A
Fa0/1 192.168.20.96 192.168.20.97 255.255.255.224 N/A
S0/0 192.168.20.160 192.168.20.190 255.255.255.224 N/A
Server1 NIC 192.168.20.0 192.168.20.2 255.255.255.224 192.168.20.1
Server2 NIC 192.168.20.0 192.168.20.3 255.255.255.224 192.168.20.1
Server3 NIC 192.168.20.0 192.168.20.4 255.255.255.224 192.168.20.1
PC1 NIC 192.168.20.0 192.168.20.29 255.255.255.224 192.168.20.1
PC2 NIC 192.168.20.0 192.168.20.30 255.255.255.224 192.168.20.1
PC3 NIC 192.168.20.32 192.168.20.61 255.255.255.224 192.168.20.33
PC4 NIC 192.168.20.32 192.168.20.62 255.255.255.224 192.168.20.33
PC5 NIC 192.168.20.64 192.168.20.93 255.255.255.224 192.168.20.65
PC6 NIC 192.168.20.64 192.168.20.94 255.255.255.224 192.168.20.65
PC7 NIC 192.168.20.96 192.168.20.125 255.255.255.224 192.168.20.97
PC8 NIC 192.168.20.96 192.168.20.126 255.255.255.224 192.168.20.97

You might also like