Hot Downloads

Welcome, Guest
Username: Password: Remember me

TOPIC: Subnetting Advantages/Questions

Subnetting Advantages/Questions 6 years 10 months ago #33484

  • kAIOSHIN
  • kAIOSHIN's Avatar
  • Offline
  • New Member
  • Posts: 2
  • Karma: 0
So, I have been reading alot about subnetting, and now I think I know how to answer questions about subnetting, calculations and other stuff, however I still have a few doubts...

I understand subnetting makes it easier to routers to find the right route, what I dont understand is what is said that it helps to reduce the number of unused IP adresses? Why? Thank you.
The administrator has disabled public write access.

Re: Subnetting Advantages/Questions 6 years 10 months ago #33503

  • S0lo
  • S0lo's Avatar
  • Offline
  • Moderator
  • Posts: 1577
  • Thank you received: 7
  • Karma: 3
Suppose you bought the class C range 194.1.1.0 /24. This range supports upto 254 addresses. But in your network you have two small separate networks each consisting of only 100. The range you have can obviously cover both networks but because the two networks are physically/organizationally separate, you can not assign them both the same range. Without subnetting the only way is to buy a new range (say 194.1.2.0/24) and assign it the second network. This is a complete waste of address space and budget. With subnetting you can simply split the first range into two (194.1.1.0/25 and 194.1.1.128/25) and give each network it's own sub range.

Hope this makes sense.
Studying CCNP...

Ammar Muqaddas
Forum Moderator
www.firewall.cx
The administrator has disabled public write access.

Re: Subnetting Advantages/Questions 6 years 10 months ago #33504

  • Nevins
  • Nevins's Avatar
  • Offline
  • Expert Member
  • Posts: 438
  • Thank you received: 9
  • Karma: 4
isa.outpost10f.com/~intell/articles/subnet.html

^^^^ check out that link.

It's basically what S0lo said but it points out why you need subnets.

The short of it is..


Without subnets you have to allocate an entire class A B or C address block per network so we use subnets to allow routers to be able to find fragments of those blocks on different autonomous systems.





Think about it this way. Not using subnets:

You have 2 networks. You have an entire class C address range.

194.1.1.0

You give 194.1.1.0 to your A router for your A network

And you give 194.1.1.1 to your B router for your B network


You assign 194.1.1.2- 194.1.1.122 for hosts on Network A
You assign 194.1.1.123-194.1.140 for hosts on Network B
=========================================

Then you let users try to communicate.

Host 194.1.1.2 tries to ping 194.1.1.123

The packet goes out the network interface card as a packet wrapped in a frame hits the first switch which then floods the requests out of all ports on the local LAN. Of course by flooding the frame it will eventually get to the network router which drops the packet due to filtering because without sub dividing IPs into some logical groups it thinks that 194.1.1.123 is within the same logical group as that source 194.1.1.2. (and if your next question is why do routers need logical groups the answer is route tables would simply be to big to record IP addresses and paths for every node)

Basically from the routers point of view when you tell it route a packet it from 194.1.1.2 to 194.1.1.123 it tells you it's not sending it because it should be on your local LAN anyways.
Subnetting solves this

Lets try 255.255.255.128 (/25) (one bit was used to identify that you broke the network in two groups)

Effectively you now have 2 SUB GROUPS of IP's (subnets) recognized by your routers.

A list of IP's that Range from
194.1.1.0-194.1.1.127

194.1.1.128-194.1.1.255


Effectively your networks are now identified by 194.1.1.0 for A and 194.1.1.128 for B both with a /25 mask.


So now lets go back to our example:
*note IP's changed with allowable addresses

Host 194.1.1.2 on Network A

wants to ping

Host 194.1.1.129 on Network B


The network interface card kicks our the frame holding the packet to the local switch.

Switch doesn't recognize the mac address so it floods to all ports

eventually hitting the network router.

This time around the network router gets the packet and it forwards it instead of filtering it.

And the million dollar question is why did it forward it with subneting instead of filtering it out?


The answer is: it looked at the subnet ID 194.1.1.0 and the mask of 255.255.255.128 and realized 194.1.1.129 can't be in the same range as 194.1.1.0 because that subnetwork grouping only goes to 127.

Continuing on the router passes the packet along it's default route where the next router which receives it similarly evaluates 194.1.1.129 /25 to be on a different network then 194.1.1.0/25 and passes it hop to hop till it eventually gets to the router that knows 194.1.1.129 /25 must be on network 194.1.1.128/25 and forwards it accordingly.


To summarize:
subnets subdivide networks.

Subdivision allows routing to be manageable.

(Manageability is created because your grouping things up.)

Without division you do not have a reasonable logical way of knowing where something is.
Useful Threads
================================
www.firewall.cx/forum/2-basic-concepts/3...e-resource-page.html
The administrator has disabled public write access.

Re: Subnetting Advantages/Questions 6 years 10 months ago #33509

  • kAIOSHIN
  • kAIOSHIN's Avatar
  • Offline
  • New Member
  • Posts: 2
  • Karma: 0
Thank you guys! Now it makes perfect sense to me. :) :D
The administrator has disabled public write access.
Time to create page: 0.087 seconds

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup