<?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: Configure addition route on second NIC in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/configure-addition-route-on-second-nic/m-p/2935448#M577079</link>
    <description>Neither command worked. I am getting bad value netmask and network unreachable. &lt;BR /&gt;&lt;BR /&gt;ANy other suggestions.. this is an HPUX 11i server if it matters.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 25 Mar 2003 20:02:24 GMT</pubDate>
    <dc:creator>Jeremy Loukinas</dc:creator>
    <dc:date>2003-03-25T20:02:24Z</dc:date>
    <item>
      <title>Configure addition route on second NIC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configure-addition-route-on-second-nic/m-p/2935445#M577076</link>
      <description>How do I go about configuring an additional route on a second card. For instance lan0 is 192.168.2.10 with a gateway of 192.168.2.1. lan1 is 172.155.23.2 and needs to have a gateway of 172.155.23.1. How do add a default router for only lan1?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 25 Mar 2003 18:45:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configure-addition-route-on-second-nic/m-p/2935445#M577076</guid>
      <dc:creator>Jeremy Loukinas</dc:creator>
      <dc:date>2003-03-25T18:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: Configure addition route on second NIC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configure-addition-route-on-second-nic/m-p/2935446#M577077</link>
      <description>Hi Jeremy,&lt;BR /&gt;&lt;BR /&gt;There will be only one default gateway on the system as far as my knowledge goes. You will have to use static routes if you want to use the other gateway. For ex., if a network 200.200.200.0 is reachable through your 172.155.23.1, you would need to add the following route&lt;BR /&gt;&lt;BR /&gt;route add net 200.200.200.0 netmask 255.255.255.0 172.155.23.1 1&lt;BR /&gt;&lt;BR /&gt;All the packets destined to 200.200.200.0 network will go through the 23.2 interface. You will need to keep adding as many routes you want. The rest of the traffic will go through the default gateway.&lt;BR /&gt;&lt;BR /&gt;You will need to modify your netconf file to make it permanent. &lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Tue, 25 Mar 2003 18:50:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configure-addition-route-on-second-nic/m-p/2935446#M577077</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-03-25T18:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: Configure addition route on second NIC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configure-addition-route-on-second-nic/m-p/2935447#M577078</link>
      <description>You can add host based or network based routes.  Using "route add" for dynamic adding of routes and editing the file /etc/rc.config.d/netconf for static route adds.  A system can only have one default gateway defined not matter how many network cards are installed.  Here are some examples of dynamic adds:&lt;BR /&gt;&lt;BR /&gt;route add default 192.168.2.10 192.168.2.1&lt;BR /&gt;route add 172.155.0.0 netmask 255.255.0.0 172.155.32.1</description>
      <pubDate>Tue, 25 Mar 2003 18:51:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configure-addition-route-on-second-nic/m-p/2935447#M577078</guid>
      <dc:creator>Ron Cornwell</dc:creator>
      <dc:date>2003-03-25T18:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: Configure addition route on second NIC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configure-addition-route-on-second-nic/m-p/2935448#M577079</link>
      <description>Neither command worked. I am getting bad value netmask and network unreachable. &lt;BR /&gt;&lt;BR /&gt;ANy other suggestions.. this is an HPUX 11i server if it matters.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 25 Mar 2003 20:02:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configure-addition-route-on-second-nic/m-p/2935448#M577079</guid>
      <dc:creator>Jeremy Loukinas</dc:creator>
      <dc:date>2003-03-25T20:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: Configure addition route on second NIC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configure-addition-route-on-second-nic/m-p/2935449#M577080</link>
      <description>Is there a specific host you are trying to get to through your second network card.  First, determine which card will talk with more different hosts.  Then you can set that one up as your default gateway.  You need to specify your own host/network routes.  Do you have a network person at your site that can assist you with that ??</description>
      <pubDate>Tue, 25 Mar 2003 20:58:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configure-addition-route-on-second-nic/m-p/2935449#M577080</guid>
      <dc:creator>Ron Cornwell</dc:creator>
      <dc:date>2003-03-25T20:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: Configure addition route on second NIC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configure-addition-route-on-second-nic/m-p/2935450#M577081</link>
      <description>HPUX allows you to turn on the strong end-system model in ndd (HPUX 10.3 or later) which is what you need if you insist on having a second default gateway dedicated to lan1.  Unfortunately they did not bother to document it anywhere that I can find.  The behavior of the Strong End-System Model is discussed in RFC 1122.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://deesse.univ-lemans.fr:8003/Connected/RFC/1122/62.html" target="_blank"&gt;http://deesse.univ-lemans.fr:8003/Connected/RFC/1122/62.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;ndd -h ip_strong_es_model says:&lt;BR /&gt;&lt;BR /&gt;   Controls support for "Strong End-System Model" described in&lt;BR /&gt;    RFC1122, Section 3.3.4.2. When enabled, packet source addresses&lt;BR /&gt;    (and therefore interfaces on a multihomed host) affect selection&lt;BR /&gt;    of a gateway for outbound packets. Set to 0 to disable; set to 1&lt;BR /&gt;    to enable. [0,1] Default: 0 (disable)  &lt;BR /&gt;&lt;BR /&gt;In order to turn SESM on you have to:&lt;BR /&gt;&lt;BR /&gt;ndd -set /dev/ip ip_strong_es_model 1&lt;BR /&gt;&lt;BR /&gt;or better edit /etc/rc.config.d/nddconf&lt;BR /&gt;to add:&lt;BR /&gt;&lt;BR /&gt;TRANSPORT_NAME[0]=ip&lt;BR /&gt;NDD_NAME[0]=ip_strong_es_model &lt;BR /&gt;NDD_VALUE[0]=1 &lt;BR /&gt;&lt;BR /&gt;so it will stay after a reboot.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If HPUX supports the RFC 1122 then it must allow you to assign two default gateways tho again how you do it is not really well defined.  I suppose it would simply be the same in /etc/rc.config.d/netconf as defining one default so it would look something like this:&lt;BR /&gt;&lt;BR /&gt;ROUTE_DESTINATION[0]="default"&lt;BR /&gt;ROUTE_MASK[0]=""&lt;BR /&gt;ROUTE_GATEWAY[0]="192.168.2.1"&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]="172.155.23.1"&lt;BR /&gt;ROUTE_COUNT[0]="1"&lt;BR /&gt;ROUTE_ARGS[0]=""  &lt;BR /&gt;&lt;BR /&gt;and the Strong ES Model would figure out which one went with which interface based on the IP addresses.&lt;BR /&gt;&lt;BR /&gt;If you do&lt;BR /&gt;&lt;BR /&gt;ndd -set /dev/ip ip_strong_es_model 1&lt;BR /&gt;&lt;BR /&gt;first then you can probably get it to reread the netconf file with:&lt;BR /&gt;&lt;BR /&gt;ined -c&lt;BR /&gt;&lt;BR /&gt;otherwise you would have to reboot.&lt;BR /&gt;&lt;BR /&gt;You can check whether it is working by doing a traceroute to this system from a device on the other side of the Lan1 router.  If the traceroute reports the final address as 172.155.23.2 then it worked if not it will show 192.168.2.10.&lt;BR /&gt;&lt;BR /&gt;Ron&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 25 Mar 2003 23:42:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configure-addition-route-on-second-nic/m-p/2935450#M577081</guid>
      <dc:creator>Ron Kinner</dc:creator>
      <dc:date>2003-03-25T23:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: Configure addition route on second NIC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configure-addition-route-on-second-nic/m-p/2935451#M577082</link>
      <description>I am not sure whether you have the proper subnet value during the route add command for adding the 172.155.23.1 gateway.&lt;BR /&gt;&lt;BR /&gt;Try disabling subnet mask check &lt;BR /&gt;&lt;BR /&gt;ndd -set /dev/ip ip_check_subnet_addr 0</description>
      <pubDate>Wed, 26 Mar 2003 04:31:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configure-addition-route-on-second-nic/m-p/2935451#M577082</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2003-03-26T04:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: Configure addition route on second NIC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configure-addition-route-on-second-nic/m-p/2935452#M577083</link>
      <description>Ok I am going to post exactly what i am trying to do. &lt;BR /&gt;&lt;BR /&gt;I have a server with two interfaces. &lt;BR /&gt;lan0 = 161.155.125.128&lt;BR /&gt;gw = 161.155.125.1&lt;BR /&gt;mask=255.255.255.0&lt;BR /&gt;&lt;BR /&gt;lan1 = 172.20.150.130&lt;BR /&gt;mask 255.255.255.0&lt;BR /&gt;&lt;BR /&gt;There are two hosts withing the 172 segment i am trying to reach 172.21.121.130 and 172.21.207.130. Thos hosts are only reachable via a gw router/firewall @ 172.20.150.1. &lt;BR /&gt;&lt;BR /&gt;Do I just need to add a static route to the other or do I need to do what Ron said and allow the system to be multihomed with multiple gateways. &lt;BR /&gt;&lt;BR /&gt;Jeremy&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Mar 2003 15:44:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configure-addition-route-on-second-nic/m-p/2935452#M577083</guid>
      <dc:creator>Jeremy Loukinas</dc:creator>
      <dc:date>2003-03-26T15:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: Configure addition route on second NIC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configure-addition-route-on-second-nic/m-p/2935453#M577084</link>
      <description>Add the following routes dynamically:&lt;BR /&gt;route add 172.21.121.130 netmask 255.255.255.255 172.20.150.1 1&lt;BR /&gt;route add 172.21.207.130 netmask 255.255.255.255 172.20.150.1 172.20.150.1 1&lt;BR /&gt;&lt;BR /&gt;Add the following to /etc/rc.config.d/netconf to have these routes available after you reboot. "n" is the next number to use in the routing.  Each route must have a unique index number.&lt;BR /&gt;&lt;BR /&gt;ROUTE_DESTINATION[n]="172.21.121.130"&lt;BR /&gt;ROUTE_MASK[n]="255.255.255.255"&lt;BR /&gt;ROUTE_GATEWAY[n]=172.20.150.1 &lt;BR /&gt;ROUTE_COUNT[n]=1&lt;BR /&gt;ROUTE_ARGS[n]=""&lt;BR /&gt;&lt;BR /&gt;ROUTE_DESTINATION[n+1]="172.21.207.130"&lt;BR /&gt;ROUTE_MASK[n+1]="255.255.255.255"&lt;BR /&gt;ROUTE_GATEWAY[n+1]=172.20.150.1 &lt;BR /&gt;ROUTE_COUNT[n+1]=1&lt;BR /&gt;ROUTE_ARGS[n+1]=""</description>
      <pubDate>Wed, 26 Mar 2003 15:56:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configure-addition-route-on-second-nic/m-p/2935453#M577084</guid>
      <dc:creator>Ron Cornwell</dc:creator>
      <dc:date>2003-03-26T15:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Configure addition route on second NIC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configure-addition-route-on-second-nic/m-p/2935454#M577085</link>
      <description>Add the following routes dynamically:&lt;BR /&gt;route add 172.21.121.130 netmask 255.255.255.255 172.20.150.1 1&lt;BR /&gt;route add 172.21.207.130 netmask 255.255.255.255 172.20.150.1 172.20.150.1 1&lt;BR /&gt;&lt;BR /&gt;Add the following to /etc/rc.config.d/netconf to have these routes available after you reboot. "n" is the next number to use in the routing.  Each route must have a unique index number.&lt;BR /&gt;&lt;BR /&gt;ROUTE_DESTINATION[n]="172.21.121.130"&lt;BR /&gt;ROUTE_MASK[n]="255.255.255.255"&lt;BR /&gt;ROUTE_GATEWAY[n]=172.20.150.1 &lt;BR /&gt;ROUTE_COUNT[n]=1&lt;BR /&gt;ROUTE_ARGS[n]=""&lt;BR /&gt;&lt;BR /&gt;ROUTE_DESTINATION[n+1]="172.21.207.130"&lt;BR /&gt;ROUTE_MASK[n+1]="255.255.255.255"&lt;BR /&gt;ROUTE_GATEWAY[n+1]=172.20.150.1 &lt;BR /&gt;ROUTE_COUNT[n+1]=1&lt;BR /&gt;ROUTE_ARGS[n+1]=""</description>
      <pubDate>Wed, 26 Mar 2003 15:57:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configure-addition-route-on-second-nic/m-p/2935454#M577085</guid>
      <dc:creator>Ron Cornwell</dc:creator>
      <dc:date>2003-03-26T15:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: Configure addition route on second NIC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configure-addition-route-on-second-nic/m-p/2935455#M577086</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;In this case, you just need to add two static routes.&lt;BR /&gt;&lt;BR /&gt;route add 172.21.121.130 172.20.150.1 1&lt;BR /&gt;route add 172.21.207.130 172.20.159.1 1&lt;BR /&gt;&lt;BR /&gt;Add the entries like this in your netconf file for each of these routes&lt;BR /&gt;&lt;BR /&gt;ROUTE_DESTINATION[1]="172.21.121.130" &lt;BR /&gt;ROUTE_GATEWAY[1]="172.20.150.1" &lt;BR /&gt;ROUTE_COUNT[1]="1" &lt;BR /&gt;ROUTE_ARGS[1]="" &lt;BR /&gt;&lt;BR /&gt;Repeat the same for the other route with the index number 2.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 26 Mar 2003 16:00:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configure-addition-route-on-second-nic/m-p/2935455#M577086</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-03-26T16:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Configure addition route on second NIC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configure-addition-route-on-second-nic/m-p/2935456#M577087</link>
      <description>testhost:/home/root # route add 172.21.121.130 172.20.150.1 1&lt;BR /&gt;172.21.121.130: bad value&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I tried this first.. Always get a bad value...&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Mar 2003 16:17:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configure-addition-route-on-second-nic/m-p/2935456#M577087</guid>
      <dc:creator>Jeremy Loukinas</dc:creator>
      <dc:date>2003-03-26T16:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: Configure addition route on second NIC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configure-addition-route-on-second-nic/m-p/2935457#M577088</link>
      <description>Ron,&lt;BR /&gt;&lt;BR /&gt;Same thing as other commands.. Bad value BS. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;testhost:/home/root # route add &lt;BR /&gt;172.21.121.130 netmask 255.255.255.255 172.20.150.1 1&lt;BR /&gt;netmask: bad value&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Mar 2003 16:21:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configure-addition-route-on-second-nic/m-p/2935457#M577088</guid>
      <dc:creator>Jeremy Loukinas</dc:creator>
      <dc:date>2003-03-26T16:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: Configure addition route on second NIC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configure-addition-route-on-second-nic/m-p/2935458#M577089</link>
      <description>After disabling subnet checking like TJ said i was able to add the routes.&lt;BR /&gt;&lt;BR /&gt;testhost:/home/root # route add 172.21.121.130 172.20.150.1 1&lt;BR /&gt;add host 172.21.121.130: gateway 172.20.150.1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;testhost:/home/root # route add 172.21.207.130 172.20.150.1 1&lt;BR /&gt;add host 172.21.207.130: gateway 172.20.150.1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;And the addresses are ping-able. What does this tell me? The ip is invalid for that subnet?</description>
      <pubDate>Wed, 26 Mar 2003 16:26:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configure-addition-route-on-second-nic/m-p/2935458#M577089</guid>
      <dc:creator>Jeremy Loukinas</dc:creator>
      <dc:date>2003-03-26T16:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Configure addition route on second NIC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configure-addition-route-on-second-nic/m-p/2935459#M577090</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Try disabling the check_subnet parameter in ndd.&lt;BR /&gt;&lt;BR /&gt;ndd -set /dev/ip ip_check_subnet_addr 0&lt;BR /&gt;&lt;BR /&gt;Edit your /etc/rc.config.d/nddconf&lt;BR /&gt;&lt;BR /&gt;TRANSPORT_NAME[0]=ip &lt;BR /&gt;NDD_NAME[0]= ip_check_subnet_addr &lt;BR /&gt;NDD_VALUE[0]=0 &lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 26 Mar 2003 16:28:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configure-addition-route-on-second-nic/m-p/2935459#M577090</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-03-26T16:28:56Z</dc:date>
    </item>
  </channel>
</rss>

