7.9 Net Range
CC by Aru
✅ Net Range
- From an IP + subnet mask, we can calculate all characteristics of the LAN.
- Net range = all important addresses inside a network.
✅ Example
Host IP:
192.168.10.10/24
☑️ Identifying the Class
/24+ beginning with192Therefore:
- Class C
✅ Type Address (Dirección Tipo)
☑️ Rule
- Replace all host bits with
X.
☑️ Example
/24- 24 bits = network
- 8 bits = host
✔️ Result
192.168.10.XXXXXXXX
✅ Network Address
☑️ Rule
- Replace all
Xwith0.
✔️ Result
192.168.10.0/24
☑️ Notes
- Identifies the network itself.
- No data should be sent here.
✅ First Host Address
☑️ Rule
- All host bits =
0 - Last bit =
1
✔️ Binary
XXXXXXXX → 00000001
✔️ Result
192.168.10.1
✅ Last Host Address
☑️ Rule
- All host bits =
1 - Last bit =
0
✔️ Binary
11111110
✔️ Result
192.168.10.254/24
✅ Broadcast Address
☑️ Rule
- Replace all
Xwith1.
✔️ Result
192.168.10.255/24
☑️ Purpose
- Sending to broadcast IP sends message to all devices in network.
✅ Multicast Reminder
Multicast requires:
- Class D IPs
- receiving hosts configured for multicast
✅ Example: Host 72
☑️ Binary Conversion
64 + 8 = 72Binary:
01001000
✔️ Result
192.168.10.72
✅ Full Example of Address Range
☑️ Given IP
172.23.84.138/16
✅ IP Address
☑️ Binary
10101100000101110101010010001010
☑️ Decimal
172.23.84.138/16
✅ Subnet Mask
☑️ Binary
11111111111111110000000000000000
☑️ Decimal
255.255.0.0/16
✅ Type Address
☑️ Binary
1010110000010111xxxxxxxxxxxxxxxx
☑️ Decimal
172.23.xxxxxxxx.xxxxxxxx/16
✅ Network Address
☑️ Binary
10101100000101110000000000000000
☑️ Decimal
172.23.0.0/16
✅ First Host Address
☑️ Binary
10101100000101110000000000000001
☑️ Decimal
172.23.0.1/16
✅ Last Host Address
☑️ Binary
10101100000101111111111111111110
☑️ Decimal
172.23.255.254/16
✅ This Host Address
☑️ Decimal
172.23.84.138/16
✅ Broadcast Address
☑️ Binary
10101100000101111111111111111111
☑️ Decimal
172.23.255.255/16
✅ Standard vs Non-Standard Prefixes
☑️ Standard Prefixes
/8/16/24
☑️ Non-Standard Prefixes
- More complicated.
- Use subnetting.
☑️ Subnetting
- Dividing a network into smaller groups/subnets.
✅ How to See Your IP?
☑️ Subnetting Identification
- Weird/non-standard masks usually indicate subnetting.
✅ Checking Private IP in Windows 10
☑️ Method 1
✔️ Steps
- Control Panel
- Network and Internet
- Network and Sharing Center
- Active Network
- Details
☑️ Method 2
✔️ Steps
Windows + Rcmdipconfig
✅ Important Class Example
If classroom internet fails:
- nearby classroom may fail too
Reason:
- both may belong to same subnet.
✅ Checking Private IP in Linux
☑️ Commands
✔️ Install Tools
sudo apt-get install net-tools
✔️ Show IP
ifconfig
✅ Public IP
☑️ Meaning
- IP seen by other people/devices on the internet.
☑️ Usually Given By
- Proxy
- Router (if no proxy)
☑️ Location
- Usually points to ISP technical office location.
✅ Public IP Websites
https://vermiip.es/https://whatismyipaddress.com/es/mi-ip
✅ Checking if an IP is Accessible
☑️ Command
ping
☑️ Example
ping 8.8.8.8
☑️ Notes
8.8.8.8= Google DNS server.- Big companies usually have fixed DNS servers.
✅ Ping and ICMP
☑️ Ping Uses
- ICMP protocol.
☑️ Purpose
- Check if destination is reachable.
✅ Connection Quality
☑️ Measured Using
- Response time.
- TTL (Time To Live).
☑️ Better Connection
- Lower response time compared to TTL.
☑️ Packet Loss
Ideal:
0%
Acceptable:
20–30%
This post is licensed under CC BY 4.0 by the author.