<?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 default route on HP UX 10.20 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/default-route-on-hp-ux-10-20/m-p/3272024#M569503</link>
    <description>I recently added a fast ethernet NIC into a HP9000 on HP-UX 10.20. The old NIC is still in the machine but disabled and no longer connected to the network. However, the default route is still linked to the old NIC (lan0). How can I link it to the new one (lan1)? I tried deleting and readding the default route, but netstat -rn still shows that the default route is linked to the old lan0 interface.</description>
    <pubDate>Mon, 10 May 2004 09:17:18 GMT</pubDate>
    <dc:creator>Stijn_3</dc:creator>
    <dc:date>2004-05-10T09:17:18Z</dc:date>
    <item>
      <title>default route on HP UX 10.20</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-route-on-hp-ux-10-20/m-p/3272024#M569503</link>
      <description>I recently added a fast ethernet NIC into a HP9000 on HP-UX 10.20. The old NIC is still in the machine but disabled and no longer connected to the network. However, the default route is still linked to the old NIC (lan0). How can I link it to the new one (lan1)? I tried deleting and readding the default route, but netstat -rn still shows that the default route is linked to the old lan0 interface.</description>
      <pubDate>Mon, 10 May 2004 09:17:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-route-on-hp-ux-10-20/m-p/3272024#M569503</guid>
      <dc:creator>Stijn_3</dc:creator>
      <dc:date>2004-05-10T09:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: default route on HP UX 10.20</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-route-on-hp-ux-10-20/m-p/3272025#M569504</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;change the /etc/rc.config.d/netconf ROUTE_GATEWAY[0]="145.x.3.xxx" to your NIC and gateway.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Mon, 10 May 2004 09:25:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-route-on-hp-ux-10-20/m-p/3272025#M569504</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2004-05-10T09:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: default route on HP UX 10.20</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-route-on-hp-ux-10-20/m-p/3272026#M569505</link>
      <description>Rober, right above, describes how to do it in the netconf file. To change the default route on the fly, use these in this particular order and issue them from the system console, not over a telnet connection as this will terminate your connection to the system:&lt;BR /&gt;&lt;BR /&gt;route delete default a.b.c.d&lt;BR /&gt;&lt;BR /&gt;where a.b.c.d. is your current default router address&lt;BR /&gt;&lt;BR /&gt;route add default w.x.y.z 1&lt;BR /&gt;&lt;BR /&gt;where w.x.y.z is the new default router address that you see from the lan1. The number 1 at the end is necessary if the router is not directly attached to the interface but over a different lan connectivity equipment (a.k.a. hop)&lt;BR /&gt;&lt;BR /&gt;in the poor man's routing a.b.c.d may be the address of the lan0 interface itself and you can use w.x.y.z as lan1 interface's ip address but this is not a good way to do it.&lt;BR /&gt;&lt;BR /&gt;for instance, lets say currently :&lt;BR /&gt;# ifconfig lan0&lt;BR /&gt;lan0: flags=843&lt;UP&gt;&lt;BR /&gt;        inet 14.22.6.8 netmask ffffff00 broadcast 14.22.6.255&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;...&lt;BR /&gt;default               14.22.6.8      UG        0  lan0          0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;and lets assume &lt;BR /&gt;&lt;BR /&gt;# ifconfig lan1:&lt;BR /&gt;lan1: flags=843&lt;UP&gt;&lt;BR /&gt;        inet 14.22.7.8 netmask ffffff00 broadcast 147.22.7.255&lt;BR /&gt;&lt;BR /&gt;in which case your commands would be :&lt;BR /&gt;# route delete default 14.22.6.8&lt;BR /&gt;# route add default 14.22.7.8&lt;BR /&gt;&lt;BR /&gt;without the hop count 1 at the end. but again this is not the preferred way of doing it. Preferred way of doing it is to ask the network admins and get the ip address of the router on this network segment and specify this number as your default route.&lt;BR /&gt;&lt;BR /&gt;hope this helps.&lt;/UP&gt;&lt;/UP&gt;</description>
      <pubDate>Mon, 10 May 2004 09:57:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-route-on-hp-ux-10-20/m-p/3272026#M569505</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2004-05-10T09:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: default route on HP UX 10.20</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-route-on-hp-ux-10-20/m-p/3272027#M569506</link>
      <description>Mel,&lt;BR /&gt;&lt;BR /&gt;I have already tried what you suggested, but no luck. When I delete and add a new default route, it automatically links it to the disabled NIC in the machine, and not to the new one. Below you find the output of netstat -rn. The lan0 is the disabled interface, and the lan1 is the new one.&lt;BR /&gt;&lt;BR /&gt;Destination     Gateway         Flags   Refs     Use  Interface  Pmtu PmtuTime&lt;BR /&gt;10.32.0.5       127.0.0.1       UH         2    2835  lo0        4608&lt;BR /&gt;10.32.0.222     127.0.0.1       UH         0    2856  lo0        4608&lt;BR /&gt;127.0.0.1       127.0.0.1       UH         0    1113  lo0        4608&lt;BR /&gt;default         10.32.0.1       UG         0       0  lan0       1500&lt;BR /&gt;10.32           10.32.0.5       U          6445695298  lan1       1500&lt;BR /&gt;10.32           10.32.0.222     U          0       0  lan0       1500</description>
      <pubDate>Mon, 10 May 2004 10:05:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-route-on-hp-ux-10-20/m-p/3272027#M569506</guid>
      <dc:creator>Stijn_3</dc:creator>
      <dc:date>2004-05-10T10:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: default route on HP UX 10.20</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-route-on-hp-ux-10-20/m-p/3272028#M569507</link>
      <description>could you please include the output from commands &lt;BR /&gt;&lt;BR /&gt;ifconfig lan0&lt;BR /&gt;ifconfig lan1 &lt;BR /&gt;&lt;BR /&gt;Thanks...</description>
      <pubDate>Mon, 10 May 2004 10:33:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-route-on-hp-ux-10-20/m-p/3272028#M569507</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2004-05-10T10:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: default route on HP UX 10.20</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-route-on-hp-ux-10-20/m-p/3272029#M569508</link>
      <description>lan0: flags=862&lt;BROADCAST&gt;&lt;BR /&gt;        inet 10.32.0.222 netmask fffff800 broadcast 10.32.7.255&lt;BR /&gt;# ifconfig lan1&lt;BR /&gt;lan1: flags=863&lt;UP&gt;&lt;BR /&gt;        inet 10.32.0.5 netmask fffff800 broadcast 10.32.7.255&lt;/UP&gt;&lt;/BROADCAST&gt;</description>
      <pubDate>Mon, 10 May 2004 10:38:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-route-on-hp-ux-10-20/m-p/3272029#M569508</guid>
      <dc:creator>Stijn_3</dc:creator>
      <dc:date>2004-05-10T10:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: default route on HP UX 10.20</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-route-on-hp-ux-10-20/m-p/3272030#M569509</link>
      <description>Since you are not using the old NIC, why does it still have an IP address and netmask assigned to it? Remove it from /etc/rc.config.d/netconf file by putting only "" on the IP address, netmask and gateway on lan0. You need to reboot the system after this and when coming up, the system will initialize both NIC, but will assign the default route to the new NIC since that's the only avialble and configured network card on the system.</description>
      <pubDate>Mon, 10 May 2004 10:49:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-route-on-hp-ux-10-20/m-p/3272030#M569509</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2004-05-10T10:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: default route on HP UX 10.20</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-route-on-hp-ux-10-20/m-p/3272031#M569510</link>
      <description>&lt;BR /&gt;If you let hp know about your routing situation, first thing they will tell you is not to put two network interfaces on the same subnet as this will confuse the hell out of routing tables and will result in unpredictable results.&lt;BR /&gt;&lt;BR /&gt;Having said that, I have seen situations similar to yours, work. But again not knowing your network topology, assuming you are going to abandon your lan0 totally, I would suggest to take it down totally, then bring it back up with a dummy address totally different from lan1, then delete the 2 network routes at the bottom of your routing table, then add the default route from your lan1.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.</description>
      <pubDate>Mon, 10 May 2004 10:57:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-route-on-hp-ux-10-20/m-p/3272031#M569510</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2004-05-10T10:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: default route on HP UX 10.20</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-route-on-hp-ux-10-20/m-p/3272032#M569511</link>
      <description>On old lan, do ifconfig lanx 0.0.0.0&lt;BR /&gt;route add default xxxx&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Mon, 10 May 2004 11:01:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-route-on-hp-ux-10-20/m-p/3272032#M569511</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-05-10T11:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: default route on HP UX 10.20</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-route-on-hp-ux-10-20/m-p/3272033#M569512</link>
      <description>Mel,&lt;BR /&gt;&lt;BR /&gt;I did what u suggested, i.e giving a dummy IP to the old NIC. I also put the dummy IP in the /etc/rc.config.d/netconf file. Next, I removed the default route and readded it, and it attached it to the New Nic. Rebooted the machine and everything works fine!&lt;BR /&gt;&lt;BR /&gt;Thanks a million.</description>
      <pubDate>Tue, 11 May 2004 04:18:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-route-on-hp-ux-10-20/m-p/3272033#M569512</guid>
      <dc:creator>Stijn_3</dc:creator>
      <dc:date>2004-05-11T04:18:10Z</dc:date>
    </item>
  </channel>
</rss>

