Subnetting
================================
1. Align the IP address and Subnet mask in bit
2. Copy the bit from IP address if the bit of subnet mask is 1.
3. Network address: All other bits with Subnet mask bit 0 are 0s. (First address)
4. Broadcast address: All other bits with Subnet mask bit 0 are 1s. (Last address)
Subnetting Example:
=============================
Class C Private Address (staring from 192.168.0.0 to 192.168.255.0)
SNM: 255.255.255.0
We study from 192.168.0.0
1st network
===============
192.168.0.0 (Network address)
192.168.0.1
.
.
.
192.168.0.254
192.168.0.255 (Last address, boardcast)
=============
2nd network
=============
192.168.1.0 (Network address)
192.168.1.1
.
.
.
192.168.1.254
192.168.1.255 (Broadcast)
==============
3rd network
==============
192.168.2.0 (Network)
.
.
.
192.168.2.255 (broadcast)
+++++++++++++++++++++++++
Routing
============================
1. Because we have many networks in the world
2. Where need to know where the information to go and its path.
================================
1. Align the IP address and Subnet mask in bit
2. Copy the bit from IP address if the bit of subnet mask is 1.
3. Network address: All other bits with Subnet mask bit 0 are 0s. (First address)
4. Broadcast address: All other bits with Subnet mask bit 0 are 1s. (Last address)
Subnetting Example:
=============================
Class C Private Address (staring from 192.168.0.0 to 192.168.255.0)
SNM: 255.255.255.0
We study from 192.168.0.0
1st network
===============
192.168.0.0 (Network address)
192.168.0.1
.
.
.
192.168.0.254
192.168.0.255 (Last address, boardcast)
=============
2nd network
=============
192.168.1.0 (Network address)
192.168.1.1
.
.
.
192.168.1.254
192.168.1.255 (Broadcast)
==============
3rd network
==============
192.168.2.0 (Network)
.
.
.
192.168.2.255 (broadcast)
+++++++++++++++++++++++++
Routing
============================
1. Because we have many networks in the world
2. Where need to know where the information to go and its path.