Confusion Over Tables Again
In another thread I learnt that FIB + ADJ = CEF table.
I got 4 other questions:
1) Is the adjacency table derived from "good" routes of the mac address table?
2) Is the ip routing table (show ip route) same as the CEF table?
3) How about the topology table come into play?
4) Any other tables?
I am very confused.
I got 4 other questions:
1) Is the adjacency table derived from "good" routes of the mac address table?
2) Is the ip routing table (show ip route) same as the CEF table?
3) How about the topology table come into play?
4) Any other tables?
I am very confused.
Comments
-
joetest Member Posts: 99 ■■□□□□□□□□In another thread I learnt that FIB + ADJ = CEF table. I got 4 other questions: 1) Is the adjacency table derived from "good" routes of the mac address table? 2) Is the ip routing table (show ip route) same as the CEF table? 3) How about the topology table come into play? 4) Any other tables? I am very confused.
-
dppagc Member Posts: 293With regards to point 2, I thought that the FIB and CEF and ip forwarding table are all different.
-
EdTheLad Member Posts: 2,111 ■■■■□□□□□□1) When a cisco port is unshut it sends a "gratuitous arp reply" to tell its neighbors its port mac address. This means two cisco routers back to back will exchange layer 2 info. Both the arp and adjacency tables will be updated with the newly learned remote mac.
2) No, the routing table is built by choosing the best route to a specific destination, this is populated from routing protocols, "admin distance" is used between different routing protocols, metric is used within a routing protocol.
CEF is a switching mechanism that uses the FIB and Adj table, Adj table previously explained, the FIB is created using the routing table.
The routing table (RIB) consists of destination prefixes mapped to egress ports or next-hop ip, if the next-hop is an ip prefix, the router needs to perform route recursion until it finally knows the egress interface. The FIB is created from the result of route recursion lookup on every prefix in the rib.
The fib consists of destination prefix mapped to egress interface, the adj table holds all dst mac addresses for neighbors on egress interfaces.
CEF leverages the info from both tables, it can prebuild a L2 header i.e. src mac/dst mac/type for every destination prefix in RIB by utilizing both the FIB and ADJ table, thus no arp lookups or route recursion required while forwarding a packet.
3) Topology tables are used by routing protocols, they typically hold all possible routes to a destination, the best route is selected as best candidate to go in the RIB. This best candidate route will compete with other routing protocols, the routing protocol with the lowest admin distance wins and gets placed in the RIB.Networking, sometimes i love it, mostly i hate it.Its all about the $$$$