<?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: IP Routing on HP-UX 11 Workstation in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ip-routing-on-hp-ux-11-workstation/m-p/3154835#M572602</link>
    <description>Thank you Raulent .&lt;BR /&gt;&lt;BR /&gt;Befor accessing distant machines , I need to build up workstation as gateway . Local R/C provides following document ..&lt;BR /&gt;&lt;BR /&gt;1. &lt;BR /&gt;INTERFACE_NAME[1]=lan1&lt;BR /&gt;IP_ADDRESS[1]="192.0.1.1"&lt;BR /&gt;SUBNET_MASK[1]=""&lt;BR /&gt;BROADCAST_ADDRESS[1]=""&lt;BR /&gt;LANCONFIG_ARGS[1]="ether"&lt;BR /&gt;&lt;BR /&gt;2.&lt;BR /&gt;(/etc/hosts)&lt;BR /&gt;133.0.1.1   hpws1&lt;BR /&gt;192.0.1.1   hpws1-gw&lt;BR /&gt;&lt;BR /&gt;only above are suitable configuration for GW ?&lt;BR /&gt;And also it seems not to work .&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;   &lt;BR /&gt;</description>
    <pubDate>Thu, 01 Jan 2004 18:46:12 GMT</pubDate>
    <dc:creator>Hiroyuki_1</dc:creator>
    <dc:date>2004-01-01T18:46:12Z</dc:date>
    <item>
      <title>IP Routing on HP-UX 11 Workstation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ip-routing-on-hp-ux-11-workstation/m-p/3154833#M572600</link>
      <description>&lt;BR /&gt;A Happy New Year .&lt;BR /&gt;&lt;BR /&gt;I'm new to hp-ux and interested in network . To search , enterd " hp-ux route " in forum search engine and found similar question written in Jan 4, 2002 05:08:20 GMT and titled " IP Routing on HP-UX 11 Servers " . But suspected useful links were obsoleted . Could anybody take a little time to help ? &lt;BR /&gt;&lt;BR /&gt; The Question was below ...&lt;BR /&gt;&lt;BR /&gt; Hi,&lt;BR /&gt;&lt;BR /&gt;We need to multihome HP servers on two separate subnet. One interface is on company intranet, the other one is on its local network. eg. 10.1.1.0 (intranet) and 172.18.1.0&lt;BR /&gt;&lt;BR /&gt;How could I define the routing? Would like to setup default routing to 172.18.1.0.&lt;BR /&gt;We also want some other devices with 10.170.1.0 network IP to reach the server through 10.1.1.0 subenet interface. Right now I had to use "route add host ..." to specify host by host. "route add 10.170.1.0 ..." does not work.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Jan 2004 02:20:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ip-routing-on-hp-ux-11-workstation/m-p/3154833#M572600</guid>
      <dc:creator>Hiroyuki_1</dc:creator>
      <dc:date>2004-01-01T02:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: IP Routing on HP-UX 11 Workstation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ip-routing-on-hp-ux-11-workstation/m-p/3154834#M572601</link>
      <description>Hi,&lt;BR /&gt;I suppose you are subnetting the class A net 10.0.0.0&lt;BR /&gt;&lt;BR /&gt;I suppose your nemask on the 10... is 255.255.255.0&lt;BR /&gt;&lt;BR /&gt;   A   10.1.1.x  --- 10.1.1.y gw10 10.170.1.y&lt;BR /&gt;                                    | &lt;BR /&gt;                              B  10.170.1.z&lt;BR /&gt;if this is the case you must:&lt;BR /&gt;route add net 10.170.1.0 10.1.1.y 1&lt;BR /&gt;or&lt;BR /&gt;route add net 10.0.0.0 10.1.1.y 1&lt;BR /&gt;for all 10.... systems&lt;BR /&gt;&lt;BR /&gt;on b you must know the reversed route using 10.17.1.y&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Jan 2004 05:19:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ip-routing-on-hp-ux-11-workstation/m-p/3154834#M572601</guid>
      <dc:creator>Laurent Menase</dc:creator>
      <dc:date>2004-01-01T05:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: IP Routing on HP-UX 11 Workstation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ip-routing-on-hp-ux-11-workstation/m-p/3154835#M572602</link>
      <description>Thank you Raulent .&lt;BR /&gt;&lt;BR /&gt;Befor accessing distant machines , I need to build up workstation as gateway . Local R/C provides following document ..&lt;BR /&gt;&lt;BR /&gt;1. &lt;BR /&gt;INTERFACE_NAME[1]=lan1&lt;BR /&gt;IP_ADDRESS[1]="192.0.1.1"&lt;BR /&gt;SUBNET_MASK[1]=""&lt;BR /&gt;BROADCAST_ADDRESS[1]=""&lt;BR /&gt;LANCONFIG_ARGS[1]="ether"&lt;BR /&gt;&lt;BR /&gt;2.&lt;BR /&gt;(/etc/hosts)&lt;BR /&gt;133.0.1.1   hpws1&lt;BR /&gt;192.0.1.1   hpws1-gw&lt;BR /&gt;&lt;BR /&gt;only above are suitable configuration for GW ?&lt;BR /&gt;And also it seems not to work .&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;   &lt;BR /&gt;</description>
      <pubDate>Thu, 01 Jan 2004 18:46:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ip-routing-on-hp-ux-11-workstation/m-p/3154835#M572602</guid>
      <dc:creator>Hiroyuki_1</dc:creator>
      <dc:date>2004-01-01T18:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: IP Routing on HP-UX 11 Workstation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ip-routing-on-hp-ux-11-workstation/m-p/3154836#M572603</link>
      <description>Hello Hiroyuki,&lt;BR /&gt;&lt;BR /&gt;could you send the result of&lt;BR /&gt;netstat -nai&lt;BR /&gt;netstat -nrv&lt;BR /&gt;&lt;BR /&gt;from the 2 systems?</description>
      <pubDate>Thu, 01 Jan 2004 18:54:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ip-routing-on-hp-ux-11-workstation/m-p/3154836#M572603</guid>
      <dc:creator>Laurent Menase</dc:creator>
      <dc:date>2004-01-01T18:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: IP Routing on HP-UX 11 Workstation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ip-routing-on-hp-ux-11-workstation/m-p/3154837#M572604</link>
      <description>Thank you Raulent . &lt;BR /&gt;&lt;BR /&gt;I searched interested article for me on forum and actually I don't have such big network on my home and now I'm making an effort to understand how to configure and use hp-ux GW box . I'm sorry I don't understand " netstat from the 2 systems " . &lt;BR /&gt;&lt;BR /&gt;# netstat -nai&lt;BR /&gt;Name      Mtu  Network         Address         Ipkts   Ierrs Opkts   Oerrs Coll&lt;BR /&gt;lan1      1500 192.168.2.0     192.168.2.10    1092    0     1092    0     0   &lt;BR /&gt;lan0      1500 192.168.1.0     192.168.1.22    577775  0     416126  0     0   &lt;BR /&gt;lo0       4136 127.0.0.0       127.0.0.1       85      0     85      0     0   &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# netstat -nrv&lt;BR /&gt;Routing tables&lt;BR /&gt;Dest/Netmask                    Gateway            Flags   Refs Interface  Pmtu&lt;BR /&gt;127.0.0.1/255.255.255.255       127.0.0.1          UH        0  lo0        4136&lt;BR /&gt;192.168.2.10/255.255.255.255    192.168.2.10       UH        0  lan1       4136&lt;BR /&gt;192.168.1.22/255.255.255.255    192.168.1.22       UH        0  lan0       4136&lt;BR /&gt;192.168.1.0/255.255.255.0       192.168.1.22       U         2  lan0       1500&lt;BR /&gt;192.168.2.0/255.255.255.0       192.168.2.10       U         2  lan1       1500&lt;BR /&gt;127.0.0.0/255.0.0.0             127.0.0.1          U         0  lo0           0&lt;BR /&gt;default/0.0.0.0                 192.168.1.1        UG        0  lan0          0&lt;BR /&gt;&lt;BR /&gt;only information I have on my workstation is above and other machines are just PCs or NAPT router .&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Jan 2004 21:00:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ip-routing-on-hp-ux-11-workstation/m-p/3154837#M572604</guid>
      <dc:creator>Hiroyuki_1</dc:creator>
      <dc:date>2004-01-01T21:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: IP Routing on HP-UX 11 Workstation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ip-routing-on-hp-ux-11-workstation/m-p/3154838#M572605</link>
      <description>I think 11.0 has ip forwarding turned on by default but it wouldn't hurt to check.  I don't have access to an HPUX right now but I think&lt;BR /&gt;ndd -get /dev/ip ip_forwarding &lt;BR /&gt;should return 1 if it is on.  If you get 0 then try:&lt;BR /&gt;ndd -set /dev/ip ip_forwarding 1&lt;BR /&gt;and also make the appropriate changes in /etc/rc.config.d/nddconf&lt;BR /&gt;&lt;BR /&gt;Also check that &lt;BR /&gt;ping 192.168.1.1&lt;BR /&gt;works or you will need to turn off dead gateway detection in ndd too.&lt;BR /&gt;&lt;BR /&gt;ndd -set /dev/ip ip_ire_gw_probe 0&lt;BR /&gt;&lt;BR /&gt;and make the same change in nddconf.  You may also need to remove and readd the default with route delete and route add in order to get it to work or reboot.&lt;BR /&gt;&lt;BR /&gt;Assuming you did not need to make any ndd changes then verify that each box on the 192.168.1.x knows that the 192.168.2.x can be reached by going through your HPUX.  All boxes on the 192.168.2.x should use your HPUX as the default gateway.&lt;BR /&gt;&lt;BR /&gt;I expect however that you are going to run into routing and NAT problems if your router is one of the low end boxes.  First, there may not be any way to add a route on the router to tell it about the 192.168.2.x LAN.  Second, any traffic going to the Internet via the router will have to go through the NAT process where it gets a legal address assigned and usually the cheap routers only NAT from a fixed pool of 192.168.1.1-254 so will ignore any 192.168.2.x packets or send them out unchanged where they will be filtered and dropped.&lt;BR /&gt;&lt;BR /&gt;11.0 does not offer native NAT support which is what you would need to fix the problem.  There are programs such as ipfilter which will run on 11.0 which do offer NAT which can.  You should be able to find ipfilter on the web.&lt;BR /&gt;&lt;BR /&gt;Ron&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Jan 2004 07:43:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ip-routing-on-hp-ux-11-workstation/m-p/3154838#M572605</guid>
      <dc:creator>Ron Kinner</dc:creator>
      <dc:date>2004-01-02T07:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: IP Routing on HP-UX 11 Workstation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ip-routing-on-hp-ux-11-workstation/m-p/3154839#M572606</link>
      <description>If you want a given client to access a server on a given IP, either use that IP address directly, or make sure that when the client goes to resolve the server's name to an IP address, it gets the IP address you want.&lt;BR /&gt;&lt;BR /&gt;Indeed HP-UX 11 will "route" by default - ip_forwarding is on by default.  HOWEVER - if you want toe HP-UX system to be used as a router, you have to configure the _other_ systems to know to use it as a router.  It is not enough to just configure things on the HP-UX system.&lt;BR /&gt;&lt;BR /&gt;As for NAT and the like - perhaps the ipfilter HP ships has some "works but not necessarily supported" NAT functionality in it.</description>
      <pubDate>Fri, 02 Jan 2004 14:53:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ip-routing-on-hp-ux-11-workstation/m-p/3154839#M572606</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2004-01-02T14:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: IP Routing on HP-UX 11 Workstation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ip-routing-on-hp-ux-11-workstation/m-p/3154840#M572607</link>
      <description>Thank you very much Laurent , Ron and Rick .&lt;BR /&gt;&lt;BR /&gt; According to your advices , I setup client PCs to use WS's NIC as default gateway and succeeded in pinging together , amazing &lt;G&gt; .&lt;BR /&gt;&lt;BR /&gt; Fortunately my cheap router has adding rotes facility and now every machines can use browser .&lt;BR /&gt;&lt;BR /&gt; And Windows file share was a little bit tricky . I saw some tips mentioned to LMHOSTS but it doesn't work . So I tried " Add network place " wizard and it began working .&lt;BR /&gt;&lt;BR /&gt; I spent happy new year vacation . Hope you will be healthy this year .&lt;BR /&gt;&lt;/G&gt;</description>
      <pubDate>Fri, 02 Jan 2004 22:33:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ip-routing-on-hp-ux-11-workstation/m-p/3154840#M572607</guid>
      <dc:creator>Hiroyuki_1</dc:creator>
      <dc:date>2004-01-02T22:33:18Z</dc:date>
    </item>
  </channel>
</rss>

