Skip to content
עברית

Guide

Internet Routing Infrastructure

Routing chooses paths, while forwarding applies those choices to packets. A RIB contains learned and configured routes; the FIB contains entries used for forwarding. Interior protocols such as OSPF and IS-IS operate within a routing domain, while BGP commonly handles external policy.

Meaning and purpose

Routing chooses paths, while forwarding applies those choices to packets. A RIB contains learned and configured routes; the FIB contains entries used for forwarding. Interior protocols such as OSPF and IS-IS operate within a routing domain, while BGP commonly handles external policy.

How it works in context

Longest-prefix matching chooses the most specific destination match in the forwarding table. ECMP can distribute flows across equal-cost next hops. Peering exchanges traffic for agreed destinations; transit usually supplies reachability beyond a peer’s own network. An IXP provides interconnection infrastructure, and a route server helps participants exchange routes without forwarding their data traffic.

Technical terms in this section

Routing tables

Routing tables organize destination prefixes, route sources, preferences and next hops.

Default routes

A default route matches destinations lacking a more specific installed route.

Static routing

Static routing uses explicitly configured routes rather than dynamically learned topology information.

Dynamic routing

Dynamic routing protocols exchange information and adapt route choices to network changes.

OSPF

OSPF is a link-state interior routing protocol using topology information and path costs.

IS-IS

IS-IS is a link-state interior routing protocol supporting hierarchical routing levels.

RIP

RIP is a distance-vector protocol using hop counts with scalability and convergence limitations.

MPLS

MPLS forwards traffic using labels; label switching does not inherently encrypt payloads.

Segment Routing

Segment Routing expresses forwarding instructions as segments across supported network data planes.

Equal-Cost Multi-Path (ECMP)

ECMP distributes traffic among equal-cost next hops, commonly using flow hashing.

Traffic engineering

Traffic engineering controls path and resource use to meet performance and resilience goals.

Route redistribution

Redistribution imports routes between routing processes and requires metric and loop-prevention policy.

Forwarding Information Base (FIB)

The FIB contains installed forwarding entries used to send packets toward next hops.

Routing Information Base (RIB)

The RIB stores routing information used to select and install forwarding entries.

Longest-prefix matching

Longest-prefix matching selects the most specific matching destination entry in a forwarding table.

Internet transit

Internet transit supplies reachability beyond a peer’s own customer destinations under commercial arrangements.

Internet peering

Peering exchanges traffic for agreed destinations under operators’ interconnection policies.

Settlement-free peering

Settlement-free peering exchanges agreed traffic without direct traffic-settlement payments between peers.

Paid peering

Paid peering includes payment for agreed interconnection without necessarily providing full Internet transit.

Internet Exchange Points (IXPs)

IXPs provide shared interconnection fabrics with bilateral or route-server-assisted peering.

Route servers

A route server exchanges BGP routes among participants without normally forwarding their data traffic.

Remote peering

Remote peering connects an operator to an exchange through a transport service.

Internet backbone providers

Backbone providers operate wide-area transport and interconnection across regions and networks.

Operational checks and security

Inspect both RIB and FIB when a learned route does not forward traffic. Redistribution can introduce loops or unexpected preferences. A route server is not the same as a transit provider, and being present at an IXP does not imply peering with every participant.

Read-only example

These commands inspect the surrounding system or protocol. They do not automatically change its configuration or establish every property of this term. Replace example targets only with destinations you are authorized to inspect.

ip route get 192.0.2.10
ip -6 route get 2001:db8::10

Sources and further reading

These explanations are educational. Implementations, policies and standards evolve; check the current specification and software version before changing a system.

Zaltzman.net · Your choice

Privacy preferences

Choose whether to link returning visits and remember display settings. Public content remains available without optional cookies.

Essential cookies

Always on

Secure forms, login sessions and your privacy choice.

What is included?

Session and CSRF protection, your privacy choice for up to 180 days, and Cloudflare security services. These do not authorise optional visitor analytics.

Analytics & returning visits

Store page history, visit times, IP and approximate location under one browser identifier, including return visits after an IP change.

How is this information used?

Authorised administrators use the history to understand usage and improve the site. No targeted ads, keystroke recording or fingerprinting. Turning this off deletes the history linked to your current identifier from the active database.

Remember display preferences

Save text size, contrast and other accessibility choices locally for your next visit.

Download my browser history

Turning analytics off deletes the current history and stops new collection.

Website operator: The Zaltzman Family
[email protected]

Zaltzman.net · Display settings

Accessibility tools

Adjust reading and navigation to suit you. Analytics consent is not required.

Text size
100%