

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Introduction to Networking -> Subnetting Q) Submit the decimal representation of the subnet mask from the following CIDR: 10.200.20.0/ A) CIDR Notation: 10.200.20.0.27. Here the prefix is 27 bits. Remaining bits = 32 โ 27 = 5 bits. Subnet mask is writing 27 network bits as 1โs and 5 host bits as 0โs. Subnet mask: 11111111.11111111.11111111.11100000 = 255.255.255. Q) Submit the broadcast address of the following CIDR: 10.200.20.0/ A) Network address: 10.200.20.0 and subnet mask is / This /27 means that there are 27 bits for network address and the remaining 5 bits for host address. To calculate broadcast address, we will flip the host bits to 1. Which means 00000 shifts to 11111 which is equal to 31. Therefore, the broadcast address will be 10.200.20. Q) Split the network 10.200.20.0/27 into 4 subsets and submit the network address of the 3rd subnet as the answer. A) In order to have 4 subsets, the bits required are log(4) = 2. So, 2 more bits will be added to the network address. The new subnet address will be 10.200.20.0/29. The bit numbers 28th^ and 29th^ will be used for subnetting. For the given address: The last octet in binary format for the 1st^ subnet will be = 000 00 000 The last octet in binary format for the 2nd^ subnet will be = 000 01 000 The last octet in binary format for the 3rd^ subnet will be = 000 10 000 The network address of the 1st^ subnet will be = 10.200.20. The network address of the 2nd^ subnet will be = 10.200.20.
The network address of the 3rd^ subnet will be = 10.200.20. Q) Split the network 10.200.20.0/27 into 4 subsets and submit the broadcast address of the 2nd subnet as the answer. A) In order to have 4 subnets, the subnet bits required = log 2 (4) = 2 Hence, the new subnet mask is = 27 + 2 = 29 The number of host bits = 32 - 29 = 3 Number of hosts in each subnet = 2^3 = 8 Range of hosts in 1st subnet = 10.200.20.0 to10.200.20. Range of hosts in 2nd subnet = 10.200.20.8 to 10.200.20. The broadcast address of the 2nd subnet is its last IP, i.e., 10.200.20.15. Network Enumeration with Nmap Host discovery โ The default TTL for windows is 128. The default TTL for Linux is 64. Exam help Q) Enumerate all ports and services. One of the services contains the flag. Obtain the flag. A) nc -nv TargetIP Highest port For getting Highest port do: nmap TargetIP Q) How to find port name for FTP server A) sudo nmap TargetIP