Computer NetworksTU Board 2082
Write the subnet ID, broadcast address and address range of each subnet if you divide a class C network 193.168.2.0/24 into 8 different subnets. What is the new subnet mask?
5Answer
The network is 193.168.2.0/24 (a class C network with 256 addresses). To make 8 subnets we borrow 3 bits from the host part, because 2³ = 8.
- New prefix: /24 + 3 = /27
- New subnet mask: 255.255.255.224 (11111111.11111111.11111111.11100000)
- Host bits left: 5, so each subnet has 2⁵ = 32 addresses, of which 30 are usable hosts.
- Block size: 256 − 224 = 32
| Subnet | Subnet ID | Usable host range | Broadcast address |
|---|---|---|---|
| 1 | 193.168.2.0 | 193.168.2.1 – 193.168.2.30 | 193.168.2.31 |
| 2 | 193.168.2.32 | 193.168.2.33 – 193.168.2.62 | 193.168.2.63 |
| 3 | 193.168.2.64 | 193.168.2.65 – 193.168.2.94 | 193.168.2.95 |
| 4 | 193.168.2.96 | 193.168.2.97 – 193.168.2.126 | 193.168.2.127 |
| 5 | 193.168.2.128 | 193.168.2.129 – 193.168.2.158 | 193.168.2.159 |
| 6 | 193.168.2.160 | 193.168.2.161 – 193.168.2.190 | 193.168.2.191 |
| 7 | 193.168.2.192 | 193.168.2.193 – 193.168.2.222 | 193.168.2.223 |
| 8 | 193.168.2.224 | 193.168.2.225 – 193.168.2.254 | 193.168.2.255 |
The subnet ID (all host bits 0) and the broadcast address (all host bits 1) of each subnet cannot be given to a host.
Discussion
Loading…
More Computer Networks questions
What are the advantages of layered architecture in network communication? Explain the TCP/IP protocol stack in detail.TU Board 208210What are the services provided by the Transport Layer? Explain the working principle of the Distance Vector Algorithm with a suitable example.TU Board 208210Differentiate between IPV4 and IPV6 protocol in brief. Explain Cyclic Redundancy Check with a suitable numerical example.TU Board 208210How is a connection established in TCP protocol using 3 way handshaking? Explain.TU Board 20825What is the major purpose of DNS? Explain how DNS resolves a domain name to an IP address.TU Board 20825Discuss different guided transmission media in brief.TU Board 20825