{"id":3853,"date":"2022-11-15T00:27:49","date_gmt":"2022-11-15T00:27:49","guid":{"rendered":"https:\/\/wiki.thomasandsofia.com\/?p=3853"},"modified":"2022-11-15T00:45:27","modified_gmt":"2022-11-15T00:45:27","slug":"configure-networking-on-a-raspberry-pi","status":"publish","type":"post","link":"https:\/\/wiki.thomasandsofia.com\/?p=3853","title":{"rendered":"Configure Networking on a Raspberry Pi"},"content":{"rendered":"<p><a href=\"https:\/\/www.howtowebhost.com\/setting-static-routesa-or-a-default-gateway-in-linux\/\" target=\"_blank\" rel=\"noopener\">HowToWebHost.com Link<\/a><\/p>\n<h1>General<\/h1>\n<h3>Show Routes<\/h3>\n<pre># Show IPs in numeric format\r\nroute -n\r\n# Show IPs with their Hostnames\r\nroute<\/pre>\n<h1>Default Gateways<\/h1>\n<h3>Add a default gateway<\/h3>\n<p>sudo route add default gw &lt;DestinationIp&gt;<\/p>\n<pre>sudo route add default gw 192.168.1.1<\/pre>\n<h3>Delete a default gateway<\/h3>\n<p>sudo route del default gw &lt;DestinationIp&gt;<\/p>\n<pre>sudo route del default gw IP.ADD.RE.SS<\/pre>\n<h1>Static Routes<\/h1>\n<h3>Add a static route<\/h3>\n<p>sudo ip route add &lt;Network\/CIDR&gt; &lt;DestinationIp&gt; dev &lt;eth0\/wlan0&gt;<\/p>\n<pre>sudo ip route add 10.0.0.0\/8 via 10.0.1.1 dev eth0<\/pre>\n<h3>Delete a static route<\/h3>\n<p>sudo ip route del &lt;Network\/CIDR&gt; &lt;DestinationIp&gt; dev &lt;eth0\/wlan0&gt;<\/p>\n<pre>sudo ip route del 10.0.0.0\/8 via 10.0.1.1 dev eth0<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>HowToWebHost.com Link General Show Routes # Show IPs in numeric format route -n # Show IPs with their Hostnames route Default Gateways Add a default gateway sudo route add default gw &lt;DestinationIp&gt; sudo route add default gw 192.168.1.1 Delete a default gateway sudo route del default gw &lt;DestinationIp&gt; sudo route del default gw IP.ADD.RE.SS Static ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/wiki.thomasandsofia.com\/?p=3853\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-3853","post","type-post","status-publish","format-standard","hentry","category-networking"],"_links":{"self":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts\/3853","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3853"}],"version-history":[{"count":2,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts\/3853\/revisions"}],"predecessor-version":[{"id":3855,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts\/3853\/revisions\/3855"}],"wp:attachment":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3853"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3853"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3853"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}