<?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: adding new route in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-new-route/m-p/3465708#M561928</link>
    <description>Hi appreciate your responses. HP version is 11.00. I am trying to send emails to outside addresses as this box doesn't send emails to outside addresses like yahoo. I was told to point this to two gateways. The gateways belong to some other n/w</description>
    <pubDate>Tue, 18 Jan 2005 17:33:02 GMT</pubDate>
    <dc:creator>Chang_6</dc:creator>
    <dc:date>2005-01-18T17:33:02Z</dc:date>
    <item>
      <title>adding new route</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-new-route/m-p/3465702#M561922</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have two gateway ip addresses. i have to add routes. Can you help?&lt;BR /&gt;&lt;BR /&gt;what is the format?&lt;BR /&gt;&lt;BR /&gt;This machine ip and the gateway ips are different.&lt;BR /&gt;&lt;BR /&gt;Is this how I should add?&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/route &lt;GATEWAY_IP_ADDRESS&gt; 1  ???&lt;/GATEWAY_IP_ADDRESS&gt;</description>
      <pubDate>Tue, 18 Jan 2005 13:29:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-new-route/m-p/3465702#M561922</guid>
      <dc:creator>Chang_6</dc:creator>
      <dc:date>2005-01-18T13:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: adding new route</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-new-route/m-p/3465703#M561923</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Try&lt;BR /&gt;&lt;BR /&gt;route add subnet subnet_gw_ip 1&lt;BR /&gt;&lt;BR /&gt;To make the changes permanent edit the /etc/rc.config.d/netconf file.&lt;BR /&gt;&lt;BR /&gt;also take a look at this thread,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-90147/ch02s04.html#bcfdebbg" target="_blank"&gt;http://docs.hp.com/en/B2355-90147/ch02s04.html#bcfdebbg&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Jan 2005 13:40:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-new-route/m-p/3465703#M561923</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2005-01-18T13:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: adding new route</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-new-route/m-p/3465704#M561924</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Well, no. IF you have a default route already - check with&lt;BR /&gt;netstat -rn&lt;BR /&gt;Then *all* other routes need to be static routes to either hosts or subnets - added as follows:&lt;BR /&gt;&lt;BR /&gt;route add host host_ip_here netmask mask_ip_here_if_needed gateway_ip_here 0&lt;BR /&gt;"Usually" the gateway will be the outbound I/F hence a 0 hop count&lt;BR /&gt;OR&lt;BR /&gt;route add net 111.222.111 netmask mask_ip_here_iff_needed gateway_ip_here 0&lt;BR /&gt;&lt;BR /&gt;Of course all these static routes can be added to the /etc/rc.config/netconf file to be added at every boot.&lt;BR /&gt;You can only have *one* default route so that's why all others must be static.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Tue, 18 Jan 2005 13:41:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-new-route/m-p/3465704#M561924</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2005-01-18T13:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: adding new route</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-new-route/m-p/3465705#M561925</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;All I have is the ip address of gateway. So is this right?&lt;BR /&gt;&lt;BR /&gt;route add host host_ip_here netmask mask_ip_here_if_needed gateway_ip_here 0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;route add host_name_this_machine this_ip netmask gateway_net_mask gateway_ip 0.&lt;BR /&gt;&lt;BR /&gt;How to get gateway netmask?</description>
      <pubDate>Tue, 18 Jan 2005 15:34:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-new-route/m-p/3465705#M561925</guid>
      <dc:creator>Chang_6</dc:creator>
      <dc:date>2005-01-18T15:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: adding new route</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-new-route/m-p/3465706#M561926</link>
      <description>The purpose of a route statement is to tell the machine it can get to a particular subnet or host by first going to a gateway.&lt;BR /&gt;&lt;BR /&gt;If all you know is the gateway's address then there is no point in adding a route.  The question you need to ask yourself (or the owner of the gateway) is where does the gateway know how to go?  If your answer is the Internet and you already have a default route pointing to a gateway that knows how to get to the internet then this can only be a backup route which I don't think is really supported in HPUX unless you are running gated.  Ideally your answer will be: It can go to subnet A.B.C.0 with mask 255.255.255.0 or perhaps subnet 10.0.0.0 with mask  255.0.0.0.  &lt;BR /&gt;&lt;BR /&gt;Note that you will lose your route at the first reboot.  You need to edit /etc/rc.config.d/netconf in order for it to stay.&lt;BR /&gt;&lt;BR /&gt;Which version of HPUX do you have?&lt;BR /&gt;&lt;BR /&gt;Ron&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Jan 2005 15:58:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-new-route/m-p/3465706#M561926</guid>
      <dc:creator>Ron Kinner</dc:creator>
      <dc:date>2005-01-18T15:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: adding new route</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-new-route/m-p/3465707#M561927</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Are you saying that you do not have 2 NICs in this system?&lt;BR /&gt;If not then it will be up to the default gateway to route the traffic to the secondary gateway.&lt;BR /&gt;Normally one has multiple interfaces in the system &amp;amp; what the static routes do is force the traffic out the secondary NIC where a router on that subnet picks up the traffic &amp;amp; moves it along.&lt;BR /&gt;If you do have 2 NICs in the system &amp;amp; let's say these are the assigned IPs&lt;BR /&gt;111.123.111.123 &lt;BR /&gt;123.111.123.111&lt;BR /&gt;And let's say that the default gateway is&lt;BR /&gt;111.123.111.1&lt;BR /&gt;And you're trying to get traffic to the&lt;BR /&gt;123.111.125&lt;BR /&gt;subnet. Then your route statement would be&lt;BR /&gt;route add net 123.111.125 123.111.123.111 0&lt;BR /&gt;In this case no netmask was necessary as the router on the 123.111.123 subnet would route it to the 123.111.125 subnet.&lt;BR /&gt;If the subnets are ganged up into a supernet then you'd have to ask the network admins what netmask you'll need.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Tue, 18 Jan 2005 16:06:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-new-route/m-p/3465707#M561927</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2005-01-18T16:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: adding new route</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-new-route/m-p/3465708#M561928</link>
      <description>Hi appreciate your responses. HP version is 11.00. I am trying to send emails to outside addresses as this box doesn't send emails to outside addresses like yahoo. I was told to point this to two gateways. The gateways belong to some other n/w</description>
      <pubDate>Tue, 18 Jan 2005 17:33:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-new-route/m-p/3465708#M561928</guid>
      <dc:creator>Chang_6</dc:creator>
      <dc:date>2005-01-18T17:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: adding new route</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-new-route/m-p/3465709#M561929</link>
      <description>Sorry if I am troubleing you ...&lt;BR /&gt;&lt;BR /&gt;Are you saying that you do not have 2 NICs in this system?&lt;BR /&gt;If not then it will be up to the default gateway to route the traffic to the secondary gateway.&lt;BR /&gt;Normally one has multiple interfaces in the system &amp;amp; what the static routes do is force the traffic out the secondary NIC where a router on that subnet picks up the traffic &amp;amp; moves it along.&lt;BR /&gt;If you do have 2 NICs in the system &amp;amp; let's say these are the assigned IPs&lt;BR /&gt;111.123.111.123 &lt;BR /&gt;123.111.123.111&lt;BR /&gt;And let's say that the default gateway is&lt;BR /&gt;111.123.111.1&lt;BR /&gt;And you're trying to get traffic to the&lt;BR /&gt;123.111.125&lt;BR /&gt;subnet. Then your route statement would be&lt;BR /&gt;route add net 123.111.125 123.111.123.111 0&lt;BR /&gt;In this case no netmask was necessary as the router on the 123.111.123 subnet would route it to the 123.111.125 subnet.&lt;BR /&gt;If the subnets are ganged up into a supernet then you'd have to ask the network admins what netmask you'll need.&lt;BR /&gt;&lt;BR /&gt;---&lt;BR /&gt;&lt;BR /&gt;And you're trying to get traffic to the&lt;BR /&gt;123.111.125 subnet. &lt;BR /&gt;&lt;BR /&gt;I know the gateway address only. I know that the gateway will link to internet. Is it required to find subnet address?&lt;BR /&gt;&lt;BR /&gt;Please also tell how to check the number of NIC s here.&lt;BR /&gt;&lt;BR /&gt;Please help so that it will solve my problem.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Jan 2005 15:23:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-new-route/m-p/3465709#M561929</guid>
      <dc:creator>Chang_6</dc:creator>
      <dc:date>2005-01-26T15:23:18Z</dc:date>
    </item>
  </channel>
</rss>

