<?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: Routing Issue in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/routing-issue/m-p/2831032#M581208</link>
    <description>try to leave the first like this&lt;BR /&gt;&lt;BR /&gt;ROUTE_DESTINATION[1]="net 10.122.0.0" &lt;BR /&gt;ROUTE_MASK[1]=255.255.0.0 &lt;BR /&gt;ROUTE_GATEWAY[1]=10.1.2.1 &lt;BR /&gt;&lt;BR /&gt;and restart&lt;BR /&gt;&lt;BR /&gt;do you have ping to two routers? try it!</description>
    <pubDate>Tue, 22 Oct 2002 16:49:05 GMT</pubDate>
    <dc:creator>Joaquin Gil de Vergara</dc:creator>
    <dc:date>2002-10-22T16:49:05Z</dc:date>
    <item>
      <title>Routing Issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/routing-issue/m-p/2831029#M581205</link>
      <description>&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I am very rusty at networking, partially because I avoid it as I dislike it so much.  So can anyone help with the relatively simple issue I have below?&lt;BR /&gt;&lt;BR /&gt;We have a system with 2 NICs&lt;BR /&gt;&lt;BR /&gt;lan0: 10.1.1.10&lt;BR /&gt;lan1: 10.1.2.10&lt;BR /&gt;with masks of 255.255.255.0&lt;BR /&gt;&lt;BR /&gt;The default route is 10.1.1.1&lt;BR /&gt;&lt;BR /&gt;There is a second gateway of 10.1.2.1 that we want to route all 10.122.0.0 and 10.1.3.0 traffic to.&lt;BR /&gt;&lt;BR /&gt;What is the best way of achieving this?&lt;BR /&gt;&lt;BR /&gt;I vaguely remember that even though from 11 on you can have 2 default gateways, the second will always remain down until the 1st fails - so that is not the approach I need.  I'm fairly sure we need to set some routes in the netconf, though this has been tried with the syntax below which I think looks OK.&lt;BR /&gt;&lt;BR /&gt;ROUTE_GATEWAY[0]=10.1.1.1&lt;BR /&gt;ROUTE_COUNT[0]=1&lt;BR /&gt;ROUTE_DESTINATION[0]=default&lt;BR /&gt;ROUTE_DESTINATION[1]="net 10.122.0.0"&lt;BR /&gt;ROUTE_MASK[1]=255.255.0.0   &lt;BR /&gt;INTERFACE_NAME[1]=lan1&lt;BR /&gt;INTERFACE_STATE[1]=up&lt;BR /&gt;ROUTE_GATEWAY[1]=10.1.2.1&lt;BR /&gt;&lt;BR /&gt;Can anyone spot the error (I'm sure it's probably obvious!)&lt;BR /&gt;&lt;BR /&gt;Cheers, Paul&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Oct 2002 16:13:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/routing-issue/m-p/2831029#M581205</guid>
      <dc:creator>Paul McCleary</dc:creator>
      <dc:date>2002-10-22T16:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: Routing Issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/routing-issue/m-p/2831030#M581206</link>
      <description>you must to add another entry in netconf&lt;BR /&gt;&lt;BR /&gt;ROUTE_DESTINATION[2]="net 10.1.3.0" &lt;BR /&gt;ROUTE_MASK[2]=255.255.255.0 &lt;BR /&gt;ROUTE_GATEWAY[2]=10.1.2.1 &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;then flush your routing table and restart network&lt;BR /&gt;&lt;BR /&gt;# /sbin/init.d/net stop&lt;BR /&gt;# route -f&lt;BR /&gt;# /sbin/init.d/net start&lt;BR /&gt;&lt;BR /&gt;you must have icmp connection against both router, in other way net will be fail&lt;BR /&gt;&lt;BR /&gt;best way to have two default gateways is forget static routes and enabling a dinamic routing protocol like ospf or rip (see man pages for gated)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Oct 2002 16:25:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/routing-issue/m-p/2831030#M581206</guid>
      <dc:creator>Joaquin Gil de Vergara</dc:creator>
      <dc:date>2002-10-22T16:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Routing Issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/routing-issue/m-p/2831031#M581207</link>
      <description>&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;I realise the second 10.1.3.0 route is not added above.  We couldn't get the first one working, so we hadn't bothered trying the other one.&lt;BR /&gt;&lt;BR /&gt;What you're suggesting is virtually identical to what we have tried.  Any other ideas?&lt;BR /&gt;&lt;BR /&gt;Thanks Anyway, Paul</description>
      <pubDate>Tue, 22 Oct 2002 16:27:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/routing-issue/m-p/2831031#M581207</guid>
      <dc:creator>Paul McCleary</dc:creator>
      <dc:date>2002-10-22T16:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: Routing Issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/routing-issue/m-p/2831032#M581208</link>
      <description>try to leave the first like this&lt;BR /&gt;&lt;BR /&gt;ROUTE_DESTINATION[1]="net 10.122.0.0" &lt;BR /&gt;ROUTE_MASK[1]=255.255.0.0 &lt;BR /&gt;ROUTE_GATEWAY[1]=10.1.2.1 &lt;BR /&gt;&lt;BR /&gt;and restart&lt;BR /&gt;&lt;BR /&gt;do you have ping to two routers? try it!</description>
      <pubDate>Tue, 22 Oct 2002 16:49:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/routing-issue/m-p/2831032#M581208</guid>
      <dc:creator>Joaquin Gil de Vergara</dc:creator>
      <dc:date>2002-10-22T16:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: Routing Issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/routing-issue/m-p/2831033#M581209</link>
      <description>Hi Paul,&lt;BR /&gt;&lt;BR /&gt;Your netconf seems incomplete and looks as though you are entertwining options for interfaces and routes.  You need to define both interfaces, the default route, and 2 static routes.  I think the following should work.&lt;BR /&gt;&lt;BR /&gt;INTERFACE_NAME[0]=lan0&lt;BR /&gt;IP_ADDRESS[0]=10.1.1.10&lt;BR /&gt;SUBNET_MASK[0]="255.255.255.0"&lt;BR /&gt;BROADCAST_ADDRESS[0]=""&lt;BR /&gt;INTERFACE_STATE[0]=""&lt;BR /&gt;DHCP_ENABLE[0]=0&lt;BR /&gt;&lt;BR /&gt;INTERFACE_NAME[1]=lan1&lt;BR /&gt;IP_ADDRESS[1]=10.1.2.10&lt;BR /&gt;SUBNET_MASK[1]=255.255.255.0&lt;BR /&gt;BROADCAST_ADDRESS[1]=""&lt;BR /&gt;INTERFACE_STATE[1]=""&lt;BR /&gt;DHCP_ENABLE[1]=0&lt;BR /&gt;&lt;BR /&gt;ROUTE_DESTINATION[0]=default&lt;BR /&gt;ROUTE_MASK[0]=""&lt;BR /&gt;ROUTE_GATEWAY[0]=10.1.1.1&lt;BR /&gt;ROUTE_COUNT[0]=1&lt;BR /&gt;ROUTE_ARGS[0]=""&lt;BR /&gt;&lt;BR /&gt;ROUTE_DESTINATION[1]="net 10.122.0.0"&lt;BR /&gt;ROUTE_MASK[1]=""&lt;BR /&gt;ROUTE_GATEWAY[1]=10.1.2.1&lt;BR /&gt;ROUTE_COUNT[1]=1&lt;BR /&gt;ROUTE_ARGS[1]=""&lt;BR /&gt;&lt;BR /&gt;ROUTE_DESTINATION[2]="net 10.1.3.0"&lt;BR /&gt;ROUTE_MASK[2]=""&lt;BR /&gt;ROUTE_GATEWAY[2]=10.1.2.1&lt;BR /&gt;ROUTE_COUNT[2]=1&lt;BR /&gt;ROUTE_ARGS[2]=""&lt;BR /&gt;&lt;BR /&gt;Darrell</description>
      <pubDate>Tue, 22 Oct 2002 16:58:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/routing-issue/m-p/2831033#M581209</guid>
      <dc:creator>Darrell Allen</dc:creator>
      <dc:date>2002-10-22T16:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: Routing Issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/routing-issue/m-p/2831034#M581210</link>
      <description>By the way, the problem with the route for "net 10.122.0.0" is you do not have ROUTE_COUNT (which needs to be 1 since the gateway address is not on the local serverbut is instead a router's address).&lt;BR /&gt;&lt;BR /&gt;It is much easier to read netconf if you format it as I have in my previous reply.&lt;BR /&gt;&lt;BR /&gt;Darrell</description>
      <pubDate>Tue, 22 Oct 2002 17:11:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/routing-issue/m-p/2831034#M581210</guid>
      <dc:creator>Darrell Allen</dc:creator>
      <dc:date>2002-10-22T17:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: Routing Issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/routing-issue/m-p/2831035#M581211</link>
      <description>Thanks for your efforts Darrell and Joaquin.&lt;BR /&gt;&lt;BR /&gt;Darrell apart from having to add the netmasks your suggestion worked a treat.  I'm confident it was the missing route count that was causing the issue as the gateway is not local to the host.&lt;BR /&gt;&lt;BR /&gt;Thanks again, Paul</description>
      <pubDate>Wed, 23 Oct 2002 08:10:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/routing-issue/m-p/2831035#M581211</guid>
      <dc:creator>Paul McCleary</dc:creator>
      <dc:date>2002-10-23T08:10:40Z</dc:date>
    </item>
  </channel>
</rss>

