Subnetting is the strategy used to partition a single physical network into more than one smaller logical sub-networks (subnets). An IP address includes a network segment and a host segment. Subnets are designed by accepting bits from the IP address’s host part and using these bits to assign a number of smaller sub-networks inside the original network. Subnetting allows an organization to add sub-networks without the need to acquire a new network number via the Internet service provider (ISP). Subnetting helps to reduce the network traffic and conceals network complexity. Subnetting is essential when a single network number has to be allocated over numerous segments of a local area network (LAN).
Perhaps the most recognizable aspect of subnetting is the subnet mask. Like IP addresses, a subnet mask contains four bytes (32 bits) and is often written using the same "dotted-decimal" notation.
For example, a very common subnet mask in its binary representation
11111111 11111111 11111111 00000000
is typically shown in the equivalent, more readable form
Commonly asked interview questions on Constructors
1.Your router has the following IP address on Ethernet0: 172.16.2.1/23. Which of the following can be valid host IDs on the LAN interface attached to the router?
A. 1 only
B. 2 and 3 only
C. 3 and 4 only
D. None of the above
Answer: Option C
2. Which two statements describe the IP address 10.16.3.65/23?
Answer :1.The subnet address is 10.16.3.0 255.255.254.0.
2.The lowest host address in the subnet is 10.16.2.1 255.255.254.0.
3.The last valid host address in the subnet is 10.16.2.254 255.255.254.0.
4.The broadcast address of the subnet is 10.16.3.255 255.255.254.0.
A. 1 and 3
B. 2 and 4
C. 1, 2 and 4
D. 2, 3 and 4
Answer: Option B
3.What are the specific uses of SQL functions?
Answer : 192.168.116.95
4.What is the first valid host on the subnetwork that the node 172.20.225.111 255.255.255.128 belongs to?
Answer : 172.20.225.1
5.What valid host range is the IP address 192.168.187.233/27 a part of?
192.168.187.225 through to 192.168.187.254
1. Head First Java