{"id":832,"date":"2013-09-02T11:27:31","date_gmt":"2013-09-02T08:27:31","guid":{"rendered":"http:\/\/www.fatihacar.com\/blog\/?p=832"},"modified":"2013-09-02T11:28:26","modified_gmt":"2013-09-02T08:28:26","slug":"how-to-add-or-delete-route-in-oracle-linux","status":"publish","type":"post","link":"https:\/\/www.fatihacar.com\/blog\/how-to-add-or-delete-route-in-oracle-linux\/","title":{"rendered":"How to Add or Delete Route in Oracle Linux"},"content":{"rendered":"<p>IP routing involves forwarding of IP datagrams. Its a simple process in which the host sends the IP datagram directly to the destination if the destination host is connected. For example, through a point to point link or through a shared network. If the destination host is not directly connected then the host sends the IP datagram to the default router and lets the router decide where to send the IP datagram further.<\/p>\n<p><strong>Show Route List<\/strong><\/p>\n<blockquote><p>\n# route -n\n<\/p><\/blockquote>\n<p><strong>Add New Static Route<\/strong><\/p>\n<p>If you add new route with &#8220;route add&#8221; command, this value is deleted when network service restart or reboot system.<\/p>\n<blockquote><p>\n# route add -net 192.168.10.0 netmask 255.255.255.0 gw 192.168.1.110\n<\/p><\/blockquote>\n<p>If you want to persistent route, you can make configuretion like below.<\/p>\n<p><strong>Add New Persistent Static Route<\/strong><\/p>\n<blockquote><p>\n# vi \/etc\/sysconfig\/network-scripts\/route-eth0 <\/p>\n<p>Add below lines.<\/p>\n<p>GATEWAY0=192.168.1.110<br \/>\nNETMASK0=255.255.255.0<br \/>\nADDRESS0=192.168.10.0<\/p>\n<p><strong>Note :<\/strong> If you use bonding, you have to use route-bond0 that bond0 is your bond interface name.<\/p>\n<p># service network restart<br \/>\n# route -n\n<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>IP routing involves forwarding of IP datagrams. Its a simple process in which the host sends the IP datagram directly to the destination if the destination host is connected. For example, through a point to point link or through a shared network. If the destination host is not directly connected then the host sends the&#8230;<\/p>\n","protected":false},"author":37,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[18],"tags":[14,31,22],"class_list":["post-832","post","type-post","status-publish","format-standard","hentry","category-linux-unix","tag-database-administration","tag-linux-administration","tag-system-administration"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p39NFI-dq","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/posts\/832","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/users\/37"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/comments?post=832"}],"version-history":[{"count":1,"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/posts\/832\/revisions"}],"predecessor-version":[{"id":833,"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/posts\/832\/revisions\/833"}],"wp:attachment":[{"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/media?parent=832"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/categories?post=832"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fatihacar.com\/blog\/wp-json\/wp\/v2\/tags?post=832"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}