{"id":3540,"date":"2020-08-25T14:44:14","date_gmt":"2020-08-25T20:44:14","guid":{"rendered":"https:\/\/ugit.siua.ac.cr\/?p=3540"},"modified":"2020-09-07T11:35:17","modified_gmt":"2020-09-07T17:35:17","slug":"rutas-estaticas-persistentes-en-debian","status":"publish","type":"post","link":"https:\/\/sada.services\/?p=3540","title":{"rendered":"Rutas est\u00e1ticas persistentes en Debian"},"content":{"rendered":"\n<p>Configuraci\u00f3n de rutas estaticas persistentes en Debian, esta configuraci\u00f3n es necesaria cuando se tienen servidores con una IP publica y una IP privada al mismo tiempo, con la revisi\u00f3n de las rutas creadas por defecto podemos ver cuales rutas nos hacen falta para lograr conectividad interna del servidor<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>Kernel IP routing table<br>Destination Gateway Genmask Flags MSS Window irtt Iface<br>0.0.0.0 181.193.87.1 0.0.0.0 UG 0 0 0 eth1<br>10.20.200.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0<br>181.193.87.0 0.0.0.0 255.255.255.240 U 0 0 0 eth1<\/p>\n\n\n\n<p>post-up route add -net 10.20.0.0 netmask 255.255.0.0 gw 10.20.200.1<br>pre-down route del -net 10.20.0.0 netmask 255.255.0.0 gw 10.20.200.1<br>post-up route add -net 10.30.240.0 netmask 255.255.255.0 gw 10.20.200.1<br>pre-down route del -net 10.30.240.0 netmask 255.255.255.0 gw 10.20.200.1<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Configuraci\u00f3n de rutas estaticas persistentes en Debian, esta configuraci\u00f3n es necesaria cuando se tienen servidores con una IP publica y una IP privada al mismo tiempo, con la revisi\u00f3n de las rutas creadas por defecto podemos ver cuales rutas nos hacen falta para lograr conectividad interna del servidor Kernel IP routing tableDestination Gateway Genmask Flags [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[187],"tags":[],"class_list":["post-3540","post","type-post","status-publish","format-standard","hentry","category-debian"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":6}},"_links":{"self":[{"href":"https:\/\/sada.services\/index.php?rest_route=\/wp\/v2\/posts\/3540","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sada.services\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sada.services\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sada.services\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/sada.services\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3540"}],"version-history":[{"count":1,"href":"https:\/\/sada.services\/index.php?rest_route=\/wp\/v2\/posts\/3540\/revisions"}],"predecessor-version":[{"id":3855,"href":"https:\/\/sada.services\/index.php?rest_route=\/wp\/v2\/posts\/3540\/revisions\/3855"}],"wp:attachment":[{"href":"https:\/\/sada.services\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3540"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sada.services\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3540"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sada.services\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3540"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}