{"id":558,"date":"2011-01-28T00:30:38","date_gmt":"2011-12-24T21:51:50","guid":{"rendered":"http:\/\/kraftek.com\/blog\/routes\/"},"modified":"2011-01-28T00:30:38","modified_gmt":"2011-12-24T21:51:50","slug":"routes","status":"publish","type":"post","link":"\/blog\/index.php\/routes\/","title":{"rendered":"routes"},"content":{"rendered":"<p>If when you do netstat -rn you see routes that look the same&#8230;<br \/>\nbash-3.00$ netstat -rn<br \/>\nRouting Table: IPv4<br \/>\nDestination Gateway Flags Ref Use Interface<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; &#8212;&#8211; &#8212;&#8211; &#8212;&#8212; &#8212;&#8212;&#8212;<br \/>\n198.148.129.64 198.148.129.110 U 1 385521 ce0:1<br \/>\n198.148.129.64 198.148.129.98 U 1 0 ce0:2<br \/>\n198.148.129.64 198.148.129.110 U 1 0 ce0<br \/>\n198.148.129.64 198.148.129.110 U 1 346097 qfe0<br \/>\nTo differentiate them do a netstat -nrv<br \/>\nbash-3.00$ netstat -nrv<br \/>\nIRE Table: IPv4<br \/>\nDestination Mask Gateway Device Mxfrg Rtt Ref Flg Out In\/Fwd<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; &#8212;&#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; &#8212;&#8212; &#8212;&#8211; &#8212;&#8211; &#8212; &#8212; &#8212;&#8211; &#8212;&#8212;<br \/>\n198.148.129.64 255.255.255.192 198.148.129.110 ce0:1 1500* 0 1 U 385521 0<br \/>\n198.148.129.64 255.255.255.192 198.148.129.98 ce0:2 1500* 0 1 U 0 0<br \/>\n198.148.129.64 255.255.255.192 198.148.129.110 ce0 1500* 0 1 U 0 0<br \/>\n198.148.129.64 255.255.255.192 198.148.129.110 qfe0 1500* 0 1 U 346097 0<br \/>\nthen you can add\/delete, differentiating them by the netmask, like:<br \/>\nroute delete 198.148.129.64 198.148.129.110 255.255.255.192<br \/>\nThanks to Alejandro Siller<br \/>\n220\/433<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If when you do netstat -rn you see routes that look the same&#8230; bash-3.00$ netstat -rn Routing Table: IPv4 Destination Gateway Flags Ref Use Interface &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; &#8212;&#8211; &#8212;&#8211; &#8212;&#8212; &#8212;&#8212;&#8212; 198.148.129.64 198.148.129.110 U 1 385521 ce0:1 198.148.129.64 198.148.129.98 U 1 0 ce0:2 198.148.129.64 198.148.129.110 U 1 0 ce0 198.148.129.64 198.148.129.110 U 1 346097 qfe0 [&hellip;]<\/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-558","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/558","targetHints":{"allow":["GET"]}}],"collection":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=558"}],"version-history":[{"count":0,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/558\/revisions"}],"wp:attachment":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=558"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=558"},{"taxonomy":"post_tag","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=558"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}