<?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 Creating routes in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-routes/m-p/2430367#M2775</link>
    <description>I seem to be unable to create a route using a non-standard gateway (router) to a remote network using the route command.&lt;BR /&gt;&lt;BR /&gt;Default gateway of HP9000 is 132.147.160.178&lt;BR /&gt;Router to be used is 132.147.3.68&lt;BR /&gt;Network to be reached: 10.109.x.x&lt;BR /&gt;&lt;BR /&gt;I have performed the following command:&lt;BR /&gt;route add net 10.109 132.147.3.68 1&lt;BR /&gt;&lt;BR /&gt;The result in Netstat is as follows:&lt;BR /&gt;10.0.0.0  132.147.3.68 UG  0  0  lan3  1500&lt;BR /&gt;&lt;BR /&gt;What I don't understand is why the 10.109 is translated into 10.0.0.0&lt;BR /&gt;Also, when the system is rebooted, the route has to be recreated manually.&lt;BR /&gt;&lt;BR /&gt;I'm obviously doing something wrong hear.&lt;BR /&gt;&lt;BR /&gt;Maarten van Maanen&lt;BR /&gt;Netherlands&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 12 Jul 2000 13:51:49 GMT</pubDate>
    <dc:creator>Maarten van Maanen</dc:creator>
    <dc:date>2000-07-12T13:51:49Z</dc:date>
    <item>
      <title>Creating routes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-routes/m-p/2430367#M2775</link>
      <description>I seem to be unable to create a route using a non-standard gateway (router) to a remote network using the route command.&lt;BR /&gt;&lt;BR /&gt;Default gateway of HP9000 is 132.147.160.178&lt;BR /&gt;Router to be used is 132.147.3.68&lt;BR /&gt;Network to be reached: 10.109.x.x&lt;BR /&gt;&lt;BR /&gt;I have performed the following command:&lt;BR /&gt;route add net 10.109 132.147.3.68 1&lt;BR /&gt;&lt;BR /&gt;The result in Netstat is as follows:&lt;BR /&gt;10.0.0.0  132.147.3.68 UG  0  0  lan3  1500&lt;BR /&gt;&lt;BR /&gt;What I don't understand is why the 10.109 is translated into 10.0.0.0&lt;BR /&gt;Also, when the system is rebooted, the route has to be recreated manually.&lt;BR /&gt;&lt;BR /&gt;I'm obviously doing something wrong hear.&lt;BR /&gt;&lt;BR /&gt;Maarten van Maanen&lt;BR /&gt;Netherlands&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Jul 2000 13:51:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-routes/m-p/2430367#M2775</guid>
      <dc:creator>Maarten van Maanen</dc:creator>
      <dc:date>2000-07-12T13:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: Creating routes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-routes/m-p/2430368#M2776</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;for your second question:&lt;BR /&gt;To add a route permanently edit the /etc/rc.config.d/netconf:&lt;BR /&gt;ROUTE_DESTINATION[1]="net 10.109.0.0"&lt;BR /&gt;ROUTE_MASK[1]=""&lt;BR /&gt;ROUTE_GATEWAY[1]="132.147.3.68"&lt;BR /&gt;ROUTE_COUNT[1]="1"&lt;BR /&gt;ROUTE_ARGS[1]=""&lt;BR /&gt;&lt;BR /&gt;Note: Im my example the routing is indexed with 1, you have to look if you must choose i higher index if you have already routes in there.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Andrew</description>
      <pubDate>Wed, 12 Jul 2000 13:59:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-routes/m-p/2430368#M2776</guid>
      <dc:creator>Andreas Voss</dc:creator>
      <dc:date>2000-07-12T13:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: Creating routes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-routes/m-p/2430369#M2777</link>
      <description>Hi Maarten,&lt;BR /&gt;&lt;BR /&gt;try&lt;BR /&gt;route add net 10.109 netmask 255.255.0.0 132.147.3.68 1 &lt;BR /&gt;&lt;BR /&gt;Good luck&lt;BR /&gt;&lt;BR /&gt;Ruediger&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Jul 2000 14:03:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-routes/m-p/2430369#M2777</guid>
      <dc:creator>Ruediger Noack</dc:creator>
      <dc:date>2000-07-12T14:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: Creating routes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-routes/m-p/2430370#M2778</link>
      <description>Andreas is correct about adding the route to the configuration file for automatic creation at boot time.  The dynamic command I would try is:&lt;BR /&gt;&lt;BR /&gt;route add net 10.109.0.0 netmask 255.255.0.0 132.147.3.68 1 &lt;BR /&gt;</description>
      <pubDate>Wed, 12 Jul 2000 15:01:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-routes/m-p/2430370#M2778</guid>
      <dc:creator>Alan Riggs</dc:creator>
      <dc:date>2000-07-12T15:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: Creating routes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-routes/m-p/2430371#M2779</link>
      <description>The reason that your 10.109 network is being converted to 10.0.0.0 in your routing table is actually quite simple. The 10 network (being a number lower than 128) is defaulted to a class A network and thus only the first octet (10) defines the entire network. If you want to define 10.109 as a class B style network then you need to tell the system this via the netmask of 255.255.0.0 as the others have mentioned. Otherwise the system will assume the Class A netmask of 255.0.0.0 and your routing table will look like 10.0.0.0.&lt;BR /&gt;&lt;BR /&gt;The net result of using the 10.0.0.0 in your routing table will not be a problem as long as every 10 network/subnet that this system will need to reach will go thru the same router/gateway.</description>
      <pubDate>Wed, 12 Jul 2000 16:26:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-routes/m-p/2430371#M2779</guid>
      <dc:creator>Jason Luginbuhl</dc:creator>
      <dc:date>2000-07-12T16:26:35Z</dc:date>
    </item>
  </channel>
</rss>

