cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1050
Views
10
Helpful
3
Replies

Routing Table Question

Craddockc
Level 3
Level 3

Community,

I am studying for the CCNP ROUTE exam and noticed something interesting in the routing table for one of the routers in my GNS3 Lab that I have never noticed before:

 

When the router didnt have a locally connected 10.0.0.0/8 network it presented the routes for the 10.0.0.0 network like this:

 

10.0.0.0/24 is subnetted, 4 subnets
D 10.9.0.0 [90/409600] via 199.0.0.1, 02:12:18, Ethernet0/1
D 10.10.0.0 [90/409600] via 199.0.0.1, 02:12:18, Ethernet0/1
D 10.11.0.0 [90/409600] via 199.0.0.9, 02:12:11, Ethernet0/2
D 10.12.0.0 [90/409600] via 199.0.0.9, 02:12:11, Ethernet0/2

 

However, when I add a loopback interface in that major network to that router, the RT now looks like this:

 

10.0.0.0/8 is variably subnetted, 6 subnets, 2 masks
D 10.9.0.0/24 [90/409600] via 199.0.0.1, 02:15:04, Ethernet0/1
D 10.10.0.0/24 [90/409600] via 199.0.0.1, 02:15:04, Ethernet0/1
D 10.11.0.0/24 [90/409600] via 199.0.0.9, 02:14:57, Ethernet0/2
D 10.12.0.0/24 [90/409600] via 199.0.0.9, 02:14:57, Ethernet0/2
C 10.20.0.0/24 is directly connected, Loopback1
L 10.20.0.1/32 is directly connected, Loopback1

 

Im noticing it now says 10.0.0.0/8 is variably subnetted and now provides the subnet mask with each individual prefix. Where when the router didnt have that subnet locally connected it didnt look like that. Can someone please help me understand this?

 

Thanks. 

1 Accepted Solution

Accepted Solutions

 

Hi,

 

10.0.0.0/24 is subnetted, 4 subnets
D 10.9.0.0 [90/409600] via 199.0.0.1, 02:12:18, Ethernet0/1
D 10.10.0.0 [90/409600] via 199.0.0.1, 02:12:18, Ethernet0/1
D 10.11.0.0 [90/409600] via 199.0.0.9, 02:12:11, Ethernet0/2
D 10.12.0.0 [90/409600] via 199.0.0.9, 02:12:11, Ethernet0/2

 

And, 

 

10.0.0.0/8 is variably subnetted, 6 subnets, 2 masks
D 10.9.0.0/24 [90/409600] via 199.0.0.1, 02:15:04, Ethernet0/1
D 10.10.0.0/24 [90/409600] via 199.0.0.1, 02:15:04, Ethernet0/1
D 10.11.0.0/24 [90/409600] via 199.0.0.9, 02:14:57, Ethernet0/2
D 10.12.0.0/24 [90/409600] via 199.0.0.9, 02:14:57, Ethernet0/2
C 10.20.0.0/24 is directly connected, Loopback1
L 10.20.0.1/32 is directly connected, Loopback1

 

It is changed when you start using more than one subnet mask.

 

HTH,

Meheretab

HTH,
Meheretab

View solution in original post

3 Replies 3

 

Hi,

 

10.0.0.0/24 is subnetted, 4 subnets
D 10.9.0.0 [90/409600] via 199.0.0.1, 02:12:18, Ethernet0/1
D 10.10.0.0 [90/409600] via 199.0.0.1, 02:12:18, Ethernet0/1
D 10.11.0.0 [90/409600] via 199.0.0.9, 02:12:11, Ethernet0/2
D 10.12.0.0 [90/409600] via 199.0.0.9, 02:12:11, Ethernet0/2

 

And, 

 

10.0.0.0/8 is variably subnetted, 6 subnets, 2 masks
D 10.9.0.0/24 [90/409600] via 199.0.0.1, 02:15:04, Ethernet0/1
D 10.10.0.0/24 [90/409600] via 199.0.0.1, 02:15:04, Ethernet0/1
D 10.11.0.0/24 [90/409600] via 199.0.0.9, 02:14:57, Ethernet0/2
D 10.12.0.0/24 [90/409600] via 199.0.0.9, 02:14:57, Ethernet0/2
C 10.20.0.0/24 is directly connected, Loopback1
L 10.20.0.1/32 is directly connected, Loopback1

 

It is changed when you start using more than one subnet mask.

 

HTH,

Meheretab

HTH,
Meheretab

Hello

10.0.0.0/8 is variably subnetted, 6 subnets, 2 masks
These are called "parent/level 1 routes"  which are create automatically when a route with a higher subnetmask of the routes default subnetmask class is added to the route table which doesn't have an exit interface (loopbacks), if you notice it doesn't even have a route identification next to it or even a interface.

C 10.20.0.0/24 is directly connected, Loopback1
These are called "child route/level2 route" which are automatically created and have a subnetmask the same or higher than it default class subnetmask and is a "child" of a parent route..

D 10.9.0.0/24 [90/409600] via 199.0.0.1, 02:15:04, Ethernet0/1
These are called "network/ultimate route" these have a next-hop or exit interface

L 10.20.0.1/32 is directly connected, Loopback1

These are called a "local route" which are routes automatically created showing the actual ip address of an configured active interface.


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Thank you both for the great explanations! I appreciate it!
Review Cisco Networking products for a $25 gift card