<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: two default routes in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/two-default-routes/m-p/2721838#M588686</link>
    <description>Hi&lt;BR /&gt;&lt;BR /&gt;this thread will tell you all about this.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x775f46ff9277d511abcd0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x775f46ff9277d511abcd0090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;good luck&lt;BR /&gt;John.</description>
    <pubDate>Sat, 11 May 2002 04:56:53 GMT</pubDate>
    <dc:creator>John Carr_2</dc:creator>
    <dc:date>2002-05-11T04:56:53Z</dc:date>
    <item>
      <title>two default routes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/two-default-routes/m-p/2721837#M588685</link>
      <description>hi,&lt;BR /&gt;I have put two default routes pointing to two different gateways on the same network. will this work as a router fallback setup ? ie if &lt;BR /&gt;first route is not available , the second will be tried .&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;U.SivaKumar</description>
      <pubDate>Sat, 11 May 2002 03:52:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/two-default-routes/m-p/2721837#M588685</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2002-05-11T03:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: two default routes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/two-default-routes/m-p/2721838#M588686</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;this thread will tell you all about this.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x775f46ff9277d511abcd0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x775f46ff9277d511abcd0090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;good luck&lt;BR /&gt;John.</description>
      <pubDate>Sat, 11 May 2002 04:56:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/two-default-routes/m-p/2721838#M588686</guid>
      <dc:creator>John Carr_2</dc:creator>
      <dc:date>2002-05-11T04:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: two default routes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/two-default-routes/m-p/2721839#M588687</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I think this is possible, but it may not be the ndd tunable parameter referred to in the forum message above - If you have two default gateways, and have dead gateway detection turned on (Think it's 'ip_ire_gw_probe') under HP-UX 11.x, the default route will 'failover' to the second default route.  Dead gateway detection tends to ping the default route at certain intervals to see if it's still alive, so some people turn it off if their gateway is a firewall.  So, if your gateways aren't firewalls, this might work.  However, I think the probing interval is something like 15 minutes by default. It can be adjusted by another ndd tunable (maybe 'ip_ire_gw_probe_interval').&lt;BR /&gt;&lt;BR /&gt;Another possibility would be to use HSRP on your routers, but it's not something I know much about...&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;&lt;BR /&gt;cxtwo</description>
      <pubDate>Sun, 12 May 2002 09:56:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/two-default-routes/m-p/2721839#M588687</guid>
      <dc:creator>cx2</dc:creator>
      <dc:date>2002-05-12T09:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: two default routes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/two-default-routes/m-p/2721840#M588688</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;It should be better for you to rely on a routing protocol than static default routes for failover and fallback.&lt;BR /&gt;&lt;BR /&gt;If you wish to use static default routes, then use it in a cron script so that you take care of fallback from the standby route to the primary route.&lt;BR /&gt;&lt;BR /&gt;In my environment, I use RDPD (Router Discovery Protocol Daemon) clients on my HP-UX servers.&lt;BR /&gt;&lt;BR /&gt;On both my firewall gateways, I run GATED which launches the routerdiscovery server. With that, I am able to implement failover and fallback.&lt;BR /&gt;&lt;BR /&gt;If you use a cron script that runs every minute, it should go something like this:&lt;BR /&gt;=======================================&lt;BR /&gt;#!/sbin/sh&lt;BR /&gt;&lt;BR /&gt;if ping primary -n 1 | grep '100%' &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;then&lt;BR /&gt;  if [ ! -e /tmp/FAILED-OVER]&lt;BR /&gt;  then&lt;BR /&gt;    route add default secondary &lt;BR /&gt;    route delete default primary&lt;BR /&gt;    touch /tmp/FAILED-OVER&lt;BR /&gt;  fi&lt;BR /&gt;else&lt;BR /&gt;  if [ -e /tmp/FAILED-OVER ]&lt;BR /&gt;  then &lt;BR /&gt;    route add default primary&lt;BR /&gt;    route delete default secondary&lt;BR /&gt;    rm -f /tmp/FAILED-OVER&lt;BR /&gt;  fi&lt;BR /&gt;fi&lt;BR /&gt;=======================================&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong</description>
      <pubDate>Mon, 13 May 2002 00:28:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/two-default-routes/m-p/2721840#M588688</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2002-05-13T00:28:55Z</dc:date>
    </item>
  </channel>
</rss>

