<?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: netconf question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/netconf-question/m-p/3059199#M575119</link>
    <description>Hi&lt;BR /&gt;&lt;BR /&gt;It is fairly straight forward to add multiple routes, however as Steven said you cannot have 2 default gateways.  The normal setup is to have 1 default gateway where all traffic that is not destined for your local network is sent. &lt;BR /&gt;If you have multiple NICs you can configure additional routes.  &lt;BR /&gt;&lt;BR /&gt;Let's assume you use 10.151.1.254 as your default gateway so that all traffic not destined for 10.151.1.0 or 192.168.3.0 network will be sent to the 10.151.1.254 gateway.&lt;BR /&gt;You netconf entry should be as follows:&lt;BR /&gt;ROUTE_DESTINATION[0]=default &lt;BR /&gt;ROUTE_MASK[0]="" &lt;BR /&gt;ROUTE_GATEWAY[0]=10.151.1.254 &lt;BR /&gt;ROUTE_COUNT[0]=1 &lt;BR /&gt;ROUTE_ARGS[0]="" &lt;BR /&gt;&lt;BR /&gt;Now suppose you want to add a route to the 192.168.2.0 network that is reachable from the 192.168.3.254 gateway, you would add another entry to netconf as follows:&lt;BR /&gt;ROUTE_DESTINATION[1]="net 192.168.2.0" &lt;BR /&gt;ROUTE_MASK[1]="255.255.255.0" &lt;BR /&gt;ROUTE_GATEWAY[1]=192.168.3.254 &lt;BR /&gt;ROUTE_COUNT[1]=1 &lt;BR /&gt;ROUTE_ARGS[1]="" &lt;BR /&gt;&lt;BR /&gt;You can add multiple routes to different networks in this way but it does get complicated.  It is far simpler to use one default gateway where all non local network traffic is forwarded and for that gateway to have the rules in place to be able to forward all traffic to the relevant network.   &lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Con &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 29 Aug 2003 03:42:26 GMT</pubDate>
    <dc:creator>Con O'Kelly</dc:creator>
    <dc:date>2003-08-29T03:42:26Z</dc:date>
    <item>
      <title>netconf question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/netconf-question/m-p/3059196#M575116</link>
      <description>I have tree nics, two are in the network (10.151.1.0/24 gateway=10.151.1.254) and the other in the network (192.168.3.0/24 gateway=192.168.3.254).&lt;BR /&gt;I have a router for subnet, How i can that the second gateway=192.168.3.254 work? &lt;BR /&gt;This netconf is right?&lt;BR /&gt;&lt;BR /&gt;HOSTNAME="HP9000"&lt;BR /&gt;OPERATING_SYSTEM=HP-UX&lt;BR /&gt;LOOPBACK_ADDRESS=127.0.0.1&lt;BR /&gt;&lt;BR /&gt;INTERFACE_NAME[0]="lan4"&lt;BR /&gt;IP_ADDRESS[0]="10.151.1.10"&lt;BR /&gt;SUBNET_MASK[0]=255.255.255.0&lt;BR /&gt;BROADCAST_ADDRESS[0]=""&lt;BR /&gt;INTERFACE_STATE[0]="up"&lt;BR /&gt;DHCP_ENABLE[0]=0&lt;BR /&gt;&lt;BR /&gt;INTERFACE_NAME[1]=lan4&lt;BR /&gt;IP_ADDRESS[1]=10.151.1.11&lt;BR /&gt;SUBNET_MASK[1]=255.255.255.0&lt;BR /&gt;BROADCAST_ADDRESS[1]=10.151.1.255&lt;BR /&gt;INTERFACE_STATE[1]=up&lt;BR /&gt;DHCP_ENABLE[1]=0&lt;BR /&gt;&lt;BR /&gt;ROUTE_DESTINATION[0]=default&lt;BR /&gt;ROUTE_MASK[0]=""&lt;BR /&gt;ROUTE_GATEWAY[0]=10.151.1.254&lt;BR /&gt;ROUTE_COUNT[0]=1&lt;BR /&gt;ROUTE_ARGS[0]=""&lt;BR /&gt;&lt;BR /&gt;ROUTE_DESTINATION[1]=default&lt;BR /&gt;ROUTE_MASK[1]=""&lt;BR /&gt;ROUTE_GATEWAY[1]=192.168.3.254&lt;BR /&gt;ROUTE_COUNT[1]=1&lt;BR /&gt;ROUTE_ARGS[1]=""&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks for the help&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Aug 2003 18:54:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/netconf-question/m-p/3059196#M575116</guid>
      <dc:creator>Jimbo04</dc:creator>
      <dc:date>2003-08-28T18:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: netconf question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/netconf-question/m-p/3059197#M575117</link>
      <description>I don't think you can have two default gateways.&lt;BR /&gt;&lt;BR /&gt;I would change....&lt;BR /&gt;&lt;BR /&gt;ROUTE_DESTINATION[1]=default&lt;BR /&gt;ROUTE_MASK[1]=""&lt;BR /&gt;ROUTE_GATEWAY[1]=192.168.3.254&lt;BR /&gt;ROUTE_COUNT[1]=1&lt;BR /&gt;ROUTE_ARGS[1]="" &lt;BR /&gt;&lt;BR /&gt;to:&lt;BR /&gt;&lt;BR /&gt;ROUTE_DESTINATION[1]=192.168.3.0&lt;BR /&gt;ROUTE_MASK[1]=""&lt;BR /&gt;ROUTE_GATEWAY[1]=192.168.3.254&lt;BR /&gt;ROUTE_COUNT[1]=1&lt;BR /&gt;ROUTE_ARGS[1]="" &lt;BR /&gt;&lt;BR /&gt;I'm not sure on that destination, but I know I would not want a system confused with two default gateways.&lt;BR /&gt;&lt;BR /&gt;I might be wrong, remember trying to do this once on the command line and the default gateway kept changing.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 28 Aug 2003 19:01:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/netconf-question/m-p/3059197#M575117</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-08-28T19:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: netconf question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/netconf-question/m-p/3059198#M575118</link>
      <description>Thanks Stevens.&lt;BR /&gt;I try your configuratoion  but the idea is that the two routers work at the same time because they point to diferent networks.&lt;BR /&gt;Then the asignamet.&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Aug 2003 19:13:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/netconf-question/m-p/3059198#M575118</guid>
      <dc:creator>Jimbo04</dc:creator>
      <dc:date>2003-08-28T19:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: netconf question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/netconf-question/m-p/3059199#M575119</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;It is fairly straight forward to add multiple routes, however as Steven said you cannot have 2 default gateways.  The normal setup is to have 1 default gateway where all traffic that is not destined for your local network is sent. &lt;BR /&gt;If you have multiple NICs you can configure additional routes.  &lt;BR /&gt;&lt;BR /&gt;Let's assume you use 10.151.1.254 as your default gateway so that all traffic not destined for 10.151.1.0 or 192.168.3.0 network will be sent to the 10.151.1.254 gateway.&lt;BR /&gt;You netconf entry should be as follows:&lt;BR /&gt;ROUTE_DESTINATION[0]=default &lt;BR /&gt;ROUTE_MASK[0]="" &lt;BR /&gt;ROUTE_GATEWAY[0]=10.151.1.254 &lt;BR /&gt;ROUTE_COUNT[0]=1 &lt;BR /&gt;ROUTE_ARGS[0]="" &lt;BR /&gt;&lt;BR /&gt;Now suppose you want to add a route to the 192.168.2.0 network that is reachable from the 192.168.3.254 gateway, you would add another entry to netconf as follows:&lt;BR /&gt;ROUTE_DESTINATION[1]="net 192.168.2.0" &lt;BR /&gt;ROUTE_MASK[1]="255.255.255.0" &lt;BR /&gt;ROUTE_GATEWAY[1]=192.168.3.254 &lt;BR /&gt;ROUTE_COUNT[1]=1 &lt;BR /&gt;ROUTE_ARGS[1]="" &lt;BR /&gt;&lt;BR /&gt;You can add multiple routes to different networks in this way but it does get complicated.  It is far simpler to use one default gateway where all non local network traffic is forwarded and for that gateway to have the rules in place to be able to forward all traffic to the relevant network.   &lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Con &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 29 Aug 2003 03:42:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/netconf-question/m-p/3059199#M575119</guid>
      <dc:creator>Con O'Kelly</dc:creator>
      <dc:date>2003-08-29T03:42:26Z</dc:date>
    </item>
  </channel>
</rss>

