<?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: Unwanted Route Added when using ifconfig in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/unwanted-route-added-when-using-ifconfig/m-p/3625911#M557779</link>
    <description>I had a similar problem.  Two cards on the&lt;BR /&gt;same subnet.  One to handle local traffic,&lt;BR /&gt;and the other remote traffic.  &lt;BR /&gt;&lt;BR /&gt;The resultion that worked for me was to define&lt;BR /&gt;the subnet for the traffic handling local&lt;BR /&gt;traffic to be smaller than the subnet &lt;BR /&gt;for the other card.  &lt;BR /&gt;&lt;BR /&gt;The matching algorithm uses the route with the&lt;BR /&gt;most number of bits in the mask.  Don't try&lt;BR /&gt;to route the same subnet through both cards.&lt;BR /&gt;It doesn't work.  Use more specific subnets.&lt;BR /&gt;You can nest a smaller subnet inside another.</description>
    <pubDate>Wed, 14 Sep 2005 10:24:51 GMT</pubDate>
    <dc:creator>Bill Thorsteinson</dc:creator>
    <dc:date>2005-09-14T10:24:51Z</dc:date>
    <item>
      <title>Unwanted Route Added when using ifconfig</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unwanted-route-added-when-using-ifconfig/m-p/3625909#M557777</link>
      <description>We are doing some testing with seperating out specific network traffic between 2 network cards on the same subnet (I know that this may not be "best practice" but please bear with me).&lt;BR /&gt;&lt;BR /&gt;This is our routing table before we bring up the "testing" network card:&lt;BR /&gt;&lt;BR /&gt;wcores06     [/root]&lt;BR /&gt;# netstat -rn&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;10.10.102.71          10.10.102.71       UH        0  lan2       4136&lt;BR /&gt;10.10.0.82            10.10.0.82         UH        0  lan1       4136&lt;BR /&gt;10.10.6.200           10.10.6.200        UH        0  lan1:1     4136&lt;BR /&gt;192.168.100.6         192.168.100.6      UH        0  lan0       4136&lt;BR /&gt;10.10.0.0             10.10.0.82         U         3  lan1       1500&lt;BR /&gt;10.10.0.0             10.10.6.200        U         3  lan1:1     1500&lt;BR /&gt;192.168.0.0           192.168.100.6      U         2  lan0       1500&lt;BR /&gt;127.0.0.0             127.0.0.1          U         0  lo0           0&lt;BR /&gt;default               10.10.0.1          UG        0  lan1          0&lt;BR /&gt;&lt;BR /&gt;When we bring up lan2 (the testing card) it places a route to 10.10.0.0 going through lan2 as you can see below:&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;10.10.102.71          10.10.102.71       UH        0  lan2       4136&lt;BR /&gt;10.10.0.82            10.10.0.82         UH        0  lan1       4136&lt;BR /&gt;10.10.6.200           10.10.6.200        UH        0  lan1:1     4136&lt;BR /&gt;192.168.100.6         192.168.100.6      UH        0  lan0       4136&lt;BR /&gt;10.10.0.0             10.10.102.71       U         2  lan2       1500&lt;BR /&gt;10.10.0.0             10.10.0.82         U         3  lan1       1500&lt;BR /&gt;10.10.0.0             10.10.6.200        U         3  lan1:1     1500&lt;BR /&gt;192.168.0.0           192.168.100.6      U         2  lan0       1500&lt;BR /&gt;127.0.0.0             127.0.0.1          U         0  lo0           0&lt;BR /&gt;default               10.10.0.1          UG        0  lan1          0&lt;BR /&gt;&lt;BR /&gt;Since this is added as a higher priority then lan1 all network traffic goes out of lan2 and it messes with some applications like NIS.&lt;BR /&gt;&lt;BR /&gt;Is there a way to specify with ifconfig (or anything else) to have this route added with a lower priority or not at all??&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Ty</description>
      <pubDate>Wed, 14 Sep 2005 09:37:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unwanted-route-added-when-using-ifconfig/m-p/3625909#M557777</guid>
      <dc:creator>Ty Roberts</dc:creator>
      <dc:date>2005-09-14T09:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Unwanted Route Added when using ifconfig</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unwanted-route-added-when-using-ifconfig/m-p/3625910#M557778</link>
      <description>With ifconfig, you can specify a gateway. That might alter your results a bit.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 14 Sep 2005 10:10:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unwanted-route-added-when-using-ifconfig/m-p/3625910#M557778</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-09-14T10:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: Unwanted Route Added when using ifconfig</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unwanted-route-added-when-using-ifconfig/m-p/3625911#M557779</link>
      <description>I had a similar problem.  Two cards on the&lt;BR /&gt;same subnet.  One to handle local traffic,&lt;BR /&gt;and the other remote traffic.  &lt;BR /&gt;&lt;BR /&gt;The resultion that worked for me was to define&lt;BR /&gt;the subnet for the traffic handling local&lt;BR /&gt;traffic to be smaller than the subnet &lt;BR /&gt;for the other card.  &lt;BR /&gt;&lt;BR /&gt;The matching algorithm uses the route with the&lt;BR /&gt;most number of bits in the mask.  Don't try&lt;BR /&gt;to route the same subnet through both cards.&lt;BR /&gt;It doesn't work.  Use more specific subnets.&lt;BR /&gt;You can nest a smaller subnet inside another.</description>
      <pubDate>Wed, 14 Sep 2005 10:24:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unwanted-route-added-when-using-ifconfig/m-p/3625911#M557779</guid>
      <dc:creator>Bill Thorsteinson</dc:creator>
      <dc:date>2005-09-14T10:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Unwanted Route Added when using ifconfig</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unwanted-route-added-when-using-ifconfig/m-p/3625912#M557780</link>
      <description>If you configure 2 NICs in 1 system on the same subnet you will have a lot of trouble.&lt;BR /&gt;This can't work at all. &lt;BR /&gt;You have to use different subnets!</description>
      <pubDate>Wed, 14 Sep 2005 11:10:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unwanted-route-added-when-using-ifconfig/m-p/3625912#M557780</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2005-09-14T11:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: Unwanted Route Added when using ifconfig</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unwanted-route-added-when-using-ifconfig/m-p/3625913#M557781</link>
      <description>try to use the command /etc/route to add or delete the entry&lt;BR /&gt;&lt;BR /&gt;route [-f] [-n] [-p pmtu] add [net|host] destination [netmask mask] gateway [count]&lt;BR /&gt;&lt;BR /&gt;route [-f] [-n] delete [net|host] destination&lt;BR /&gt;[netmask mask] gateway [count]</description>
      <pubDate>Wed, 14 Sep 2005 21:37:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unwanted-route-added-when-using-ifconfig/m-p/3625913#M557781</guid>
      <dc:creator>Matthew_50</dc:creator>
      <dc:date>2005-09-14T21:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: Unwanted Route Added when using ifconfig</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unwanted-route-added-when-using-ifconfig/m-p/3625914#M557782</link>
      <description>Bill, your solution got me exactly what I was looking for.  Thanks so much everyone for their input.</description>
      <pubDate>Thu, 15 Sep 2005 10:41:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unwanted-route-added-when-using-ifconfig/m-p/3625914#M557782</guid>
      <dc:creator>Ty Roberts</dc:creator>
      <dc:date>2005-09-15T10:41:31Z</dc:date>
    </item>
  </channel>
</rss>

