From 1c53b9a97de8a157cdd9436ca1e4c6a169b4c755 Mon Sep 17 00:00:00 2001 From: janagyjr Date: Sun, 7 Nov 2021 10:13:53 -0600 Subject: [PATCH] Fixed tabbing --- example subnetting problem.txt | 40 +++++++++++++++++----------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/example subnetting problem.txt b/example subnetting problem.txt index 0fe14fe..53f4ec9 100644 --- a/example subnetting problem.txt +++ b/example subnetting problem.txt @@ -1,6 +1,6 @@ How To Use This File -This document illustrates the easiest way to figure out your subnets that I've yet seen. +This document illustrates the easiest way to figure out your subnets that I've yet seen. IP Address First, you need to convert your ip address into binary. @@ -15,33 +15,33 @@ First Host Your first host is the first IP address after the network ID (see the example problem below). Last Host -Your last host is the IP address just before the broadcast address. +Your last host is the IP address just before the broadcast address. Broadcast Your broadcast address is related to your subnet mask and network ID. Whatever columns had zero in them in your subnet mask are converted to 1s for your broadcast address. Your broadcast address is going to be in your network block so it will look similar to what is in the example below. Your Broadcast address is your network ID with all the host bits converted to 1s Example Problem: IP 31.203.5.236/19 -00011111.11001011.00000101.11101100 IP 31.203.5.236 -11111111.11111111.11100000.00000000 subnet 255.255.224.0 -00011111.11001011.00000000.00000000 network id 31.203.0.0 -00011111.11001011.00000000.00000001 First host 31.203.0.1 -00011111.11001011.00011111.11111110 Last Host 31.203.31.254 -00011111.11001011.00011111.11111111 Broadcast 31.203.31.255 +00011111.11001011.00000101.11101100 IP 31.203.5.236 +11111111.11111111.11100000.00000000 subnet 255.255.224.0 +00011111.11001011.00000000.00000000 network id 31.203.0.0 +00011111.11001011.00000000.00000001 First host 31.203.0.1 +00011111.11001011.00011111.11111110 Last Host 31.203.31.254 +00011111.11001011.00011111.11111111 Broadcast 31.203.31.255 Example: 178.205.3.157/17 -10110010.11001101.00000011.00101110 IP 178.205.3.157 -11111111.11111111.10000000.00000000 subnet 255.255.128.0 -10110010.11001101.00000000.00000000 network id 178.205.0.0 -10110010.11001101.00000000.00000001 first host 178.205.0.1 -10110010.11001101.01111111.11111110 last host 178.205.127.254 -10110010.11001101.01111111.11111111 broadcast 178.205.127.255 +10110010.11001101.00000011.00101110 IP 178.205.3.157 +11111111.11111111.10000000.00000000 subnet 255.255.128.0 +10110010.11001101.00000000.00000000 network id 178.205.0.0 +10110010.11001101.00000000.00000001 first host 178.205.0.1 +10110010.11001101.01111111.11111110 last host 178.205.127.254 +10110010.11001101.01111111.11111111 broadcast 178.205.127.255 173.32.2.62/27 -10101101.00100000.00000010.00101010 IP 173.32.2.62 -11111111.11111111.11111111.11100000 Subnet 255.255.255.224 -10101101.00100000.00000010.00100000 Network ID 173.32.2.32 -10101101.00100000.00000010.00100001 First Host 173.32.2.33 -10101101.00100000.00000010.00111110 Last Host 173.32.2.62 -10101101.00100000.00000010.00111111 Broadcast 173.32.2.63 +10101101.00100000.00000010.00101010 IP 173.32.2.62 +11111111.11111111.11111111.11100000 Subnet 255.255.255.224 +10101101.00100000.00000010.00100000 Network ID 173.32.2.32 +10101101.00100000.00000010.00100001 First Host 173.32.2.33 +10101101.00100000.00000010.00111110 Last Host 173.32.2.62 +10101101.00100000.00000010.00111111 Broadcast 173.32.2.63