Linux Networking: Difference between revisions

From wikinotes
(Created page with " = Overview = <blockquote> <pre> </pre> == Routing Policy == <blockquote> The routing policy is managed by iproute2. </blockquote><!-- Routing Policy --> == Routing Table == <blockquote> routing tables determine what network a packets is sent to.<br> A variety of tools can be used to manage it, but iproute2 is generally used today. net-tools route generally manages routing table in Linux.<br> You can also dump the routing table with netstat|netstat...")
 
Line 16: Line 16:
A variety of tools can be used to manage it, but [[iproute2]] is generally used today.
A variety of tools can be used to manage it, but [[iproute2]] is generally used today.


[[net-tools route]] generally manages routing table in Linux.<br>
Prior to iproute2, [[net-tools route]] was generally used to manage the routing table in Linux.<br>
You can also dump the routing table with [[netstat|netstat -r]].
You can also dump the routing table with [[netstat|netstat -r]].
</blockquote><!-- Routing Table -->
</blockquote><!-- Routing Table -->

Revision as of 14:58, 18 September 2022

Overview


Routing Policy

The routing policy is managed by iproute2.

Routing Table

routing tables determine what network a packets is sent to.
A variety of tools can be used to manage it, but iproute2 is generally used today.

Prior to iproute2, net-tools route was generally used to manage the routing table in Linux.
You can also dump the routing table with netstat -r.

Firewall

Both iptables and more recently nftables are builtin to the linux kernel to manage rules.
There are also various abstractions overtop of them.