<?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: traceroute uses wrong interface in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/traceroute-uses-wrong-interface/m-p/3813556#M548253</link>
    <description>See this patch:&lt;BR /&gt;&lt;BR /&gt;PHNE_34135&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www2.itrc.hp.com/service/patch/patchDetail.do?patchid=PHNE_34135&amp;amp;sel={hpux:11.11,}&amp;amp;BC=main" target="_blank"&gt;http://www2.itrc.hp.com/service/patch/patchDetail.do?patchid=PHNE_34135&amp;amp;sel={hpux:11.11,}&amp;amp;BC=main&lt;/A&gt;|search|&lt;BR /&gt;&lt;BR /&gt;( SR:8606356802 CR:JAGaf17502 )&lt;BR /&gt;&lt;BR /&gt;When neither '-i' nor '-s' option is specified, traceroute(1) uses the first interface address returned in the IP header of the outgoing probe packet without referring to the routing table. As a result, the response to this probe packet may not reach the host in case of a multihomed host.</description>
    <pubDate>Tue, 27 Jun 2006 14:54:40 GMT</pubDate>
    <dc:creator>Ivan Ferreira</dc:creator>
    <dc:date>2006-06-27T14:54:40Z</dc:date>
    <item>
      <title>traceroute uses wrong interface</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/traceroute-uses-wrong-interface/m-p/3813552#M548246</link>
      <description>I have 4 network interfaces on my server, with lan0 being the public routable network, and lan1, lan2 &amp;amp; lan3 being private non-routable networks.&lt;BR /&gt;&lt;BR /&gt;My network configuration is as follows:&lt;BR /&gt;# ifconfig lan0&lt;BR /&gt;lan0: flags=1843&lt;UP&gt;&lt;BR /&gt;        inet 139.185.174.5 netmask ffffffc0 broadcast 139.185.174.63&lt;BR /&gt;# ifconfig lan1&lt;BR /&gt;lan1: flags=1843&lt;UP&gt;&lt;BR /&gt;        inet 139.185.174.67 netmask ffffffe0 broadcast 139.185.174.95&lt;BR /&gt;# ifconfig lan2&lt;BR /&gt;lan2: flags=1843&lt;UP&gt;&lt;BR /&gt;        inet 139.185.174.99 netmask ffffffe0 broadcast 139.185.174.127&lt;BR /&gt;# ifconfig lan3&lt;BR /&gt;lan3: flags=1843&lt;UP&gt;&lt;BR /&gt;        inet 139.185.174.131 netmask fffffff0 broadcast 139.185.174.143&lt;BR /&gt;&lt;BR /&gt;In addition, the netstat output is as follows:&lt;BR /&gt;# netstat -rna&lt;BR /&gt;Routing tables&lt;BR /&gt;Destination           Gateway            Flags   Refs Interface  Pmtu&lt;BR /&gt;127.0.0.1             127.0.0.1          UH        0  lo0        4136&lt;BR /&gt;139.185.174.5         139.185.174.5      UH        0  lan0       4136&lt;BR /&gt;139.185.174.67        139.185.174.67     UH        0  lan1       4136&lt;BR /&gt;139.185.174.99        139.185.174.99     UH        0  lan2       4136&lt;BR /&gt;139.185.174.131       139.185.174.131    UH        0  lan3       4136&lt;BR /&gt;139.185.174.128       139.185.174.131    U         2  lan3       1500&lt;BR /&gt;139.185.174.64        139.185.174.67     U         2  lan1       1500&lt;BR /&gt;139.185.174.96        139.185.174.99     U         2  lan2       1500&lt;BR /&gt;139.185.174.0         139.185.174.5      U         2  lan0       1500&lt;BR /&gt;127.0.0.0             127.0.0.1          U         0  lo0           0&lt;BR /&gt;default               139.185.174.1      UG        0  lan0          0&lt;BR /&gt;&lt;BR /&gt;The gateway is 139.185.174.1 which is only accessible via lan0. &lt;BR /&gt;&lt;BR /&gt;If I traceroute and force lan0, then all is OK&lt;BR /&gt;# traceroute -i lan0 -n 139.185.174.13&lt;BR /&gt;traceroute to 139.185.174.13 (139.185.174.13), 30 hops max, 40 byte packets&lt;BR /&gt; 1  139.185.174.13  0.132 ms  0.063 ms  0.064 ms&lt;BR /&gt;&lt;BR /&gt;However, if I do not specify an interface, then traceroute wants to use lan3 which is not routable. &lt;BR /&gt;traceroute -n 139.185.174.13&lt;BR /&gt;traceroute: Warning: Multiple interfaces found; using 139.185.174.131 @ lan3&lt;BR /&gt;traceroute to 139.185.174.13 (139.185.174.13), 30 hops max, 40 byte packets&lt;BR /&gt; 1  * * *&lt;BR /&gt; 2  * * *&lt;BR /&gt; 3  * * *&lt;BR /&gt; 4  * * *&lt;BR /&gt; 5  * * *&lt;BR /&gt; 6  * * *&lt;BR /&gt; 7  * * *&lt;BR /&gt; 8  * * *&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Any ideas why the system is wanting to route through lan3, and how I can get the system to route through the lan0 interface?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Andrew&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/UP&gt;&lt;/UP&gt;&lt;/UP&gt;&lt;/UP&gt;</description>
      <pubDate>Tue, 27 Jun 2006 13:50:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/traceroute-uses-wrong-interface/m-p/3813552#M548246</guid>
      <dc:creator>Andrew S Babb</dc:creator>
      <dc:date>2006-06-27T13:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: traceroute uses wrong interface</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/traceroute-uses-wrong-interface/m-p/3813553#M548250</link>
      <description>Hi Andrew,&lt;BR /&gt;&lt;BR /&gt;Use traceroute as follows:&lt;BR /&gt;&lt;BR /&gt;traceroute -i lanX destination&lt;BR /&gt;or&lt;BR /&gt;traceroute -s xxx.xxx.xxx.xxx destination&lt;BR /&gt;&lt;BR /&gt;where X=lan interface PPA&lt;BR /&gt;and xxx.xxx.xxx.xxx=IP of lanX or the NIC you want to originate the traceroute from.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Tue, 27 Jun 2006 14:40:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/traceroute-uses-wrong-interface/m-p/3813553#M548250</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2006-06-27T14:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: traceroute uses wrong interface</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/traceroute-uses-wrong-interface/m-p/3813554#M548251</link>
      <description>Thanks for the quick response, but is there a way to avoid this, and to have traceroute detect the lan0 as the default route?</description>
      <pubDate>Tue, 27 Jun 2006 14:48:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/traceroute-uses-wrong-interface/m-p/3813554#M548251</guid>
      <dc:creator>Andrew S Babb</dc:creator>
      <dc:date>2006-06-27T14:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: traceroute uses wrong interface</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/traceroute-uses-wrong-interface/m-p/3813555#M548252</link>
      <description>It seems that the traceroute is not designed to check the subnet configurations and then, it thinks that you have more network interfaces on the same network segment.&lt;BR /&gt;&lt;BR /&gt;I saw this problem on another posts and the solution suggested is to use the -i parameter.</description>
      <pubDate>Tue, 27 Jun 2006 14:48:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/traceroute-uses-wrong-interface/m-p/3813555#M548252</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-06-27T14:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: traceroute uses wrong interface</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/traceroute-uses-wrong-interface/m-p/3813556#M548253</link>
      <description>See this patch:&lt;BR /&gt;&lt;BR /&gt;PHNE_34135&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www2.itrc.hp.com/service/patch/patchDetail.do?patchid=PHNE_34135&amp;amp;sel={hpux:11.11,}&amp;amp;BC=main" target="_blank"&gt;http://www2.itrc.hp.com/service/patch/patchDetail.do?patchid=PHNE_34135&amp;amp;sel={hpux:11.11,}&amp;amp;BC=main&lt;/A&gt;|search|&lt;BR /&gt;&lt;BR /&gt;( SR:8606356802 CR:JAGaf17502 )&lt;BR /&gt;&lt;BR /&gt;When neither '-i' nor '-s' option is specified, traceroute(1) uses the first interface address returned in the IP header of the outgoing probe packet without referring to the routing table. As a result, the response to this probe packet may not reach the host in case of a multihomed host.</description>
      <pubDate>Tue, 27 Jun 2006 14:54:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/traceroute-uses-wrong-interface/m-p/3813556#M548253</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-06-27T14:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: traceroute uses wrong interface</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/traceroute-uses-wrong-interface/m-p/3813557#M548254</link>
      <description>This drove our networking folks nutts when we went from 11.0 to 11.11.&lt;BR /&gt;&lt;BR /&gt;You can write a script that does a netstat -rn and looks for the default route. &lt;BR /&gt;&lt;BR /&gt;netstat -i $(netstat -rn|grep ^default |awk '{print $5}') MACADD</description>
      <pubDate>Tue, 27 Jun 2006 16:12:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/traceroute-uses-wrong-interface/m-p/3813557#M548254</guid>
      <dc:creator>Josiah Henline</dc:creator>
      <dc:date>2006-06-27T16:12:51Z</dc:date>
    </item>
  </channel>
</rss>

