07-03-2011 10:25 PM - edited 03-07-2019 01:04 AM
I am reading one book on ICND1.
It begins by telling what Ip address is, its classes.
It then tells how a single class A/B/C network can further be subdivided using subnet masks.
Without the subnetting, routers just store Network address and the interface to forward the packet.
With subnetting involved, does it store Subnet mask also, along with network address and IP address.
Solved! Go to Solution.
07-03-2011 11:11 PM
Hello Akshay,
yes indeed
IP prefixes are installed in the IP routing table with their own prefix length ( that is the subnet mask).
when selecting the route to use to route a packet the most specific route is used.
administrative distance is used to solve a tie between two prefixes with the same prefix length only the winner is installed in the IP routing table.
There is also the concept of classless routing: since IOS 12.0 a default route can be used to reach unknown subnets of a major network to which the router is connected to. classful routing doesn't use a default route for unknown subnets of an attached major network.
classless routing is the default since 12.0
Hope to help
Giuseppe
07-03-2011 11:11 PM
Hello Akshay,
yes indeed
IP prefixes are installed in the IP routing table with their own prefix length ( that is the subnet mask).
when selecting the route to use to route a packet the most specific route is used.
administrative distance is used to solve a tie between two prefixes with the same prefix length only the winner is installed in the IP routing table.
There is also the concept of classless routing: since IOS 12.0 a default route can be used to reach unknown subnets of a major network to which the router is connected to. classful routing doesn't use a default route for unknown subnets of an attached major network.
classless routing is the default since 12.0
Hope to help
Giuseppe
07-03-2011 11:23 PM
Thanks
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide