<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Networks on datahacker</title>
		<link>https://datahacker.blog/tags/networks/</link>
		<description>Recent content in Networks on datahacker</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Thu, 26 Nov 2026 00:00:00 +0000</lastBuildDate>
		
			<atom:link href="https://datahacker.blog/tags/networks/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Bibliography for VPN Articles</title>
				<link>https://datahacker.blog/reference/networking/vpn/vpn-bibliography/</link>
				<pubDate>Mon, 02 Dec 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn/vpn-bibliography/</guid>
				<description>&lt;aside class=&#34;dh-callout dh-callout-note&#34; aria-label=&#34;Note&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Note&lt;/strong&gt;&lt;div&gt;&#xA;&lt;p&gt;Historical bibliography: dates and attributions are retained unless a correction is stated. A reachable later edition does not verify the exact version originally consulted. The exact editions, dates and authorship attached to the Xenial manual citations and the unlinked 1999 IP Command Reference remain unconfirmed. Retrieval failures are recorded as unverified, not as proof that a link is dead.&lt;/p&gt;&#xA;&lt;/div&gt;&lt;/aside&gt;&#xA;&lt;p&gt;This is a list of sources I found useful while writing my comprehensive guides on VPNs for Small Business Owners, Home Office Workers, and Split VPNs&lt;/p&gt;</description>
			</item>
			<item>
				<title>Secure Tunneling IP Network Protocol IDs</title>
				<link>https://datahacker.blog/reference/networking/ip-network-protocol-ids/</link>
				<pubDate>Mon, 02 Dec 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/ip-network-protocol-ids/</guid>
				<description>&lt;p&gt;&lt;em&gt;Tunnels&lt;/em&gt; in IT networking carry one protocol&amp;rsquo;s traffic inside another protocol between endpoints. They can connect hosts or networks, and do not require the endpoints to be on different subnets. A tunnel may protect against eavesdropping, tampering, or both, but encapsulation alone does not provide that protection. This article covers both secure VPN protocols and related encapsulation mechanisms.&lt;/p&gt;&#xA;&lt;aside class=&#34;dh-callout dh-callout-note&#34; aria-label=&#34;Note&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Note&lt;/strong&gt;&lt;div&gt;&#xD;&#xA;&lt;p&gt;Reviewed November 2026. IP protocol numbers, TCP/UDP ports and security properties are different things. A recognizable protocol number or port is not proof that a connection is authenticated or encrypted. The original 2019/2020 wording is preserved separately.&lt;/p&gt;&#xA;&lt;/div&gt;&lt;/aside&gt;</description>
			</item>
			<item>
				<title>VPN (Virtual Private Network) F.A.Q.</title>
				<link>https://datahacker.blog/reference/networking/vpn/vpn-faq/</link>
				<pubDate>Thu, 24 Oct 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/vpn/vpn-faq/</guid>
				<description>&lt;p&gt;&lt;span id=&#34;section-1&#34;&gt;&lt;/span&gt;&lt;/p&gt;&#xA;&lt;h3 id=&#34;migration-heading-1&#34;&gt;What Does VPN Mean?&lt;/h3&gt;&#xA;&lt;p&gt;&lt;em&gt;VPN&lt;/em&gt; is an abbreviation for &lt;em&gt;Virtual Private Network&lt;/em&gt;.&lt;/p&gt;&#xA;&lt;p&gt;&lt;span id=&#34;section-2&#34;&gt;&lt;/span&gt;&lt;/p&gt;&#xA;&lt;h3 id=&#34;migration-heading-2&#34;&gt;What Is a Virtual Private Network (VPN)?&lt;/h3&gt;&#xA;&lt;p&gt;A VPN provides private-network connectivity over shared infrastructure. It can connect a remote device to a network, join sites, or support other topologies; it is not limited to one pair of hosts. &lt;a href=&#34;https://www.rfc-editor.org/rfc/rfc4026.html#section-3.10&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34; title=&#34;Opens in a new tab&#34;&gt;RFC 4026&lt;/a&gt; describes the broader terminology.&lt;/p&gt;&#xA;&lt;p&gt;Encryption is a property of the chosen design, not something the word VPN guarantees. For example, &lt;a href=&#34;https://www.rfc-editor.org/rfc/rfc4364.html#section-1.6&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34; title=&#34;Opens in a new tab&#34;&gt;BGP/MPLS VPN separation&lt;/a&gt; does not itself encrypt customer data. The consumer Internet-access services discussed below normally use an encrypted tunnel between the user&amp;rsquo;s device and the service&amp;rsquo;s gateway.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Chart: iptables Command Matrix</title>
				<link>https://datahacker.blog/reference/networking/firewalls/chart-iptables-command-matrix/</link>
				<pubDate>Tue, 27 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/firewalls/chart-iptables-command-matrix/</guid>
				<description>&lt;p&gt;This matrix summarizes common IPv4 iptables matches and targets. Each syntax cell is a &lt;strong&gt;rule fragment&lt;/strong&gt;, not a complete command. Add the table, chain operation, appropriate match restrictions, and target when assembling a rule.&lt;/p&gt;&#xA;&lt;p&gt;The placement column gives compatible table/chain pairs or explicit restrictions. Example placements are not an exhaustive list of every supported hook. Kernel, backend, and extension availability still apply. In particular, separate table and chain names cannot be freely combined: &lt;code&gt;filter/POSTROUTING&lt;/code&gt; does not exist.&lt;/p&gt;</description>
			</item>
			<item>
				<title>iptables Commands</title>
				<link>https://datahacker.blog/reference/networking/firewalls/iptables-commands/</link>
				<pubDate>Sun, 25 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/firewalls/iptables-commands/</guid>
				<description>&lt;p&gt;The &lt;code&gt;iptables&lt;/code&gt; command manages IPv4 packet-filtering and NAT rules in the Linux kernel. A rule can match addresses, protocols, interfaces, connection state, and other attributes before selecting a target.&lt;/p&gt;&#xA;&lt;p&gt;This reference covers command structure, chain and rule operations, common match extensions, and targets. It uses the traditional iptables table and chain names. &lt;code&gt;iptables -V&lt;/code&gt; identifies whether the installed command uses the legacy or nftables backend; kernel configuration and installed extensions determine which features are available.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Netmask/Genmask Conversion Table</title>
				<link>https://datahacker.blog/reference/networking/routing/netmask-genmask-conversion-table/</link>
				<pubDate>Sun, 25 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/routing/netmask-genmask-conversion-table/</guid>
				<description>&lt;p&gt;This chart converts IPv4 prefix lengths to dotted decimal, hexadecimal, inverse, and binary masks. It also separates the number of addresses in a prefix from the number commonly assigned to hosts.&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;Static Chart&lt;/h2&gt;&#xA;&lt;p&gt;An IPv4 prefix of length &lt;code&gt;p&lt;/code&gt; contains &lt;code&gt;2^(32-p)&lt;/code&gt; addresses. The inverse mask is the bitwise complement of the netmask.&lt;/p&gt;&#xA;&lt;p&gt;For a conventional subnet with distinct network and broadcast addresses, the familiar host-count calculation subtracts two. &lt;strong&gt;That calculation is not universal:&lt;/strong&gt; &lt;a href=&#34;https://datatracker.ietf.org/doc/html/rfc3021&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34; title=&#34;Opens in a new tab&#34;&gt;RFC 3021&lt;/a&gt; permits both addresses of a &lt;code&gt;/31&lt;/code&gt; on a point-to-point link. A &lt;code&gt;/32&lt;/code&gt; identifies one address, commonly used for a host route.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Follow the (ip) Rules</title>
				<link>https://datahacker.blog/reference/networking/firewalls/follow-the-ip-rules/</link>
				<pubDate>Sat, 24 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/firewalls/follow-the-ip-rules/</guid>
				<description>&lt;p&gt;Hopefully, you have already read and/or understand these concepts:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://datahacker.blog/reference/networking/routing/policy-based-routing/&#34;&gt;Policy Based Routing&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://datahacker.blog/reference/networking/routing/iproute-and-routing-tables/&#34;&gt;iproute and Routing Tables&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://datahacker.blog/reference/networking/routers-routes-subnets-and-netmasks/&#34;&gt;Routers, Routes, Subnets, and Netmasks&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Now, it&amp;rsquo;s time to talk about &lt;em&gt;ip rules&lt;/em&gt;. The Routing Policy Database (RPDB) selects an action, often a lookup in a routing table. The usual IPv4 rules consult &lt;code&gt;local&lt;/code&gt;, &lt;code&gt;main&lt;/code&gt;, and &lt;code&gt;default&lt;/code&gt;. Those lookups choose routes; they do not grant firewall permission to all traffic.&lt;/p&gt;&#xA;&lt;p&gt;Routes and rules added at the command line affect the live kernel state. Save or reapply them through the system&amp;rsquo;s network configuration if they should survive reboot. Firewall-rule persistence is a separate concern; see &lt;a href=&#34;https://datahacker.blog/tutorials/networking/firewalls/persistence-making-iptables-changes-stick/&#34;&gt;Persistence: Making iptables Changes Stick&lt;/a&gt;.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Helpful Tips (iptables)</title>
				<link>https://datahacker.blog/reference/networking/firewalls/helpful-tips-iptables/</link>
				<pubDate>Sat, 24 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/firewalls/helpful-tips-iptables/</guid>
				<description>&lt;p&gt;Here are a few helpful tips related to rule and route testing.&lt;/p&gt;&#xA;&lt;p&gt;&lt;span id=&#34;section-1&#34;&gt;&lt;/span&gt;&lt;/p&gt;&#xA;&lt;h3 id=&#34;migration-heading-1&#34;&gt;Changes Take Effect Without a Routine Cache Flush&lt;/h3&gt;&#xA;&lt;p&gt;Successful &lt;code&gt;ip route&lt;/code&gt;, &lt;code&gt;ip rule&lt;/code&gt;, and &lt;code&gt;iptables&lt;/code&gt; changes update the running kernel configuration. A cache flush does not reload those settings from disk. Linux removed the old IPv4 route cache in kernel 3.6; do not use &lt;code&gt;ip route flush cache&lt;/code&gt; as a routine activation step.&lt;/p&gt;&#xA;&lt;p&gt;Inspect the affected rules and routes, then test a new connection while keeping recovery access available. Existing connection-tracking or NAT state can make an established connection behave differently from a new one.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Persistence: Making iptables Changes Stick</title>
				<link>https://datahacker.blog/tutorials/networking/firewalls/persistence-making-iptables-changes-stick/</link>
				<pubDate>Sat, 24 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/tutorials/networking/firewalls/persistence-making-iptables-changes-stick/</guid>
				<description>&lt;p&gt;One of the challenges of &lt;em&gt;iptables&lt;/em&gt;, routes, and rules (&lt;em&gt;iprules&lt;/em&gt;) is making changes to them permanent. Any changes you make on-the-fly only last until the next system restart. However, there are several ways of making them persist through reboots.&lt;/p&gt;&#xA;&lt;p&gt;Choose one of the methods below to store your changes in user-manageable scripts that are run every time your server is restarted.&lt;/p&gt;&#xA;&lt;div id=&#34;section-1&#34;&gt;&lt;/div&gt;&#xA;&lt;div id=&#34;migration-heading-1&#34;&gt;&lt;/div&gt;&#xA;&lt;h2 id=&#34;method-1-systemd-start-up-process&#34;&gt;Method #1: &lt;em&gt;systemd&lt;/em&gt; Start-Up Process&lt;/h2&gt;&#xA;&lt;p&gt;This method uses two services: one to establish the firewall before normal network configuration, and another to apply routing policy after the interface and source address are ready. The demonstrated network manager is &lt;em&gt;NetworkManager&lt;/em&gt;, with a dependency that requires successful firewall startup. The original example was written on Ubuntu 16.04. This revised design still needs validation on the system where you intend to use it.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Bibliography (Networking Articles)</title>
				<link>https://datahacker.blog/reference/networking/bibliography-linux-networking/</link>
				<pubDate>Wed, 14 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/bibliography-linux-networking/</guid>
				<description>&lt;p&gt;These references preserve the sources recorded for the historical networking articles. Dates and editions remain as originally cited. An archive link identifies a preserved copy; it does not establish that the copy is the exact revision consulted on the date shown.&lt;/p&gt;&#xA;&lt;p&gt;Andreasson, Oskar. &lt;em&gt;Iptables Tutorial 1.2.1&lt;/em&gt;. Chapter 6: Traversing of tables and chains. &lt;a href=&#34;https://www.frozentux.net/iptables-tutorial/chunkyhtml/c962.html&#34;&gt;https://www.frozentux.net/iptables-tutorial/chunkyhtml/c962.html&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Andreasson, Oskar. 2006. &lt;em&gt;Iptables Tutorial 1.2.2. &lt;/em&gt;&lt;a href=&#34;http://homes.di.unimi.it/sisop/qemu/iptables-tutorial.pdf&#34;&gt;http://homes.di.unimi.it/sisop/qemu/iptables-tutorial.pdf&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Anicas, Mitchell. 14 August 2015. &lt;em&gt;How To List and Delete Iptables Firewall Rules&lt;/em&gt;. &lt;em&gt;Digital Ocean&lt;/em&gt;, &lt;a href=&#34;https://www.digitalocean.com/community/tutorials/how-to-list-and-delete-iptables-firewall-rules&#34;&gt;https://www.digitalocean.com/community/tutorials/how-to-list-and-delete-iptables-firewall-rules&lt;/a&gt;.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Linux Network Routing Best Practices</title>
				<link>https://datahacker.blog/tutorials/networking/routing/linux-network-routing-best-practices/</link>
				<pubDate>Wed, 14 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/tutorials/networking/routing/linux-network-routing-best-practices/</guid>
				<description>&lt;p&gt;Here are some brief concepts to keep in mind when adding new routes and routing tables.&lt;/p&gt;&#xA;&lt;p&gt;&lt;span id=&#34;section-1&#34;&gt;&lt;/span&gt;&lt;/p&gt;&#xA;&lt;h3 id=&#34;migration-heading-1&#34;&gt;Routing Table Names and IDs&lt;/h3&gt;&#xA;&lt;p&gt;The &lt;code&gt;rt_tables&lt;/code&gt; file assigns names to numeric table IDs; it does not contain routes or determine lookup order. Keep these conventions in mind:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Use unambiguous names and IDs that do not conflict with existing configuration.&lt;/li&gt;&#xA;&lt;li&gt;Keep the built-in mappings intact: local is 255, main is 254, and default is 253.&lt;/li&gt;&#xA;&lt;li&gt;IDs between 100 and 200 are a possible local convention, not a kernel requirement.&lt;/li&gt;&#xA;&lt;li&gt;Gaps between table IDs are optional. Rule priorities, not table IDs, control lookup order.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;The &lt;a href=&#34;https://man7.org/linux/man-pages/man8/ip-route.8.html&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34; title=&#34;Opens in a new tab&#34;&gt;ip-route manual&lt;/a&gt; describes table IDs and reserved values; &lt;a href=&#34;https://man7.org/linux/man-pages/man8/ip-rule.8.html&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34; title=&#34;Opens in a new tab&#34;&gt;ip-rule&lt;/a&gt; describes policy order.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Split Gateway Tutorial</title>
				<link>https://datahacker.blog/tutorials/networking/routing/split-gateway-tutorial/</link>
				<pubDate>Wed, 14 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/tutorials/networking/routing/split-gateway-tutorial/</guid>
				<description>&lt;p&gt;Thinking of creating split routes or split gateways? This article introduces the building blocks of directing different traffic through different gateways, using a simple VPN and direct Internet connection as the intended example.&lt;/p&gt;&#xA;&lt;aside class=&#34;dh-callout dh-callout-important&#34; aria-label=&#34;Important&#34;&gt;&lt;strong class=&#34;dh-callout-label&#34;&gt;Important&lt;/strong&gt;&lt;div&gt;&#xA;&lt;p&gt;&lt;strong&gt;Recovery Guidance&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Changing routes or gateways can disconnect you from your server, even if you&amp;rsquo;re connected through another machine on the same LAN. Before you begin, make sure you have a way to recover that doesn&amp;rsquo;t depend on the network configuration you&amp;rsquo;re changing. That could be a local console, your hosting provider&amp;rsquo;s console, or a separate management connection.&lt;/p&gt;&#xA;&lt;p&gt;Keep a copy of the working configuration and confirm how you would restore it through that independent access. Test the recovery connection before making changes.&lt;/p&gt;&#xA;&lt;p&gt;A reboot may undo changes made only to the running configuration, provided nothing saves or reapplies them at startup. Once you&amp;rsquo;ve made the changes persistent, rebooting can bring the same problem right back. Don&amp;rsquo;t rely on a restart unless you know the startup configuration will restore working connectivity.&lt;/p&gt;&#xA;&lt;/div&gt;&lt;/aside&gt;</description>
			</item>
			<item>
				<title>Linux Networking F.A.Q.</title>
				<link>https://datahacker.blog/reference/networking/linux-networking-faq/</link>
				<pubDate>Sun, 11 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/linux-networking-faq/</guid>
				<description>&lt;p&gt;&lt;span id=&#34;section-1&#34;&gt;&lt;/span&gt;&lt;/p&gt;&#xA;&lt;h3 id=&#34;migration-heading-1&#34;&gt;What Is the Purpose of Routing Tables?&lt;/h3&gt;&#xA;&lt;p&gt;Routing tables inform the Linux kernel where to find destinations on a network. They describe information such as which network interface to send a packet on, and whether the destination is local (on a local network) or remote.&lt;/p&gt;&#xA;&lt;p&gt;&lt;span id=&#34;section-2&#34;&gt;&lt;/span&gt;&lt;/p&gt;&#xA;&lt;h3 id=&#34;migration-heading-2&#34;&gt;How Do You Define a &amp;ldquo;Default&amp;rdquo; Gateway?&lt;/h3&gt;&#xA;&lt;p&gt;For IPv4, a default route has destination prefix &lt;code&gt;0.0.0.0/0&lt;/code&gt;. It can name a next-hop gateway, or use an interface directly where that is appropriate, such as a point-to-point link. A default route and a default gateway are not quite the same thing.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Gateways</title>
				<link>https://datahacker.blog/reference/networking/routing/gateways/</link>
				<pubDate>Thu, 08 Aug 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/routing/gateways/</guid>
				<description>&lt;p&gt;In an IP route, a &lt;em&gt;gateway&lt;/em&gt; is a next-hop router used to reach destinations beyond the directly reachable link. That link can be physical or virtual. This article explains how to recognize gateway routes and distinguish them from local delivery.&lt;/p&gt;&#xA;&lt;p&gt;Analyzing the output of network route inspection tools such as &lt;strong&gt;ip route&lt;/strong&gt;, &lt;strong&gt;route&lt;/strong&gt;, and &lt;strong&gt;netstat&lt;/strong&gt; will allow you to identify network gateways. The details of how to use those tools are discussed in several other articles on this website, including:&lt;/p&gt;</description>
			</item>
			<item>
				<title>Routers, Routes, Subnets, and Netmasks</title>
				<link>https://datahacker.blog/reference/networking/routers-routes-subnets-and-netmasks/</link>
				<pubDate>Tue, 30 Jul 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/routers-routes-subnets-and-netmasks/</guid>
				<description>&lt;p&gt;A critical component of managing routes is understanding &lt;em&gt;netmasks&lt;/em&gt;. Hosts as well as routers use address prefixes to describe local networks and route destinations. For IPv4, a contiguous netmask identifies the network bits, leaving the remaining bits to vary within that subnet.&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;Routers and Routes&lt;/h2&gt;&#xA;&lt;p&gt;Network &lt;em&gt;routers&lt;/em&gt; forward IP packets between networks. Their routing information can come from interface configuration, static routes, or routing protocols. An administrator defines the intended topology and policy; dynamic discovery does not remove that responsibility.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Introduction to Split Gateways</title>
				<link>https://datahacker.blog/reference/networking/routing/introduction-to-split-gateways/</link>
				<pubDate>Sat, 20 Jul 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/routing/introduction-to-split-gateways/</guid>
				<description>&lt;p&gt;Having explained &lt;a href=&#34;https://datahacker.blog/reference/networking/routing/gateways/&#34;&gt;gateway routes&lt;/a&gt;, this article examines what the series calls a &lt;em&gt;split gateway&lt;/em&gt;: routes or policies that send selected traffic through different paths.&lt;/p&gt;&#xA;&lt;p&gt;It focuses on reading the configuration and reasoning about route selection. The &lt;a href=&#34;https://datahacker.blog/tutorials/networking/routing/split-gateway-tutorial/&#34;&gt;Split Gateway Tutorial&lt;/a&gt; covers configuration examples. “Split gateway” here is descriptive terminology, not a special Linux route type or a way to bypass routing validation.&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;Gateway or Route?&lt;/h2&gt;&#xA;&lt;p&gt;A route is a table entry describing a destination prefix and how matching traffic should be handled. It can lead directly through an interface or via a next-hop router. A host route describes one address; it is not restricted to a physically attached host.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Netmask Filtering Deep Dive</title>
				<link>https://datahacker.blog/reference/networking/netmask-filtering-deep-dive/</link>
				<pubDate>Sat, 20 Jul 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/netmask-filtering-deep-dive/</guid>
				<description>&lt;p&gt;What is a &lt;em&gt;Netmask&lt;/em&gt; (or &lt;em&gt;Genmask&lt;/em&gt;)? And why is understanding it so important when it comes to network routing?&lt;/p&gt;&#xA;&lt;p&gt;A &lt;em&gt;netmask&lt;/em&gt; identifies the network bits of an IPv4 address. &lt;code&gt;Genmask&lt;/code&gt; is the label used for that mask in the legacy &lt;a href=&#34;https://man7.org/linux/man-pages/man8/route.8.html&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34; title=&#34;Opens in a new tab&#34;&gt;route(8)&lt;/a&gt; display. The two terms refer to the same mask here.&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;Table of Contents&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#routers-and-routes&#34;&gt;Routers and Routes&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#slash-notation&#34;&gt;Slash Notation&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#valid-values&#34;&gt;Valid Netmask Values&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#wildcard_mask&#34;&gt;The Wildcard Mask&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#how-masks-work&#34;&gt;How Masks Work&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#bitwise&#34;&gt;Bitwise Functions&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#examples&#34;&gt;Examples&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;span id=&#34;routers-and-routes&#34;&gt;&lt;/span&gt;&lt;/p&gt;</description>
			</item>
			<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>
			<item>
				<title>A Brief History of Linux Networking</title>
				<link>https://datahacker.blog/reference/networking/brief-history-of-linux-networking/</link>
				<pubDate>Wed, 17 Jul 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/brief-history-of-linux-networking/</guid>
				<description>&lt;p&gt;Have you ever wondered why Linux network management is so confusing? You need only make a cursory review of the history of Linux networking tools to understand how it got this way.&lt;/p&gt;&#xA;&lt;blockquote&gt;It&#39;s not surprising so many people become confused attempting to comprehend Linux network routing functions, given the manner in which they have evolved. The names of several important commands and processes are nearly identical to others belonging to completely different tool generations.&lt;/blockquote&gt;&#xA;&lt;p&gt;Legacy interfaces can remain familiar while their implementation changes. A command name alone does not establish which kernel interface it uses, and the continuity of names does not mean Linux networking code remained unchanged for twenty years.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Routing and Filtering Network Traffic</title>
				<link>https://datahacker.blog/reference/networking/routing/routing-and-filtering-network-traffic/</link>
				<pubDate>Wed, 17 Jul 2019 00:00:00 +0000</pubDate>
				<guid>https://datahacker.blog/reference/networking/routing/routing-and-filtering-network-traffic/</guid>
				<description>&lt;p&gt;A brief, high-level introduction to Linux routing and packet filtering: what the kernel decides, and which tools configure those decisions.&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;10,000 Foot View&lt;/h2&gt;&#xA;&lt;p&gt;Routing selects how a packet reaches its destination. Packet filtering decides whether a packet is allowed to proceed. Packet modification, including NAT and marking, is another function that can interact with those decisions. These functions work together, but they are not interchangeable layers of one command.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
