<?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 static route in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/static-route/m-p/2845265#M581817</link>
    <description>Any suggestion&lt;BR /&gt;&lt;BR /&gt;I have an A-class server with 2 NIC:&lt;BR /&gt;142.127.159.38&lt;BR /&gt;142.127.159.39&lt;BR /&gt;&lt;BR /&gt;Both are on the same subnet 255.255.255.240&lt;BR /&gt;&lt;BR /&gt;# ifconfig lan0                                                            &lt;BR /&gt;lan0: flags=843&lt;UP&gt;                            &lt;BR /&gt;        inet 142.127.159.38 netmask fffffff0 broadcast 142.127.159.47      &lt;BR /&gt;&lt;BR /&gt;# ifconfig lan1                                                            &lt;BR /&gt;lan1: flags=843&lt;UP&gt;                            &lt;BR /&gt;        inet 142.127.159.39 netmask fffffff0 broadcast 142.127.159.47      &lt;BR /&gt;                                                                          &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I added a static route to an IP 142.127.169.238  gateway 142.127.159.38&lt;BR /&gt;&lt;BR /&gt;# netstat -nrv                                                                 &lt;BR /&gt;Routing tables                                                                 &lt;BR /&gt;Dest/Netmask                    Gateway            Flags   Refs Interface  Pmtu&lt;BR /&gt;127.0.0.1/255.255.255.255       127.0.0.1          UH        0  lo0        4136&lt;BR /&gt;142.127.159.38/255.255.255.255  142.127.159.38     UH        0  lan0       4136&lt;BR /&gt;142.127.159.39/255.255.255.255  142.127.159.39     UH        0  lan1       4136&lt;BR /&gt;142.127.169.238/255.255.255.255 142.127.159.38     UH        0  lan0          0&lt;BR /&gt;142.127.159.4/255.255.255.255   142.127.159.39     UH        0  lan1          0&lt;BR /&gt;142.127.159.32/255.255.255.240  142.127.159.39     U         2  lan1       1500&lt;BR /&gt;142.127.159.32/255.255.255.240  142.127.159.38     U         2  lan0       1500&lt;BR /&gt;127.0.0.0/255.0.0.0             127.0.0.1          U         0  lo0           0&lt;BR /&gt;default/0.0.0.0                 142.127.159.38     U         0  lan0       1500&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;When I do a traceroute to 142.127.169.238  I get&lt;BR /&gt;&lt;BR /&gt;# /usr/contrib/bin/traceroute 142.127.169.238                                   &lt;BR /&gt;traceroute: Warning: Multiple interfaces found; using 142.127.159.39 @ lan1     &lt;BR /&gt;traceroute to 142.127.169.238 (142.127.169.238), 30 hops max, 40 byte packets   &lt;BR /&gt;1 142.127.159.39 (142.127.159.39)  0.185 ms !N  0.211 ms !N  0.037 ms !N     &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Why would it say it using 142.127.159.39?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/UP&gt;&lt;/UP&gt;</description>
    <pubDate>Thu, 14 Nov 2002 19:43:26 GMT</pubDate>
    <dc:creator>Claude_8</dc:creator>
    <dc:date>2002-11-14T19:43:26Z</dc:date>
    <item>
      <title>static route</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/static-route/m-p/2845265#M581817</link>
      <description>Any suggestion&lt;BR /&gt;&lt;BR /&gt;I have an A-class server with 2 NIC:&lt;BR /&gt;142.127.159.38&lt;BR /&gt;142.127.159.39&lt;BR /&gt;&lt;BR /&gt;Both are on the same subnet 255.255.255.240&lt;BR /&gt;&lt;BR /&gt;# ifconfig lan0                                                            &lt;BR /&gt;lan0: flags=843&lt;UP&gt;                            &lt;BR /&gt;        inet 142.127.159.38 netmask fffffff0 broadcast 142.127.159.47      &lt;BR /&gt;&lt;BR /&gt;# ifconfig lan1                                                            &lt;BR /&gt;lan1: flags=843&lt;UP&gt;                            &lt;BR /&gt;        inet 142.127.159.39 netmask fffffff0 broadcast 142.127.159.47      &lt;BR /&gt;                                                                          &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I added a static route to an IP 142.127.169.238  gateway 142.127.159.38&lt;BR /&gt;&lt;BR /&gt;# netstat -nrv                                                                 &lt;BR /&gt;Routing tables                                                                 &lt;BR /&gt;Dest/Netmask                    Gateway            Flags   Refs Interface  Pmtu&lt;BR /&gt;127.0.0.1/255.255.255.255       127.0.0.1          UH        0  lo0        4136&lt;BR /&gt;142.127.159.38/255.255.255.255  142.127.159.38     UH        0  lan0       4136&lt;BR /&gt;142.127.159.39/255.255.255.255  142.127.159.39     UH        0  lan1       4136&lt;BR /&gt;142.127.169.238/255.255.255.255 142.127.159.38     UH        0  lan0          0&lt;BR /&gt;142.127.159.4/255.255.255.255   142.127.159.39     UH        0  lan1          0&lt;BR /&gt;142.127.159.32/255.255.255.240  142.127.159.39     U         2  lan1       1500&lt;BR /&gt;142.127.159.32/255.255.255.240  142.127.159.38     U         2  lan0       1500&lt;BR /&gt;127.0.0.0/255.0.0.0             127.0.0.1          U         0  lo0           0&lt;BR /&gt;default/0.0.0.0                 142.127.159.38     U         0  lan0       1500&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;When I do a traceroute to 142.127.169.238  I get&lt;BR /&gt;&lt;BR /&gt;# /usr/contrib/bin/traceroute 142.127.169.238                                   &lt;BR /&gt;traceroute: Warning: Multiple interfaces found; using 142.127.159.39 @ lan1     &lt;BR /&gt;traceroute to 142.127.169.238 (142.127.169.238), 30 hops max, 40 byte packets   &lt;BR /&gt;1 142.127.159.39 (142.127.159.39)  0.185 ms !N  0.211 ms !N  0.037 ms !N     &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Why would it say it using 142.127.159.39?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/UP&gt;&lt;/UP&gt;</description>
      <pubDate>Thu, 14 Nov 2002 19:43:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/static-route/m-p/2845265#M581817</guid>
      <dc:creator>Claude_8</dc:creator>
      <dc:date>2002-11-14T19:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: static route</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/static-route/m-p/2845266#M581818</link>
      <description>Hi Claude,&lt;BR /&gt;&lt;BR /&gt;In general you don't want 2 NICs on the same subnet for the exact reason you're seeing. You won't be able to control the routes.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Thu, 14 Nov 2002 19:45:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/static-route/m-p/2845266#M581818</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-11-14T19:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: static route</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/static-route/m-p/2845267#M581819</link>
      <description>Hi Claude,&lt;BR /&gt;&lt;BR /&gt;Without Auto Port Aggregation, you probably should NOT put two NICs on the same subnet.  It's kinda like setting your cactus next to your alarm clock:  You can do it, it's just not a very good idea.&lt;BR /&gt;&lt;BR /&gt;Put the two NICs on separate subnets or purchase the APA software.  Otherwise your mileage will vary as you are seeing.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Jim&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Nov 2002 19:54:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/static-route/m-p/2845267#M581819</guid>
      <dc:creator>Jim Turner</dc:creator>
      <dc:date>2002-11-14T19:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: static route</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/static-route/m-p/2845268#M581820</link>
      <description>2 NICs on the same subnet kinda, almost, just about, sorta works.  You should avoid doing so without APA.&lt;BR /&gt;&lt;BR /&gt;Darrell</description>
      <pubDate>Thu, 14 Nov 2002 19:58:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/static-route/m-p/2845268#M581820</guid>
      <dc:creator>Darrell Allen</dc:creator>
      <dc:date>2002-11-14T19:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: static route</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/static-route/m-p/2845269#M581821</link>
      <description>HI&lt;BR /&gt;If you want to seperate LAN traffic, configure both NIC on differnet segments.&lt;BR /&gt;If you want bigger LAN pipe or want fail-over use the APA software.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;Prashant.</description>
      <pubDate>Thu, 14 Nov 2002 20:25:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/static-route/m-p/2845269#M581821</guid>
      <dc:creator>Deshpande Prashant</dc:creator>
      <dc:date>2002-11-14T20:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: static route</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/static-route/m-p/2845270#M581822</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;This sounds like you are using HPUX 11.11.  Use the -i option with traceroute to tell it which interface to use.&lt;BR /&gt;&lt;BR /&gt;Hope that helps,&lt;BR /&gt;&lt;BR /&gt;-&amp;gt; Brian Hackley</description>
      <pubDate>Thu, 14 Nov 2002 21:23:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/static-route/m-p/2845270#M581822</guid>
      <dc:creator>Brian Hackley</dc:creator>
      <dc:date>2002-11-14T21:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: static route</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/static-route/m-p/2845271#M581823</link>
      <description>I agree with the other posters that it is a bad idea to have both NICs in the same subnet and doesn't accomplish a whole lot.  However, as to your original question:  Go back and do a netstat -r&lt;BR /&gt;I think you will see that your new route just points back to the host which helps to explain why traceroute is confused. The route table is supposed to help the host find the quickest way to a remote destination.  Its purpose is not to steer a packet out a particular interface. &lt;BR /&gt;&lt;BR /&gt;Your setup uses Proxy Arp and expects a router which knows how to get to your destination to reply with its own MAC when the host ARPs for the MAC of the destination IP address.  This is a rather old fashioned method and results in a bit slower connection for the first packet because of the ARP delay. It is also somewhat risky since it is quite easy for your router guy to simply turn off Proxy Arp some day leaving you high and dry.  The good thing about this setup is that you don't need to know the router's IP address. I've also seen this used on 11.0 systems where the router did not respond to pings and the admin did not know how to turn off dead gateway detection.&lt;BR /&gt;&lt;BR /&gt;You would normally add the route so that its gateway address was the IP address of the router you want it to use.  (The Gateway is supposed to be the next hop not the NIC you want it to leave on.)  When you add a route you need to add a metric of at least 1 at the end so that the host will know that the address is not a local (present on the host) address.  Your default route should be the same way and if both use the same router there is no point in having a separate route for the individual host.&lt;BR /&gt;&lt;BR /&gt;Ron</description>
      <pubDate>Thu, 14 Nov 2002 21:36:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/static-route/m-p/2845271#M581823</guid>
      <dc:creator>Ron Kinner</dc:creator>
      <dc:date>2002-11-14T21:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: static route</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/static-route/m-p/2845272#M581824</link>
      <description>Have a look at the following URL:&lt;BR /&gt;&lt;A href="ftp://ftp.cup.hp.com/dist/networking/briefs/annotated_ndd.txt" target="_blank"&gt;ftp://ftp.cup.hp.com/dist/networking/briefs/annotated_ndd.txt&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;I believe reading from this doco, that you would have to switch ip_strong_es_model to 1 to beable to do what you want.&lt;BR /&gt;&lt;BR /&gt;I must admit I believe APA would be a better solution.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Nov 2002 23:03:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/static-route/m-p/2845272#M581824</guid>
      <dc:creator>Evert Ladrak</dc:creator>
      <dc:date>2002-11-14T23:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: static route</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/static-route/m-p/2845273#M581825</link>
      <description>Thanks everyone for your quick response.&lt;BR /&gt;&lt;BR /&gt;I didn???t get into details about why I need this work this way but it is a requirement of an application that I am running.&lt;BR /&gt;&lt;BR /&gt;I will read up on Auto Port Aggregation&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;P.S&lt;BR /&gt;Evert ..&lt;BR /&gt;I did switch ip_strong_es_model to 1 and I am still&lt;BR /&gt;Getting the same result&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Nov 2002 11:01:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/static-route/m-p/2845273#M581825</guid>
      <dc:creator>Claude_8</dc:creator>
      <dc:date>2002-11-15T11:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: static route</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/static-route/m-p/2845274#M581826</link>
      <description>traceroute is bypassing the stacks routing decisions and picking an interface on its own. you may have some success with the -i and -s options to traceroute.&lt;BR /&gt;&lt;BR /&gt;ip_strong_es_model only affects the routing decisions made by the stack - by including source IP address - so, using -s above amy halep it select the route you want to traceroute.&lt;BR /&gt;&lt;BR /&gt;i have never had the time to figure-out what is done whe there is not source IP address. one of these days if someone has the cycles, i'd love to hear the  result.&lt;BR /&gt;&lt;BR /&gt;having said all that, unless those two interfaces connect to disconnected network segments, the "better" way to put two NICs into the same IP subnet is to bond them together with APA - this makes them look like one NIC to the transport, and you can get failover all all that good stuff.</description>
      <pubDate>Fri, 15 Nov 2002 18:04:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/static-route/m-p/2845274#M581826</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2002-11-15T18:04:30Z</dc:date>
    </item>
  </channel>
</rss>

