<?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: How to add a route in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-add-a-route/m-p/4628414#M532458</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Can you post this output&lt;BR /&gt;netstat -in&lt;BR /&gt;netstat -nr&lt;BR /&gt;&lt;BR /&gt;Suraj</description>
    <pubDate>Wed, 05 May 2010 02:41:08 GMT</pubDate>
    <dc:creator>Suraj K Sankari</dc:creator>
    <dc:date>2010-05-05T02:41:08Z</dc:date>
    <item>
      <title>How to add a route</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-add-a-route/m-p/4628410#M532454</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I need to add a route to my servers (HP-UX 11.23) in windows is like this.&lt;BR /&gt;&lt;BR /&gt;route add -p 192.168.100.0 mask 255.255.255.0 192.168.6.12 metric 1&lt;BR /&gt;&lt;BR /&gt;but in HP-UX i dont know how to do it.&lt;BR /&gt;&lt;BR /&gt;Can anybody help me?</description>
      <pubDate>Tue, 04 May 2010 17:53:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-add-a-route/m-p/4628410#M532454</guid>
      <dc:creator>Geyson</dc:creator>
      <dc:date>2010-05-04T17:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a route</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-add-a-route/m-p/4628411#M532455</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;route [-f] [-n] add [net | host] destination gateway [count]&lt;BR /&gt;&lt;BR /&gt;In your example:&lt;BR /&gt;&lt;BR /&gt;route add net 192.168.100.0 255.255.255.0 192.168.6.12 1&lt;BR /&gt;&lt;BR /&gt;Also, you have to add it to file "/etc/rc.config.d/netconf" to not lose it after a reboot&lt;BR /&gt;&lt;BR /&gt;Regards,</description>
      <pubDate>Tue, 04 May 2010 18:04:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-add-a-route/m-p/4628411#M532455</guid>
      <dc:creator>R.O.</dc:creator>
      <dc:date>2010-05-04T18:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a route</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-add-a-route/m-p/4628412#M532456</link>
      <description>There is one HP-UX oddity you should know: the "count" value (known as "metric" in windows) is not actually optional in HP-UX if the route includes a gateway (like yours does).&lt;BR /&gt;&lt;BR /&gt;If count is not specified, HP-UX "route" command will assume it is 0, which makes no sense with gateway routes. As a result, trying to manipulate a gateway route without specifying the count will always fail with a cryptic-looking error message.&lt;BR /&gt;&lt;BR /&gt;The "route" commands of most other OSs have a logic like "if the route entry contains a gateway and count is not specified, assume count=1; else assume count=0."&lt;BR /&gt;&lt;BR /&gt;This little omission has caused much confusion to new HP-UX sysadmins.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Tue, 04 May 2010 19:28:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-add-a-route/m-p/4628412#M532456</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-05-04T19:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a route</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-add-a-route/m-p/4628413#M532457</link>
      <description>Hi i added the route, but when i added it show me the following&lt;BR /&gt;&lt;BR /&gt;--&amp;gt; route add net 192.168.100.0 255.255.255.0 192.168.6.12 1&lt;BR /&gt; &lt;BR /&gt;add net 192.168.100.0: gateway 255.255.255.0: Network is unreachable&lt;BR /&gt;</description>
      <pubDate>Tue, 04 May 2010 19:51:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-add-a-route/m-p/4628413#M532457</guid>
      <dc:creator>Geyson</dc:creator>
      <dc:date>2010-05-04T19:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a route</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-add-a-route/m-p/4628414#M532458</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Can you post this output&lt;BR /&gt;netstat -in&lt;BR /&gt;netstat -nr&lt;BR /&gt;&lt;BR /&gt;Suraj</description>
      <pubDate>Wed, 05 May 2010 02:41:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-add-a-route/m-p/4628414#M532458</guid>
      <dc:creator>Suraj K Sankari</dc:creator>
      <dc:date>2010-05-05T02:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a route</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-add-a-route/m-p/4628415#M532459</link>
      <description>Hi here are the result of -in and -nr attached</description>
      <pubDate>Wed, 05 May 2010 12:29:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-add-a-route/m-p/4628415#M532459</guid>
      <dc:creator>Geyson</dc:creator>
      <dc:date>2010-05-05T12:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a route</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-add-a-route/m-p/4628416#M532460</link>
      <description>You have a single lan (lan1) and all the packets will go through it and the default gateway (192.168.6.1).&lt;BR /&gt;&lt;BR /&gt;Regards,</description>
      <pubDate>Wed, 05 May 2010 12:55:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-add-a-route/m-p/4628416#M532460</guid>
      <dc:creator>R.O.</dc:creator>
      <dc:date>2010-05-05T12:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a route</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-add-a-route/m-p/4628417#M532461</link>
      <description>Hi R.O.,&lt;BR /&gt;&lt;BR /&gt;The thing is that i need to add the another route, &lt;BR /&gt;route add -p 192.168.100.0 mask 255.255.255.0 192.168.6.12 metric 1&lt;BR /&gt;&lt;BR /&gt;net 192.168.100.0&lt;BR /&gt;mask 255.255.255.0&lt;BR /&gt;gateway 192.168.6.12&lt;BR /&gt;&lt;BR /&gt;with the first command that you gave me, is showing me that the network is unrecheable.</description>
      <pubDate>Wed, 05 May 2010 13:24:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-add-a-route/m-p/4628417#M532461</guid>
      <dc:creator>Geyson</dc:creator>
      <dc:date>2010-05-05T13:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a route</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-add-a-route/m-p/4628418#M532462</link>
      <description>&lt;!--!*#--&gt;&amp;gt; Can anybody help me?&lt;BR /&gt;&lt;BR /&gt;It's hard to say.  Define "help".&lt;BR /&gt;&lt;BR /&gt;&amp;gt; route [-f] [-n] add [net | host] destination gateway [count]&lt;BR /&gt;&lt;BR /&gt;I don't see a netmask in there.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; route add net 192.168.100.0 255.255.255.0 192.168.6.12 1&lt;BR /&gt;&lt;BR /&gt;I see a netmask (value) in there.&lt;BR /&gt;&lt;BR /&gt;For an accurate synopsis of the "route"&lt;BR /&gt;command, I'd try:&lt;BR /&gt;&lt;BR /&gt;      man route&lt;BR /&gt;&lt;BR /&gt;I don't have 11.23, but on my 11.11 and 11.31&lt;BR /&gt;systems, that says:&lt;BR /&gt;&lt;BR /&gt;      /usr/sbin/route [-f] [-n] [-p pmtu] add [net|host] destination&lt;BR /&gt;             [netmask mask] gateway [count] [source src]&lt;BR /&gt;&lt;BR /&gt;which suggests that the command might need to&lt;BR /&gt;look more like this:&lt;BR /&gt;&lt;BR /&gt;      route add net 192.168.100.0 netmask 255.255.255.0 192.168.6.12 1&lt;BR /&gt;&lt;BR /&gt;&amp;gt; add net 192.168.100.0: gateway 255.255.255.0: Network is unreachable&lt;BR /&gt;&lt;BR /&gt;"gateway 255.255.255.0" should be a clue.&lt;BR /&gt;Apparently, that "netmask" keyword is&lt;BR /&gt;important when specifying a netmask.</description>
      <pubDate>Wed, 05 May 2010 13:25:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-add-a-route/m-p/4628418#M532462</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-05-05T13:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a route</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-add-a-route/m-p/4628419#M532463</link>
      <description>Hi Steven Schweda,&lt;BR /&gt;&lt;BR /&gt;It work perfectly, yes this keyword is important.&lt;BR /&gt;&lt;BR /&gt;Now i have 2 question, first how can i add this thing in netconf file?.&lt;BR /&gt;&lt;BR /&gt;Second in a server with cluster can i add by the same way?.</description>
      <pubDate>Wed, 05 May 2010 14:17:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-add-a-route/m-p/4628419#M532463</guid>
      <dc:creator>Geyson</dc:creator>
      <dc:date>2010-05-05T14:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a route</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-add-a-route/m-p/4628420#M532464</link>
      <description>&lt;!--!*#--&gt;&amp;gt; It work perfectly [...]&lt;BR /&gt;&lt;BR /&gt;Reading the "man" pages can be helpful.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] how can i add this thing in netconf&lt;BR /&gt;&amp;gt; file?.&lt;BR /&gt;&lt;BR /&gt;Have you looked at the comments in that file?&lt;BR /&gt;I thought that SAM (or what's left of it)&lt;BR /&gt;could manage that file.&lt;BR /&gt;&lt;BR /&gt;On my 11.31 system, SMH (Tools -&amp;gt; Network&lt;BR /&gt;Services Configuration -&amp;gt; Route) seems to do&lt;BR /&gt;this:&lt;BR /&gt;&lt;BR /&gt;      /usr/sam/lbin/samx -C -s route /usr/sam/lib/C/route.ui&lt;BR /&gt;&lt;BR /&gt;whose help seems to say that it does the job.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] cluster [...]&lt;BR /&gt;&lt;BR /&gt;I know almost nothing about HP-UX clusters,&lt;BR /&gt;and I know exactly nothing about yours.</description>
      <pubDate>Wed, 05 May 2010 15:43:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-add-a-route/m-p/4628420#M532464</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-05-05T15:43:18Z</dc:date>
    </item>
  </channel>
</rss>

