<?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: Setting Gateway correct in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-gateway-correct/m-p/2972094#M120576</link>
    <description>Did you try setting the gateway from SAM? Are you getting any errors on /etc/rc.log while configuring networks during system startup?</description>
    <pubDate>Tue, 13 May 2003 14:17:46 GMT</pubDate>
    <dc:creator>Helen French</dc:creator>
    <dc:date>2003-05-13T14:17:46Z</dc:date>
    <item>
      <title>Setting Gateway correct</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-gateway-correct/m-p/2972093#M120575</link>
      <description>Dear Ladies and Gentleman,&lt;BR /&gt;&lt;BR /&gt;i have a problem regarding an hpux Server which i had installed some time ago for a customer. &lt;BR /&gt;&lt;BR /&gt;The problem is that even all the parameters are set correctlye in the file /etc/rc.config.d/netconf and are identically to an second machine, where the gateway works, the machine does not have set the default gateway correctly.&lt;BR /&gt;&lt;BR /&gt;If i start sam and differ beetween both machine than the only diferrence i can see is that the one with the working interface show the correct default gateway, the other one shows "not defined".&lt;BR /&gt;&lt;BR /&gt;If i set the gateway manually "route add default ..." it works perfect. Although i can handle it via an startscript so that the machine sets the default gateway automatically.&lt;BR /&gt;&lt;BR /&gt;Has someone an idea why it does not work automatically?&lt;BR /&gt;&lt;BR /&gt;Regards &lt;BR /&gt;&lt;BR /&gt;Luis</description>
      <pubDate>Tue, 13 May 2003 13:58:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-gateway-correct/m-p/2972093#M120575</guid>
      <dc:creator>Luis Varon</dc:creator>
      <dc:date>2003-05-13T13:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Gateway correct</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-gateway-correct/m-p/2972094#M120576</link>
      <description>Did you try setting the gateway from SAM? Are you getting any errors on /etc/rc.log while configuring networks during system startup?</description>
      <pubDate>Tue, 13 May 2003 14:17:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-gateway-correct/m-p/2972094#M120576</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2003-05-13T14:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Gateway correct</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-gateway-correct/m-p/2972095#M120577</link>
      <description>&lt;BR /&gt;I guess,  you can try by set_parms addl_netwrk and see if it makes any difference.&lt;BR /&gt;&lt;BR /&gt;-USA..</description>
      <pubDate>Tue, 13 May 2003 14:19:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-gateway-correct/m-p/2972095#M120577</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2003-05-13T14:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Gateway correct</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-gateway-correct/m-p/2972096#M120578</link>
      <description>Luis,&lt;BR /&gt;&lt;BR /&gt;What do your gateway entries in /etc/rc.config.d/netconf look like?  Have you compared them to the working machine?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 13 May 2003 14:20:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-gateway-correct/m-p/2972096#M120578</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-05-13T14:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Gateway correct</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-gateway-correct/m-p/2972097#M120579</link>
      <description>You have to edit /etc/rc.config.d/netconf and add the default router in so the router information survives a reboot. Here is an excerpt from my netconf file:&lt;BR /&gt;&lt;BR /&gt;ROUTE_DESTINATION[0]=default&lt;BR /&gt;ROUTE_MASK[0]=""&lt;BR /&gt;ROUTE_GATEWAY[0]=123.123.123.1&lt;BR /&gt;ROUTE_COUNT[0]=1&lt;BR /&gt;ROUTE_ARGS[0]=""&lt;BR /&gt;&lt;BR /&gt;Of course you would put your actual default router address where my 123.123.123.1 is and don't forget the ROUTE_COUNT[0]=1 as this tells the system that the router is on the LAN and not the host itself.</description>
      <pubDate>Tue, 13 May 2003 14:23:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-gateway-correct/m-p/2972097#M120579</guid>
      <dc:creator>John Dvorchak</dc:creator>
      <dc:date>2003-05-13T14:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Gateway correct</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-gateway-correct/m-p/2972098#M120580</link>
      <description>ps -ef | grep gated&lt;BR /&gt;&lt;BR /&gt;Make sure gated is not running.&lt;BR /&gt;&lt;BR /&gt;Then, note the interface number of your card in lanscan.&lt;BR /&gt;&lt;BR /&gt;That number cooresponds to the [0] in the post immediately preceeding this one.  Set your gateway according to that post.&lt;BR /&gt;&lt;BR /&gt;(If gated was running, make sure you turn it off in netconf)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 13 May 2003 14:42:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-gateway-correct/m-p/2972098#M120580</guid>
      <dc:creator>Jim Butler</dc:creator>
      <dc:date>2003-05-13T14:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Gateway correct</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-gateway-correct/m-p/2972099#M120581</link>
      <description>ps -ef | grep gated&lt;BR /&gt;&lt;BR /&gt;Make sure gated is not running.&lt;BR /&gt;&lt;BR /&gt;Then, note the interface number of your card in lanscan.&lt;BR /&gt;&lt;BR /&gt;That number cooresponds to the [0] in the post immediately preceeding this one.  Set your gateway according to that post.&lt;BR /&gt;&lt;BR /&gt;(If gated was running, make sure you turn it off in netconf)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 13 May 2003 14:42:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-gateway-correct/m-p/2972099#M120581</guid>
      <dc:creator>Jim Butler</dc:creator>
      <dc:date>2003-05-13T14:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Gateway correct</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-gateway-correct/m-p/2972100#M120582</link>
      <description>Thanks for all the answers.&lt;BR /&gt;&lt;BR /&gt;where can i edit the settings im SAM? I haven't found a place to change it yet.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;For the others, the settings in the /etc/rc.config.d/netconf file are:&lt;BR /&gt;&lt;BR /&gt;LOOPBACK_ADDRESS=127.0.0.1&lt;BR /&gt;DHCP_ENABLE[0]=0&lt;BR /&gt;ROUTE_DESTINATION[0]=default&lt;BR /&gt;ROUTE_MASK[0]=""&lt;BR /&gt;ROUTE_GATEWAY[0]="10.85.1.2"&lt;BR /&gt;ROUTE_COUNT[0]="1"&lt;BR /&gt;ROUTE_ARGS[0]=""&lt;BR /&gt;GATED=0&lt;BR /&gt;GATED_ARGS=""&lt;BR /&gt;RDPD=0&lt;BR /&gt;RARP=0&lt;BR /&gt;IP_ADDRESS[1]=10.85.102.2&lt;BR /&gt;SUBNET_MASK[1]=255.255.0.0&lt;BR /&gt;INTERFACE_NAME[1]=lan1&lt;BR /&gt;BROADCAST_ADDRESS[1]=10.85.255.255&lt;BR /&gt;INTERFACE_STATE[1]=up&lt;BR /&gt;DHCP_ENABLE[1]=1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Is there anything wrong?&lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;&lt;BR /&gt;Luis</description>
      <pubDate>Tue, 13 May 2003 14:45:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-gateway-correct/m-p/2972100#M120582</guid>
      <dc:creator>Luis Varon</dc:creator>
      <dc:date>2003-05-13T14:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Gateway correct</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-gateway-correct/m-p/2972101#M120583</link>
      <description>what network interface card are you using? lan1, lan0 etc..... You can find this by ioscan -fnC lan or lanscan. You could try resetting the card in lanadmin.</description>
      <pubDate>Tue, 13 May 2003 18:54:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-gateway-correct/m-p/2972101#M120583</guid>
      <dc:creator>Chris Fadrowski</dc:creator>
      <dc:date>2003-05-13T18:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Gateway correct</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-gateway-correct/m-p/2972102#M120584</link>
      <description>i almost looks to me like you are assigning info to two different network cards one and zero..</description>
      <pubDate>Tue, 13 May 2003 19:05:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-gateway-correct/m-p/2972102#M120584</guid>
      <dc:creator>Chris Fadrowski</dc:creator>
      <dc:date>2003-05-13T19:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Gateway correct</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-gateway-correct/m-p/2972103#M120585</link>
      <description>Hi Luis,&lt;BR /&gt;&lt;BR /&gt;in /etc/rc.config.d/netconf it should look like this:&lt;BR /&gt;ROUTE_DESTINATION[0]=ip-address of destination&lt;BR /&gt;ROUTE_MASK[0]="255.255.0.0" &lt;BR /&gt;ROUTE_GATEWAY[0]=10.85.1.2 (ip-address of your gateway to the destination?)(test it without "")&lt;BR /&gt;ROUTE_COUNT[0]="1" &lt;BR /&gt;ROUTE_ARGS[0]=""&lt;BR /&gt;&lt;BR /&gt;That works for me!&lt;BR /&gt;&lt;BR /&gt;As Shiju mentioned, if anything wrong there should be an error in  /etc/rc.log.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Volkmar&lt;BR /&gt;</description>
      <pubDate>Wed, 14 May 2003 13:32:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-gateway-correct/m-p/2972103#M120585</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2003-05-14T13:32:15Z</dc:date>
    </item>
  </channel>
</rss>

