Now that we understanding the details about the Routing table and the forwarding table, I would like to show you a LAB where we can have more insight about this topic.
I do have my Juniper router having a static default route and have one interface with an IP address.
Let’s see the routing table:
root@R1# run show route
inet.0: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden)
+ = Active Route, – = Last Active, * = Both
0.0.0.0/0 *[Static/5] 00:00:10
Discard
10.10.10.0/24 *[Direct/0] 00:53:58
> via ge-0/0/2.0
10.10.10.1/32 *[Local/0] 00:53:58
Local via ge-0/0/2.0
It shows inet.0 meaning that it is for unicast routing and 3 routes are active.
The 0.0.0.0/0 is a default static route that I have created, so anyone want to go to any destination network which is not in the routing table, it will use this default route.
The 10.10.10.0/24 entry is because I have an IP address on ge-0/0/2 then it will add its network id as a Direct type, and will add the IP address of a local type.
Let’s see how if a packet wants to go to 8.8.8.8, which of those 3 routes it will choose:
root@R1> show route 8.8.8.8
inet.0: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden)
+ = Active Route, – = Last Active, * = Both
0.0.0.0/0 *[Static/5] 00:07:12
Discard
root@R1>
Apologies, the Full Lesson Access is Only for Members....
Get Access to all Lessons from different Vendors
Affordable Price to Enhance your IT Skills!
Always Accessing all Lessons including the New Added Ones
100% Satisfaction Guaranteed!
You can cancel your membership at anytime.
No Questions Asked Whatsover!
0 Comments