Jumat, 17 April 2020

IPv4 Activity

Basic:
1. Binary to decimal conversion activity
For example:
Enter the decimal of this binary: 00110111
Decimal is: 55

2. Decimal to binary conversion activity
For example:
Enter the binary of this decimal: 241
The binary is: 11110001

3. Given address/prefix 144.97.144.28/23
Determine:
1. Network address,
1.1. Last octet in binary
1.2 Last octet in decimal
1.3 Enter full address in decimal

2. Broadcast address
2.1 Last octet in binary
2.2 Last octet in decimal
2.3 Enter full address in decimal

3. First usable host address
3.1 Enter last octet in binary
3.2 Enter last octet in decimal
3.3 Enter the full address in decimal

4. Last Usable Host Address
4.1 Enter Last octet in binary
4.2 Enter Last octet in decimal
4.3 Enter full address in decimal





To remember this: NAHAMA.

NA = Network address
HA = Host Address
FHA = First host address
LHA = Last host address
HBA = Host Broadcast Address
SMA = Subnet Mask Address


1. Determining network address in decimal and in binary of a pair host address and mask address.

For example:
Host address: 10.158.30.81
Subnet Mask: 255.255.224.0


Solution: Anding both each host octet and respective subnetmask octet.

You can watch how the solution is in this video:




2. Determining the number of host

The solution is: (2 ^ number of bit 0 in the subnetmask in binary form) - 2.

You can watch how to solve it easily in this video:




3. Determining First Usable Host (FUH), Last Usable Host (LUH), Broadcast address in Decimal (BAD), and Next Network in decimal (NND)

First Usable Host (FUH)
1. Get all bit 0 in subnetmask in binary
2. Increment 1 to last octet.

Last Usable Host (LUH)
1. Get all the 0 bits of subnetmask in binary.
2. Make 1 all except the Less Significant bit (LSB).
3. Divide the bits of step 2 per octet.
4. Increment each octet value to each octet of network address in decimal.

Broadcast address in Decimal
1. Get all the 0 bits subnetmask in binary
2. Make 1 all
3. Divide the bits of step 2 per octet
4. Increment each octet value to each octet of network address in decimal.

Next Network in decimal (NND)
1.
2.
3.






Tidak ada komentar:

Posting Komentar