<?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: Problem with the route command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-the-route-command/m-p/2711426#M587679</link>
    <description>#netstat -rn |grep default&lt;BR /&gt;default               10.20.250.5        UG       0          0  lan0       1500&lt;BR /&gt;&lt;BR /&gt;then&lt;BR /&gt;#route delete default 10.20.250.5&lt;BR /&gt;&lt;BR /&gt;will delete the default route&lt;BR /&gt;&lt;BR /&gt;#route add default 10.20.250.5 1 &lt;BR /&gt;will add the default route.&lt;BR /&gt;&lt;BR /&gt;Sachin&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 25 Apr 2002 20:21:28 GMT</pubDate>
    <dc:creator>Sachin Patel</dc:creator>
    <dc:date>2002-04-25T20:21:28Z</dc:date>
    <item>
      <title>Problem with the route command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-the-route-command/m-p/2711424#M587677</link>
      <description>I rebooted an 11.0 box that had an incorrect lan1 setup in netconf so lan1 came up with the incorrect ip. I took down the interface but a netstat -rn still showed that ip address with a default gateway of that same address. When I used the route command (route delete ip gateway or route delete host ip gateway) it returned "no such file or directory". I was able to fix it by either changing the ip through ifconfig or, ultimately, rebooting. My question, however, is not how to fix it by why did attempts at deleting the route fail?&lt;BR /&gt;&lt;BR /&gt;TIA...Kevin</description>
      <pubDate>Thu, 25 Apr 2002 19:55:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-the-route-command/m-p/2711424#M587677</guid>
      <dc:creator>Kevin Liquori_1</dc:creator>
      <dc:date>2002-04-25T19:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the route command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-the-route-command/m-p/2711425#M587678</link>
      <description>This tends to happen to me to from time to time. I end up having to flush the routing table ( route -f ) from the console and reenter the routes manualy.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Apr 2002 19:58:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-the-route-command/m-p/2711425#M587678</guid>
      <dc:creator>hpuxrox</dc:creator>
      <dc:date>2002-04-25T19:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the route command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-the-route-command/m-p/2711426#M587679</link>
      <description>#netstat -rn |grep default&lt;BR /&gt;default               10.20.250.5        UG       0          0  lan0       1500&lt;BR /&gt;&lt;BR /&gt;then&lt;BR /&gt;#route delete default 10.20.250.5&lt;BR /&gt;&lt;BR /&gt;will delete the default route&lt;BR /&gt;&lt;BR /&gt;#route add default 10.20.250.5 1 &lt;BR /&gt;will add the default route.&lt;BR /&gt;&lt;BR /&gt;Sachin&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Apr 2002 20:21:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-the-route-command/m-p/2711426#M587679</guid>
      <dc:creator>Sachin Patel</dc:creator>
      <dc:date>2002-04-25T20:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the route command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-the-route-command/m-p/2711427#M587680</link>
      <description>Hi Kevin&lt;BR /&gt;&lt;BR /&gt;Do a netstat -nr and get the default gateway.&lt;BR /&gt;&lt;BR /&gt;route delete &amp;lt; default gateway &amp;gt;&lt;BR /&gt;&lt;BR /&gt;route add &lt;DEFAULT gateway=""&gt; no. of hops&lt;BR /&gt;&lt;BR /&gt;you should be good to go , another issue is you should be able to ping the default gateway.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava&lt;/DEFAULT&gt;</description>
      <pubDate>Thu, 25 Apr 2002 20:31:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-the-route-command/m-p/2711427#M587680</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2002-04-25T20:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the route command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-the-route-command/m-p/2711428#M587681</link>
      <description>ok some more information on the routing table, as far as I know , when starting up the machine will add routes for it's physical interfaces , these routes are apparently considered special because for instance  such a route will have at least 2 entries&lt;BR /&gt;&lt;BR /&gt;IP 127.0.0.1 &lt;BR /&gt;IP IP        &lt;BR /&gt;&lt;BR /&gt;the first one is darn hard to get rid of , e.g. route delete host or net on : &lt;BR /&gt;&lt;BR /&gt;IP 127.0.0.1 &lt;BR /&gt;&lt;BR /&gt;allways shows that is cannot find it , this is apparently a protection to prevent you from trowing out you physical interfaces , normally you should be able get rid of the IP IP denotation with the route delete net or route delete host commands , it is however possible that the routing table got confused and that it thinks the entry doesn't exist anymore then a route -f or a restart of the system is needed to flush the entries</description>
      <pubDate>Fri, 26 Apr 2002 07:30:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-the-route-command/m-p/2711428#M587681</guid>
      <dc:creator>sven verhaegen</dc:creator>
      <dc:date>2002-04-26T07:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the route command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-the-route-command/m-p/2711429#M587682</link>
      <description>Your attempts to delete the route were probably due to you not specifying the netmask and the default assumed by the route command not matching the entry in the routing table.&lt;BR /&gt;&lt;BR /&gt;See 'man route' for details of how the default is calculated.&lt;BR /&gt;&lt;BR /&gt;Use 'netstat -rnv' to see what netmask is associated with the route entry and if necessary, supply that to the 'route delete' command...&lt;BR /&gt;&lt;BR /&gt;route delete net xxx netmask yyy&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John</description>
      <pubDate>Fri, 26 Apr 2002 08:27:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-the-route-command/m-p/2711429#M587682</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2002-04-26T08:27:36Z</dc:date>
    </item>
  </channel>
</rss>

