<?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: multiple static routes on one lan and &amp;quot;default&amp;quot; on another in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/multiple-static-routes-on-one-lan-and-quot-default-quot-on/m-p/3503089#M216917</link>
    <description>provided you do not have a [4] indexed route in netconf file (if you do, find the next available index and replace 4s with that) adding the following block to your netconf will give you a permanent route to this 135.21.108.39 ip address from your lan 0&lt;BR /&gt;&lt;BR /&gt;ROUTE_DESTINATION[4]="135.21.108.39"&lt;BR /&gt;ROUTE_MASK[4]=""&lt;BR /&gt;ROUTE_GATEWAY[4]="135.91.20.251"&lt;BR /&gt;ROUTE_COUNT[4]="1"&lt;BR /&gt;ROUTE_ARGS[4]=""&lt;BR /&gt;&lt;BR /&gt;to make this change to take effect, you either need to stop/restart networking, after updating netconf file, by executing&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/net stop&lt;BR /&gt;/sbin/init.d/net start&lt;BR /&gt;&lt;BR /&gt;or you can add the route dynamically (my preferred method) by executing the following command:&lt;BR /&gt;&lt;BR /&gt;route add 135.21.108.39 135.91.20.251 1&lt;BR /&gt;&lt;BR /&gt;one thing though, since the ip address of the gateway, i.e., 135.91.20.251, is quite a bit different from the destination host ip address (135.21.108.39) make sure by talking to your network folks that these two entities can see and talk to each other.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 11 Mar 2005 14:18:32 GMT</pubDate>
    <dc:creator>Mel Burslan</dc:creator>
    <dc:date>2005-03-11T14:18:32Z</dc:date>
    <item>
      <title>multiple static routes on one lan and "default" on another</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multiple-static-routes-on-one-lan-and-quot-default-quot-on/m-p/3503087#M216915</link>
      <description>Here goes,&lt;BR /&gt;&lt;BR /&gt;Is there a way to permanently assign multiple static routes to an interface through /etc/rc.config.d/netconf file? I currently have the following config below. What I'd like to do is add one more route for 135.21.108.39 on lan0 and keep lan3 set default. I know it can be done with route add but is there a way to permanently assign it through netconf file? Otherwise what is the most practical way to config this scenario. &lt;BR /&gt;&lt;BR /&gt;/etc/rc.config.d/netconf entries :&lt;BR /&gt;&lt;BR /&gt;IP_ADDRESS[0]=135.91.18.21&lt;BR /&gt;SUBNET_MASK[0]=255.255.255.0&lt;BR /&gt;INTERFACE_NAME[0]=lan3&lt;BR /&gt;BROADCAST_ADDRESS[0]=135.91.18.255&lt;BR /&gt;INTERFACE_STATE[0]=up&lt;BR /&gt;ROUTE_DESTINATION[0]="default"&lt;BR /&gt;ROUTE_MASK[0]=""&lt;BR /&gt;ROUTE_GATEWAY[0]="135.91.18.251"&lt;BR /&gt;ROUTE_COUNT[0]="1"&lt;BR /&gt;ROUTE_ARGS[0]=""&lt;BR /&gt;&lt;BR /&gt;INTERFACE_NAME[3]=lan0&lt;BR /&gt;IP_ADDRESS[3]=135.91.20.23&lt;BR /&gt;SUBNET_MASK[3]=255.255.255.0&lt;BR /&gt;BROADCAST_ADDRESS[3]=135.91.20.255&lt;BR /&gt;INTERFACE_STATE[3]=up&lt;BR /&gt;DHCP_ENABLE[3]=0&lt;BR /&gt;ROUTE_DESTINATION[3]="net 135.91.20.0"&lt;BR /&gt;ROUTE_MASK[3]=""&lt;BR /&gt;ROUTE_GATEWAY[3]="135.91.20.251"&lt;BR /&gt;ROUTE_COUNT[3]="1"&lt;BR /&gt;ROUTE_ARGS[3]=""&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;netstat -rn :&lt;BR /&gt;&lt;BR /&gt;# /&amp;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;135.91.20.23          135.91.20.23       UH        0  lan0       4136&lt;BR /&gt;135.91.18.21          135.91.18.21       UH        0  lan4       4136&lt;BR /&gt;135.91.20.0           135.91.20.23       U         2  lan0       1500&lt;BR /&gt;135.91.18.0           135.91.18.21       U         2  lan4       1500&lt;BR /&gt;135.91.20.0           135.91.20.251      UG        0  lan0          0&lt;BR /&gt;127.0.0.0             127.0.0.1          U         0  lo0           0&lt;BR /&gt;default               135.91.18.251      UG        0  lan4          0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Fri, 11 Mar 2005 13:26:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multiple-static-routes-on-one-lan-and-quot-default-quot-on/m-p/3503087#M216915</guid>
      <dc:creator>Vanja</dc:creator>
      <dc:date>2005-03-11T13:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: multiple static routes on one lan and "default" on another</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multiple-static-routes-on-one-lan-and-quot-default-quot-on/m-p/3503088#M216916</link>
      <description>You are on the right track. Add the additional array member (using the next subscript) describing the new route to the netconf file. This file takes care of subsequent reboots of the box but does not do anything about the currently running configuration. You need to do an explicit "route add" command now and then the netconf entries take care of assigning the routes in future reboot cycles automatically. Your entries in netconf simply are arguments for the route command executed by the rc scripts.</description>
      <pubDate>Fri, 11 Mar 2005 13:54:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multiple-static-routes-on-one-lan-and-quot-default-quot-on/m-p/3503088#M216916</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-03-11T13:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: multiple static routes on one lan and "default" on another</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multiple-static-routes-on-one-lan-and-quot-default-quot-on/m-p/3503089#M216917</link>
      <description>provided you do not have a [4] indexed route in netconf file (if you do, find the next available index and replace 4s with that) adding the following block to your netconf will give you a permanent route to this 135.21.108.39 ip address from your lan 0&lt;BR /&gt;&lt;BR /&gt;ROUTE_DESTINATION[4]="135.21.108.39"&lt;BR /&gt;ROUTE_MASK[4]=""&lt;BR /&gt;ROUTE_GATEWAY[4]="135.91.20.251"&lt;BR /&gt;ROUTE_COUNT[4]="1"&lt;BR /&gt;ROUTE_ARGS[4]=""&lt;BR /&gt;&lt;BR /&gt;to make this change to take effect, you either need to stop/restart networking, after updating netconf file, by executing&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/net stop&lt;BR /&gt;/sbin/init.d/net start&lt;BR /&gt;&lt;BR /&gt;or you can add the route dynamically (my preferred method) by executing the following command:&lt;BR /&gt;&lt;BR /&gt;route add 135.21.108.39 135.91.20.251 1&lt;BR /&gt;&lt;BR /&gt;one thing though, since the ip address of the gateway, i.e., 135.91.20.251, is quite a bit different from the destination host ip address (135.21.108.39) make sure by talking to your network folks that these two entities can see and talk to each other.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Mar 2005 14:18:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multiple-static-routes-on-one-lan-and-quot-default-quot-on/m-p/3503089#M216917</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2005-03-11T14:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: multiple static routes on one lan and "default" on another</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multiple-static-routes-on-one-lan-and-quot-default-quot-on/m-p/3503090#M216918</link>
      <description>Thanks for the input - helps a lot when you can talk to people that really know their stuff!&lt;BR /&gt;&lt;BR /&gt;Vanja</description>
      <pubDate>Fri, 11 Mar 2005 16:26:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multiple-static-routes-on-one-lan-and-quot-default-quot-on/m-p/3503090#M216918</guid>
      <dc:creator>Vanja</dc:creator>
      <dc:date>2005-03-11T16:26:23Z</dc:date>
    </item>
  </channel>
</rss>

