What is the difference between fib and rib




















The routes in the routing table are classified into the following types: Direct routes, static routes, and dynamic routes. Forwarding table FIB : Each forwarding entry in the FIB table specifies the physical interface or logical interface that sends packets to a network segment or a host. Then, the packets can reach the next node of the path or are transmitted to the destination host in the directly connected network without passing through other devices.

The matching of the FIB table complies with the longest matching principle. When the FIB table is searched, the destination address of the packet and the mask of each entry in the FIB are bitwise "logical and". The obtained address matches the network address in the FIB entry. Finally, a maximum matching FIB entry is selected to forward the packet. The FIB table provides guidance for forwarding, which is irrelevant to route generation.

FIB entries are used to guide the actual forwarding of packets on the device. The FIB entries specify the actual interface to which packets are forwarded and the interface on which packets are transmitted. The routing table refers to the line problem, that is, the line scheme for transmitting data packets from one end to the other end.

The FIB is a mirror copy of the routing table. The other component is the adjacency table which contains next hop L2 information. It allows the router to build the L3 and L2 headers extremely fast. If you encounter a technical issue on the site, please open a support case. Communities: Chinese Japanese Korean. All Rights Reserved. The Cisco Learning Network. You need to log in to comment to the post Login Register.

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following: Politically sensitive content Content concerning pornography, gambling, and drug abuse Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy Do not share your account and password with others.

All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy. Should you have any questions, please contact e. My Followers. Are you sure to block this user? Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more. Ask Question. Asked 4 years, 9 months ago.

Active 4 years, 9 months ago. Viewed 26k times. Improve this question. This answer explains it. I don't feel that it explains it well enough. Thanks for the link, though. Then, I guess I really don't understand what you are asking.



0コメント

  • 1000 / 1000