<?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: Automatic Route addition problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-route-addition-problem/m-p/2931733#M576901</link>
    <description>Amod,&lt;BR /&gt;&lt;BR /&gt;I have always been told (HP internal &amp;amp; external courses) that the hop/count should always be "1" no matter what. If in reality it does need more hops, the routers take care of it.</description>
    <pubDate>Thu, 20 Mar 2003 11:28:28 GMT</pubDate>
    <dc:creator>Michael Duthie</dc:creator>
    <dc:date>2003-03-20T11:28:28Z</dc:date>
    <item>
      <title>Automatic Route addition problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-route-addition-problem/m-p/2931724#M576892</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I want to add following route to my HP 11.11 server everytime it boots. The command which works fine on prompt is&lt;BR /&gt;&lt;BR /&gt;# route add net 10.10.2.0 netmask 255.255.255.0 192.168.8.149&lt;BR /&gt;&lt;BR /&gt;192.168.8.149 is the server's own IP.&lt;BR /&gt;&lt;BR /&gt;My entires in /etc/rc.config.d/netconf corresponding to this route are&lt;BR /&gt;&lt;BR /&gt;ROUTE_DESTINATION[1]=10.10.2.0&lt;BR /&gt;ROUTE_MASK[1]=255.255.255.0&lt;BR /&gt;ROUTE_GATEWAY[1]=192.168.8.149&lt;BR /&gt;ROUTE_COUNT[1]=0&lt;BR /&gt;&lt;BR /&gt;Somehow the startup script fails to add the static route. Is anything wrong with my netconf entries ?</description>
      <pubDate>Thu, 20 Mar 2003 08:16:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-route-addition-problem/m-p/2931724#M576892</guid>
      <dc:creator>Amod</dc:creator>
      <dc:date>2003-03-20T08:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Route addition problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-route-addition-problem/m-p/2931725#M576893</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;is there any error it is giving. &lt;BR /&gt;&lt;BR /&gt;try running the /sbin/init.d/net start &amp;amp; see if there is any errors reported. also, can u see /etc/rc.log if there are any errors.&lt;BR /&gt;&lt;BR /&gt;is there any duplicate  route_..[1] entry in the netconf file.&lt;BR /&gt;&lt;BR /&gt;-balaji</description>
      <pubDate>Thu, 20 Mar 2003 08:46:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-route-addition-problem/m-p/2931725#M576893</guid>
      <dc:creator>Balaji N</dc:creator>
      <dc:date>2003-03-20T08:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Route addition problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-route-addition-problem/m-p/2931726#M576894</link>
      <description>I get following error in /etc/rc.log&lt;BR /&gt;&lt;BR /&gt;Output from "/sbin/rc2.d/S340net start":&lt;BR /&gt;----------------------------&lt;BR /&gt;ERROR:  Failed to add route entry because its interface is not yet initialized.  May need to add this route entry with a route commad after the interface is up :&lt;BR /&gt;netmask: bad value&lt;BR /&gt;&lt;BR /&gt;Point to note this server NIC has 2 IPs assigned to it.&lt;BR /&gt;&lt;BR /&gt;lan0 = 192.168.8.149&lt;BR /&gt;lan0:1 = 192.168.8.201&lt;BR /&gt;&lt;BR /&gt;Is the script referring to the virtual interface when adding net</description>
      <pubDate>Thu, 20 Mar 2003 09:09:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-route-addition-problem/m-p/2931726#M576894</guid>
      <dc:creator>Amod</dc:creator>
      <dc:date>2003-03-20T09:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Route addition problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-route-addition-problem/m-p/2931727#M576895</link>
      <description>If it is lan0 then you should have entries like&lt;BR /&gt;&lt;BR /&gt;INTERFACE_NAME[0]="lan0" &lt;BR /&gt;ROUTE_DESTINATION[0]=10.10.2.0 &lt;BR /&gt;ROUTE_MASK[0]=255.255.255.0 &lt;BR /&gt;ROUTE_GATEWAY[0]=192.168.8.149 &lt;BR /&gt;ROUTE_COUNT[0]=0 &lt;BR /&gt;&lt;BR /&gt;replace [1] with [0]&lt;BR /&gt;you can use something like this&lt;BR /&gt;INTERFACE_NAME[0]="lan0" &lt;BR /&gt;INTERFACE_NAME[1]="lan0:1" &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Then do a /sbin/init.d/net stop &lt;BR /&gt;&amp;amp; start&lt;BR /&gt;&lt;BR /&gt;Revert</description>
      <pubDate>Thu, 20 Mar 2003 09:34:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-route-addition-problem/m-p/2931727#M576895</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2003-03-20T09:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Route addition problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-route-addition-problem/m-p/2931728#M576896</link>
      <description>Hi TG,&lt;BR /&gt;&lt;BR /&gt;I think you misunderstood the 2 IPs thing. I am attaching my entire 'netconf' file for your reference.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Mar 2003 10:03:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-route-addition-problem/m-p/2931728#M576896</guid>
      <dc:creator>Amod</dc:creator>
      <dc:date>2003-03-20T10:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Route addition problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-route-addition-problem/m-p/2931729#M576897</link>
      <description>hi amod,&lt;BR /&gt;&lt;BR /&gt;i am a bit confused.&lt;BR /&gt;&lt;BR /&gt;the netconf file says as below&lt;BR /&gt;++++++++++++&lt;BR /&gt;# ROUTE_DESTINATION:  Destination hostname (in /etc/hosts) or host or network&lt;BR /&gt;#                     IP address in decimal-dot notation, preceded by the word&lt;BR /&gt;#                     "host" or "net"; or simply the word "default".&lt;BR /&gt;++++++++++++++&lt;BR /&gt;&lt;BR /&gt;so can u try adding a net:10.X.X.X in the route destination and see if it works. coz, the error message also says netmask: bad value. &lt;BR /&gt;&lt;BR /&gt;pls check and revert.&lt;BR /&gt;-balaji</description>
      <pubDate>Thu, 20 Mar 2003 10:22:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-route-addition-problem/m-p/2931729#M576897</guid>
      <dc:creator>Balaji N</dc:creator>
      <dc:date>2003-03-20T10:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Route addition problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-route-addition-problem/m-p/2931730#M576898</link>
      <description>First thing I have noticed is you have missed the hops of the end of the route statement.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;route add net 10.10.2.0 netmask 255.255.255.0 192.168.8.149 1&lt;BR /&gt;&lt;BR /&gt;and in the netconf Route_count=1&lt;BR /&gt;&lt;BR /&gt;are you sure the netmask is correct?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Mar 2003 10:43:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-route-addition-problem/m-p/2931730#M576898</guid>
      <dc:creator>Michael Duthie</dc:creator>
      <dc:date>2003-03-20T10:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Route addition problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-route-addition-problem/m-p/2931731#M576899</link>
      <description>Hi Balaji,&lt;BR /&gt;&lt;BR /&gt;I tried all combinations of 'net' preceding the 10.x.x.x&lt;BR /&gt;&lt;BR /&gt;net:10.x.x.x gives 'bad value' error.&lt;BR /&gt;&lt;BR /&gt;Amod.</description>
      <pubDate>Thu, 20 Mar 2003 11:05:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-route-addition-problem/m-p/2931731#M576899</guid>
      <dc:creator>Amod</dc:creator>
      <dc:date>2003-03-20T11:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Route addition problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-route-addition-problem/m-p/2931732#M576900</link>
      <description>Mike,&lt;BR /&gt;&lt;BR /&gt;On command prompt I didn't specified any hop count but it still works. &lt;BR /&gt;&lt;BR /&gt;In 'netconf' ROUTE_COUNT is '0' for this perticular route entry. Which according to the text in netconf for local interface.&lt;BR /&gt;&lt;BR /&gt;ROUTE_COUNT:An integer that indicates whether the gateway is a remote interface (one) or the local interface (zero) or loopback interface (e.g., 127.*)&lt;BR /&gt;&lt;BR /&gt;Amod.</description>
      <pubDate>Thu, 20 Mar 2003 11:13:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-route-addition-problem/m-p/2931732#M576900</guid>
      <dc:creator>Amod</dc:creator>
      <dc:date>2003-03-20T11:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Route addition problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-route-addition-problem/m-p/2931733#M576901</link>
      <description>Amod,&lt;BR /&gt;&lt;BR /&gt;I have always been told (HP internal &amp;amp; external courses) that the hop/count should always be "1" no matter what. If in reality it does need more hops, the routers take care of it.</description>
      <pubDate>Thu, 20 Mar 2003 11:28:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-route-addition-problem/m-p/2931733#M576901</guid>
      <dc:creator>Michael Duthie</dc:creator>
      <dc:date>2003-03-20T11:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Route addition problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-route-addition-problem/m-p/2931734#M576902</link>
      <description>This configuration is a way of using proxy arp so I guess that is what you are trying to do and if so the 0 hop count is correct. &lt;BR /&gt;&lt;BR /&gt;Since you are getting an error message about the netmask and there is obviously nothing wrong with the netmask you may need to turn off subnet checking in ndd.&lt;BR /&gt;&lt;BR /&gt;ndd -get  /dev/ip ip_check_subnet_addr&lt;BR /&gt;&lt;BR /&gt;If you get a 1 then you need to do the following:&lt;BR /&gt;&lt;BR /&gt;Edit the file /etc/rc.config.d/nddconf&lt;BR /&gt;to add the following entries using whatever is the next available integer in the brackets if you already have entries:&lt;BR /&gt;&lt;BR /&gt;TRANSPORT_NAME[0]=ip&lt;BR /&gt;NDD_NAME[0]= ip_check_subnet_addr&lt;BR /&gt;NDD_VALUE[0]=0&lt;BR /&gt;&lt;BR /&gt;Reboot and see if you still have your problem.&lt;BR /&gt;&lt;BR /&gt;Ron</description>
      <pubDate>Thu, 20 Mar 2003 15:10:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-route-addition-problem/m-p/2931734#M576902</guid>
      <dc:creator>Ron Kinner</dc:creator>
      <dc:date>2003-03-20T15:10:52Z</dc:date>
    </item>
  </channel>
</rss>

