<?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 to add static route using netconf in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-to-add-static-route-using-netconf/m-p/3621443#M557599</link>
    <description>egrep "fail|warning|error" /etc/rc.log</description>
    <pubDate>Thu, 08 Sep 2005 04:35:45 GMT</pubDate>
    <dc:creator>RAC_1</dc:creator>
    <dc:date>2005-09-08T04:35:45Z</dc:date>
    <item>
      <title>problem to add static route using netconf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-to-add-static-route-using-netconf/m-p/3621438#M557594</link>
      <description>Hello everybody.&lt;BR /&gt;I've got a problem to make static route permanent usinf /etc/rc.config.d/netconf file on HPUX 11.11.&lt;BR /&gt;&lt;BR /&gt;I've got 2 lan interfaces lan0 and lan1. The content of /etc/hosts file:&lt;BR /&gt;172.17.13.132 testmts&lt;BR /&gt;127.0.0.1 localhost loopback&lt;BR /&gt;192.168.4.1 lan1&lt;BR /&gt;&lt;BR /&gt;I would like to make a static route for the net 10.0.1.0 255.255.255.0 via lan1 (192.168.4.1).&lt;BR /&gt;In the terminal I issue the following command&lt;BR /&gt;route add net 10.0.1.0 netmask 255.255.255.0 192.168.4.1&lt;BR /&gt;after it I issue netstat -r and the line for net 10.0.1.0 is displayed in the output of this command. Anyway it's ok until the reboot, so I modify the /etc/rc.config.d/netconf file adding the following lines&lt;BR /&gt;ROUTE_DESTINATION[1]="net 10.0.1.0"&lt;BR /&gt;ROUTE_MASK[1]=""&lt;BR /&gt;ROUTE_GATEWAY[1]="192.168.4.1"&lt;BR /&gt;ROUTE_COUNT[1]="0"&lt;BR /&gt;ROUTE_ARGS[1]=""&lt;BR /&gt;&lt;BR /&gt;After the reboot I enter netstat -r again and I see no line dedicated to net 10.0.1.0. That means there is no such a route in the routing table. Can you help me to find the problem, please?&lt;BR /&gt;&lt;BR /&gt;Andrey</description>
      <pubDate>Thu, 08 Sep 2005 04:12:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-to-add-static-route-using-netconf/m-p/3621438#M557594</guid>
      <dc:creator>Andrey_20</dc:creator>
      <dc:date>2005-09-08T04:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: problem to add static route using netconf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-to-add-static-route-using-netconf/m-p/3621439#M557595</link>
      <description>Set the route mask&lt;BR /&gt;&lt;BR /&gt;ROUTE_MASK[1]=255.255.255.0</description>
      <pubDate>Thu, 08 Sep 2005 04:16:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-to-add-static-route-using-netconf/m-p/3621439#M557595</guid>
      <dc:creator>CAS_2</dc:creator>
      <dc:date>2005-09-08T04:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: problem to add static route using netconf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-to-add-static-route-using-netconf/m-p/3621440#M557596</link>
      <description>The syntax looks ok in netconf file. What is the error that you get?? check /etc/rc.log file and post the error.</description>
      <pubDate>Thu, 08 Sep 2005 04:18:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-to-add-static-route-using-netconf/m-p/3621440#M557596</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-09-08T04:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: problem to add static route using netconf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-to-add-static-route-using-netconf/m-p/3621441#M557597</link>
      <description>CAS,&lt;BR /&gt;&lt;BR /&gt;I tried both variants - no success. going to check the log.</description>
      <pubDate>Thu, 08 Sep 2005 04:19:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-to-add-static-route-using-netconf/m-p/3621441#M557597</guid>
      <dc:creator>Andrey_20</dc:creator>
      <dc:date>2005-09-08T04:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: problem to add static route using netconf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-to-add-static-route-using-netconf/m-p/3621442#M557598</link>
      <description>I found nothing critical in /etc/rc.log &lt;BR /&gt;&lt;BR /&gt;These are the lines related to routind&lt;BR /&gt;&lt;BR /&gt;Configure pseudo devices for MAC/LLA access&lt;BR /&gt;Output from "/sbin/rc2.d/S462maclan start":&lt;BR /&gt;----------------------------&lt;BR /&gt;&lt;BR /&gt;Start multicast routing daemon&lt;BR /&gt;Output from "/sbin/rc2.d/S490mrouted start":&lt;BR /&gt;----------------------------&lt;BR /&gt;"/sbin/rc2.d/S490mrouted start" SKIPPED&lt;BR /&gt;&lt;BR /&gt;Start Internet services daemon&lt;BR /&gt;Output from "/sbin/rc2.d/S500inetd start":&lt;BR /&gt;----------------------------&lt;BR /&gt;Internet Services started&lt;BR /&gt;&lt;BR /&gt;Start dynamic routing daemon&lt;BR /&gt;Output from "/sbin/rc2.d/S510gated start":&lt;BR /&gt;----------------------------&lt;BR /&gt;"/sbin/rc2.d/S510gated start" SKIPPED&lt;BR /&gt;Start router discover protocol daemon&lt;BR /&gt;Output from "/sbin/rc2.d/S520rdpd start":&lt;BR /&gt;----------------------------&lt;BR /&gt;"/sbin/rc2.d/S520rdpd start" SKIPPED&lt;BR /&gt;&lt;BR /&gt;Configuring PPP Interface&lt;BR /&gt;Output from "/sbin/rc2.d/S522ppp start":&lt;BR /&gt;----------------------------&lt;BR /&gt;Creating 16 tunnel device nodes at major 31...&lt;BR /&gt;&lt;BR /&gt;Start RARP protocol daemon&lt;BR /&gt;Output from "/sbin/rc2.d/S525rarpd start":&lt;BR /&gt;----------------------------&lt;BR /&gt;"/sbin/rc2.d/S525rarpd start" SKIPPED&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Sep 2005 04:32:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-to-add-static-route-using-netconf/m-p/3621442#M557598</guid>
      <dc:creator>Andrey_20</dc:creator>
      <dc:date>2005-09-08T04:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: problem to add static route using netconf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-to-add-static-route-using-netconf/m-p/3621443#M557599</link>
      <description>egrep "fail|warning|error" /etc/rc.log</description>
      <pubDate>Thu, 08 Sep 2005 04:35:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-to-add-static-route-using-netconf/m-p/3621443#M557599</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-09-08T04:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: problem to add static route using netconf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-to-add-static-route-using-netconf/m-p/3621444#M557600</link>
      <description>Can you try and post output of,&lt;BR /&gt;&lt;BR /&gt;# route add net 10.0.1.0 netmask 255.255.255.0 192.168.4.1 0&lt;BR /&gt;# route del net 10.0.1.0 netmask 255.255.255.0 192.168.4.1 0&lt;BR /&gt;&lt;BR /&gt;# route add net 10.0.1.0 netmask 255.255.255.0 192.168.4.1 1&lt;BR /&gt;# route del net 10.0.1.0 netmask 255.255.255.0 192.168.4.1 1&lt;BR /&gt;&lt;BR /&gt;May be a problem with ROUTE_COUNT[1]="" entry.&lt;BR /&gt;&lt;BR /&gt;hth.</description>
      <pubDate>Thu, 08 Sep 2005 04:36:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-to-add-static-route-using-netconf/m-p/3621444#M557600</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-09-08T04:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: problem to add static route using netconf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-to-add-static-route-using-netconf/m-p/3621445#M557601</link>
      <description>Muthukumar&lt;BR /&gt;&lt;BR /&gt;these commands work fine - add command output is &lt;BR /&gt;add net 10.0.1.0: gateway 192.168.4.1&lt;BR /&gt;delete command output is &lt;BR /&gt;delete net 10.0.1.0: gateway 192.168.4.1</description>
      <pubDate>Thu, 08 Sep 2005 04:42:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-to-add-static-route-using-netconf/m-p/3621445#M557601</guid>
      <dc:creator>Andrey_20</dc:creator>
      <dc:date>2005-09-08T04:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: problem to add static route using netconf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-to-add-static-route-using-netconf/m-p/3621446#M557602</link>
      <description>Check for output from "/sbin/rc2.d/S340net start".&lt;BR /&gt;&lt;BR /&gt;Routes are added by this rc script (/sbin/init.d/net), not by /sbin/rc2.d/S490mrouted.</description>
      <pubDate>Thu, 08 Sep 2005 04:43:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-to-add-static-route-using-netconf/m-p/3621446#M557602</guid>
      <dc:creator>CAS_2</dc:creator>
      <dc:date>2005-09-08T04:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: problem to add static route using netconf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-to-add-static-route-using-netconf/m-p/3621447#M557603</link>
      <description>How many files you have in there??&lt;BR /&gt;&lt;BR /&gt;ll /etc/rc.config.d/netcon*&lt;BR /&gt;&lt;BR /&gt;There should not be files like *.bak, *.org etc. The directory /etc/rc.config.d/ should hold only configuration files.</description>
      <pubDate>Thu, 08 Sep 2005 04:45:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-to-add-static-route-using-netconf/m-p/3621447#M557603</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-09-08T04:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: problem to add static route using netconf</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-to-add-static-route-using-netconf/m-p/3621448#M557604</link>
      <description>Thanks a lot to everybody, especially to RAC. The problem was as RAC correctly mentioned as that I had to files netcof and netconf.saved. After I deleted netconf.saved everuything works fine. That is a good lesson for me :)&lt;BR /&gt;&lt;BR /&gt;Thanks again</description>
      <pubDate>Thu, 08 Sep 2005 05:20:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-to-add-static-route-using-netconf/m-p/3621448#M557604</guid>
      <dc:creator>Andrey_20</dc:creator>
      <dc:date>2005-09-08T05:20:27Z</dc:date>
    </item>
  </channel>
</rss>

