4 - Computer Network Addressing and Subnetting
4 - Computer Network Addressing and Subnetting
Republic Act 8293, section 176 states that: No copyright shall subsist in any work of the
Government of the Philippines. However, prior approval of the government agency or office
wherein the work is created shall be necessary for exploitation of such work for profit. Such
an agency or office may, among other things, impose as a condition the payment of
royalties.
Borrowed materials (i.e., pictures, photos, brand names, trademarks, etc.) included in this
module are owned by their respective copyright holders. Every effort has been exerted to
locate and seek permission to use these materials from their respective copyright owners.
The publisher and authors do not represent nor claim ownership over them.
Note :
This material is locally developed by selected writers for educational purposes only.
Although, the writer and the division office have made every effort to ensure that the
information and content in this module are accurate, the materials still subject for continuous
quality assurance for DepEd Learning Resources Standards compliance. The circulation of the
learning material shall be limited to public schools within the jurisdiction of the Division of
Tagbilaran City. Reproduction for commercial purposes is prohibited. Feedback, comments, and
suggestions are welcome for the improvement of this learning material.
cid-lrmds
nss-7.18.20
Activity 1
Activity Name: "Subnet City"
Procedure:
1. Divide the participants into small groups. Each group will act as a team of 'City
Planners'.
2. Provide each group with a 'City Map' which represents an organization with
different departments (Marketing, HR, Finance, etc.). Each department is
represented as a different area in the city.
3. Assign each group a Class A, B, or C IP address. The task for the teams is to
plan the IP addressing scheme for their 'City' using subnetting. They need to
ensure that each department (area) has enough IP addresses for its devices
and that the scheme is as efficient as possible.
4. Each group will then present their IP addressing and subnetting plan,
explaining their choices and the logic behind their decisions.
5. After all the groups have presented, have a discussion about the different
approaches, their pros and cons, and best practices for IP addressing and
subnetting.
What is IP Address?
It is a numerical label which assigned to each device connected to a computer network
which uses the IP for communication.
Act as identifier for a specific machine on a network.
IP number and internet address.
Specifies the technical format of the addressing and packets scheme.
It also allows developing a virtual connection between a destination and a source.
2 Kinds of IP addresses
1. Public IP addresses - are assigned by the Internet Assigned Numbers Authority
(IANA). The addresses are guaranteed to be globally unique and reachable on the
Internet. This assures that multiple computers do not have the same IP address. Public
IP addresses are routable on the Internet, which means that a computer with a public
IP address is visible to other computers on the Inter
2. Private IP addresses - cannot be used on the Internet. IANA has set aside three blocks
of IP addresses that cannot be used on the global Internet. These three blocks of
addresses are private IP addresses, and they are used for networks that do not directly
connect to the Internet.
2- Version of IP Address
1. IPv4
IPv4 was the first version of IP. It was deployed for production in the ARPANET in
1983. It is used to identify devices on a network using an addressing system.
The IPv4 uses a 32-bit address scheme allowing to store 2^32 addresses which is
more than 4 billion addresses.
Features of IPv4
Connectionless Protocol
Allow creating a simple virtual communication layer over diversified devices
It requires less memory, and ease of remembering addresses
Already supported protocol by millions of devices
Offers video libraries and conferences
2. IPv6
It is the most recent version of the Internet Protocol. Internet Engineer Taskforce
initiated it in early 1994. The design and development of that suite is now called IPv6.
This new IP address version is being deployed to fulfill the need for more Internet
addresses. It was aimed to resolve issues which are associated with IPv4. With 128-bit
address space, it allows 340 undecillionth unique address space. IPv6 also called IPng
(Internet Protocol next generation).
Features of IPv6
Hierarchical addressing and routing infrastructure
Stateful and stateless configuration
Support for quality of services (QoS)
An ideal protocol for neighboring node interaction
2 Components of an IP Address:
1. Network component- Define network segment of device.
2. Host component - Defines the specific device on a network segment
5 - IP Classes
• Class A addresses range from 1-126
• Class B addresses range from 128-191
• Class C addresses range from 192-223
• Class D addresses range from 224-239
• Class E addresses range from 240-254
0 [Zero] is reserved and represents all IP addresses.
127 is a reserved address and is used for testing, like a loop back on an interface.
255 is a reserved address and is used for broadcasting purposes.
2-Types of IP Address
1. Dynamic IP addresses are acquired from a DHCP server, and they may change from time
to time. You can provide dynamic IP addresses to the computers on your network by
configuring one or more DHCP servers. The DHCP server must be assigned a static IP
address.
2. Static IP addresses does not change. It is assigned by the network administrator, and it is
manually entered into the properties for the network adapter that is on a server or on a client
computer. Does not require that a DHCP server is running on the network.
Subnetting
Subnetting is a process of breaking large network in small networks known as subnets.
Subnetting happens when we extend default boundary of subnet mask. Basically, we borrow
host bits to create networks.
Advantages of Subnetting
it breaks large network in smaller networks and smaller networks are easier to
manage.
reduces network traffic by removing collision and broadcast traffic
allows to apply network security polices at the interconnection between subnets.
allows to save money by reducing requirement for IP range. Subnet Mask
32 bits long address used to distinguish between network address and host address in
IP address always used with IP address
has only one purpose, to identify which part of an IP address is network address and
which part is host address.
Subnet Mask
32 bits long address used to distinguish between network address and host address in
IP address
always used with IP address
has only one purpose, to identify which part of an IP address is network address and
which part is host address.
Example: How will you figure out network partition and host partition from IP address
192.168.1.10?
In decimal notation subnet mask value 1 to 255 represent network address and value 0
[Zero] represent host address.
In binary notation subnet mask ON bit [1] represent network address while OFF bit
[0] represent host address.
In decimal notation:
IP address: 192.168.1.10
IP address 11000000.10101000.00000001.00001010
Network ID
First address of subnet is called network ID. This address is used to identify one segment or
broadcast domain from all the other segments in the network.
Block Size
Block size is the size of subnet including network address, hosts addresses and broadcast
address.
Broadcast ID
2-types of Broadcast
1. Direct broadcast or local broadcast is the last address of subnet and can be hear by
all hosts in subnet.
2. Full broadcast is the last address of IP classes and can be hear by all IP hosts in
network. Full broadcast address is 255.255.255.255The main difference between
direct broadcast and full broadcast is that routers will not propagate local broadcasts
between segments, but they will propagate directed broadcasts.
Host Addresses
All address between the network address and the directed broadcast address is called host
address for the subnet.
Default Subnet Mask
Class Subnet Mask Format
A 255.0.0.0 Network.Host.Host.Host
B 255.255.0.0 Network.Network.Host.Host
C 255.255.255.0 Network.Network.Network.Host
Class C Subnetting
Default subnet mask of class C is 255.255.255.0. CIDR notation of class C is /24, which
means 24 bits from IP address are already consumed by network portion and we have 8 host
bits to work with.
Exercises/Activities:
PERFORMANCE TASK 3.1
ASSIGN STATIC IP ADDRESSES TO PHYSICAL NETWORK ADAPTERS
Performance Objective: Given the equipment, tool and material, the learner must be able
to assign static IP addresses to physical network adapters using windows server 8 within 15
minutes.
Supplies / Materials: Router and Ethernet Cable, Pins/Ballpen
Procedure:
1. Click Start, click Control Panel, click Network and Internet, click Network and
Sharing Center and then click Change Adapter Settings.
2. Right-click the connection to which you want to add a static IP address and
then click Properties.
3. Acknowledge the UAC dialog and then double-click Internet Protocol Version 4
(TCP/IP/IPv4).
4. Click Use the following IP address, and do one of the following:
For a local area connection, in IP address, Subnet mask, and Default
gateway, type the IP address, subnet mask, and default gateway
addresses.
For all other connections, in IP address, type the IP address.
5. Click Use the following DNS server addresses.
6. Type the primary and secondary DNS server addresses in Preferred DNS
server and Alternate DNS Server,
7. Click Advance To configure advanced static IPv4 address settings for a local
area connection.
Assessment Method: Hands-on, Performance Evaluation Checklist
Workmanship (15%)
Organized materials and tools while
accomplishing the task and has time
management
Total
Rating: Competent = 80% - 100%
Not Yet Competent = Below 80%
Feedback:
Reflection:
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
Enrichment (Optional)
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
Date: __________________