<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>RPDB on datahacker</title>
		<link>https://datahacker.blog/tags/rpdb/</link>
		<description>Recent content in RPDB on datahacker</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Tue, 24 Nov 2026 00:00:00 +0000</lastBuildDate>
		
			<atom:link href="https://datahacker.blog/tags/rpdb/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>route and netstat</title>
				<link>https://datahacker.blog/reference/networking/routing/route-and-netstat/</link>
				<pubDate>Sat, 20 Jul 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/routing/route-and-netstat/</guid>
				<description>&lt;p&gt;This section describes the use of alternative tools to the &lt;em&gt;iproute2&lt;/em&gt; suite for viewing the status of a network. They may be old, but &lt;strong&gt;route&lt;/strong&gt; and &lt;strong&gt;netstat&lt;/strong&gt; can still be useful when troubleshooting IPv4 routing tables.&lt;/p&gt;&#xA;&lt;p&gt;The examples below use one illustrative IPv4 topology throughout: &lt;code&gt;eth0&lt;/code&gt; has address &lt;code&gt;192.168.10.10/24&lt;/code&gt;, and its next-hop router is &lt;code&gt;192.168.10.6&lt;/code&gt;. They are explanatory output, not a capture from the reader&amp;rsquo;s host. These legacy tools show only part of modern Linux routing state; use &lt;code&gt;ip route&lt;/code&gt; and &lt;code&gt;ip rule&lt;/code&gt; for policy routing.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Special Routing Use-Case Scenarios (iproute2)</title>
				<link>https://datahacker.blog/tutorials/networking/routing/special-routing-use-cases-iproute2/</link>
				<pubDate>Sat, 20 Jul 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/tutorials/networking/routing/special-routing-use-cases-iproute2/</guid>
				<description>&lt;p&gt;Linux routes can select a path, return a terminal error, or supply a preferred source address for locally generated traffic. These functions are different from firewall filtering and Network Address Translation (NAT).&lt;/p&gt;&#xA;&lt;p&gt;&lt;span id=&#34;section-1&#34;&gt;&lt;/span&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;migration-heading-1&#34;&gt;Dropping Packets&lt;/h2&gt;&#xA;&lt;p&gt;A route can reject or discard traffic without specifying an output device. This affects packets whose policy lookup selects that route; an earlier matching policy rule or a more specific route can change the result.&lt;/p&gt;</description>
			</item>
			<item>
				<title>iproute and Routing Tables</title>
				<link>https://datahacker.blog/reference/networking/routing/iproute-and-routing-tables/</link>
				<pubDate>Fri, 19 Jul 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/routing/iproute-and-routing-tables/</guid>
				<description>&lt;p&gt;Routes describe how the kernel reaches destinations. Policy rules decide which routing tables to consult. Together they provide Linux policy routing; iptables is a separate packet-filtering interface, not a third component of the RPDB.&lt;/p&gt;&#xA;&lt;h2 id=&#34;section-1&#34;&gt;Routes&lt;/h2&gt;&#xA;&lt;p&gt;&lt;code&gt;ip route&lt;/code&gt; belongs to iproute2 and manages kernel routing tables. The older &lt;code&gt;route&lt;/code&gt; command belongs to net-tools. It can still help when reading historical output, but it does not provide iproute2&amp;rsquo;s policy-table controls.&lt;/p&gt;&#xA;&lt;p&gt;Use &lt;code&gt;ip -4 route show table all&lt;/code&gt; to inspect all IPv4 tables, or name one table explicitly. Modern Linux table identifiers are 32-bit values, not a limit of 256 tables. The reserved identifiers and optional names are explained below.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Policy Based Routing</title>
				<link>https://datahacker.blog/reference/networking/routing/policy-based-routing/</link>
				<pubDate>Fri, 19 Jul 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/routing/policy-based-routing/</guid>
				<description>&lt;p&gt;A routing table describes paths to network destinations. Linux can use several tables, with a Routing Policy Database (RPDB) deciding which table to consult. The policies are expressed as rules; the tables hold the routes.&lt;/p&gt;&#xA;&lt;p&gt;The RPDB provides a way to choose among several routing tables based on traffic attributes. Rules and routes are separate. Several rules can consult the same table, or different rules can consult different tables. This lets you make routing decisions beyond a single destination-based table.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
