{"id":48,"date":"2020-04-25T08:59:54","date_gmt":"2020-04-25T08:59:54","guid":{"rendered":"https:\/\/www.f-bit.net\/?p=48"},"modified":"2020-04-25T08:59:54","modified_gmt":"2020-04-25T08:59:54","slug":"the-new-debian-networking","status":"publish","type":"post","link":"https:\/\/www.f-bit.net\/?p=48","title":{"rendered":"The New Debian Networking"},"content":{"rendered":"\n<p>So now static IP addresses and routes are configured in the dhcp client daemon settings. Makes sense.<\/p>\n\n\n\n<p>Interface settings go in \/etc\/dhcpcd.conf, and it looks like:<\/p>\n\n\n\n<p><code>interface eth0<br>static ip_address=10.0.0.1\/24<br>static routers=10.0.0.254<br>static domain_name_servers=10.0.0.20<\/code><\/p>\n\n\n\n<p>The static routes go in <code>\/lib\/dhcpcd\/dhcpcd-hooks\/40-route<\/code><\/p>\n\n\n\n<p>It looks like:<\/p>\n\n\n\n<p><code>ip route add 192.168.100.0\/24 via 192.168.0.2<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>So now static IP addresses and routes are configured in the dhcp client daemon settings. Makes sense. Interface settings go in \/etc\/dhcpcd.conf, and it looks like: interface eth0static ip_address=10.0.0.1\/24static routers=10.0.0.254static domain_name_servers=10.0.0.20 The static routes go in \/lib\/dhcpcd\/dhcpcd-hooks\/40-route It looks like: ip route add 192.168.100.0\/24 via 192.168.0.2<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-48","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.f-bit.net\/index.php?rest_route=\/wp\/v2\/posts\/48","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.f-bit.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.f-bit.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.f-bit.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.f-bit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=48"}],"version-history":[{"count":1,"href":"https:\/\/www.f-bit.net\/index.php?rest_route=\/wp\/v2\/posts\/48\/revisions"}],"predecessor-version":[{"id":49,"href":"https:\/\/www.f-bit.net\/index.php?rest_route=\/wp\/v2\/posts\/48\/revisions\/49"}],"wp:attachment":[{"href":"https:\/\/www.f-bit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=48"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.f-bit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=48"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.f-bit.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=48"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}