<?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 problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ip-routing-problem/m-p/2804398#M582633</link>
    <description>Oops, typo:&lt;BR /&gt;Host name redbirda0's IP address should be x1.x2.x3.x4, the second network interface of redbirda.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;Jerry Shen</description>
    <pubDate>Wed, 11 Sep 2002 15:41:48 GMT</pubDate>
    <dc:creator>Jerry Shen_1</dc:creator>
    <dc:date>2002-09-11T15:41:48Z</dc:date>
    <item>
      <title>ip routing problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ip-routing-problem/m-p/2804397#M582632</link>
      <description>Please help:&lt;BR /&gt;&lt;BR /&gt;I have an ip routing problem.&lt;BR /&gt; &lt;BR /&gt;On redbirda:&lt;BR /&gt;First network interface (lan0): &lt;BR /&gt; Private network: 192.168.254.0/24. &lt;BR /&gt; IP: 192.168.254.201.&lt;BR /&gt;Second network interface (lan0:1): &lt;BR /&gt; external network: x1.x2.0.0/16. It's IP address is x1.x2.x3.x4. (Sorry, I have to hide the real ip address)&lt;BR /&gt; Default dateway for redbirda is an external router: x1.x2.0.1.&lt;BR /&gt;&lt;BR /&gt;From redbirda, ping always works, either x1.x2.0.0 network or internet. &lt;BR /&gt;&lt;BR /&gt;===================================&lt;BR /&gt;#redbirda : / (root) # netstat -rn&lt;BR /&gt;Routing tables&lt;BR /&gt;Dest/Netmask          Gateway            Flags  Refs       Use  Interface  Pmtu&lt;BR /&gt;127.0.0.1             127.0.0.1          UH       0       1791  lo0        4136&lt;BR /&gt;x1.x2.X3.x4           x1.x2.X3.x4  UH       0    2776532  lan0:1     4136&lt;BR /&gt;192.168.254.201       192.168.254.201    UH       0    2750673  lan0       4136&lt;BR /&gt;192.168.254.0         192.168.254.201    U        3          0  lan0       1500&lt;BR /&gt;x1.x2.0.0             x1.x2.x3.x4        U        3          0  lan0:1     1500&lt;BR /&gt;127.0.0.0             127.0.0.1          U        0          0  lo0        4136&lt;BR /&gt;default               x1.x2.0.1          UG       0          0  lan0:1     1500&lt;BR /&gt;===================================&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;On redbirdb:&lt;BR /&gt;Network interface (lan0): &lt;BR /&gt; Private network: 192.168.254.0/24. &lt;BR /&gt; IP: 192.168.254.202.&lt;BR /&gt; Default gateway: redbirda(192.168.254.201). &lt;BR /&gt;&lt;BR /&gt;From redbirdb, ping redbirda0(x1.x2.x4.x4) sucessful.&lt;BR /&gt;From redbirdb, ping other x1.x2.0.0 IP will fail. TraceRoute will stop at redbirda.&lt;BR /&gt;For example: linkloop to x1.x2.0.1 return OK from redbirdb, but ping failed.  &lt;BR /&gt;&lt;BR /&gt;===================================&lt;BR /&gt;#redbirdb : / (root) # netstat -rn&lt;BR /&gt;Routing tables&lt;BR /&gt;Dest/Netmask          Gateway            Flags  Refs       Use  Interface  Pmtu&lt;BR /&gt;127.0.0.1             127.0.0.1          UH       0       6952  lo0        4136&lt;BR /&gt;192.168.254.202       192.168.254.202    UH       0    2186416  lan0       4136&lt;BR /&gt;192.168.254.0         192.168.254.202    U        2          0  lan0       1500&lt;BR /&gt;127.0.0.0             127.0.0.1          U        0          0  lo0        4136&lt;BR /&gt;default               192.168.254.201    UG       0          0  lan0       1500&lt;BR /&gt;===================================&lt;BR /&gt;&lt;BR /&gt;How can I configure redbirda and redbirdb so that redbirdb (and similar nodes) is able to ping x1.x2.0.0 network and internet?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;Jerry Shen</description>
      <pubDate>Wed, 11 Sep 2002 15:34:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ip-routing-problem/m-p/2804397#M582632</guid>
      <dc:creator>Jerry Shen_1</dc:creator>
      <dc:date>2002-09-11T15:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: ip routing problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ip-routing-problem/m-p/2804398#M582633</link>
      <description>Oops, typo:&lt;BR /&gt;Host name redbirda0's IP address should be x1.x2.x3.x4, the second network interface of redbirda.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;Jerry Shen</description>
      <pubDate>Wed, 11 Sep 2002 15:41:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ip-routing-problem/m-p/2804398#M582633</guid>
      <dc:creator>Jerry Shen_1</dc:creator>
      <dc:date>2002-09-11T15:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: ip routing problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ip-routing-problem/m-p/2804399#M582634</link>
      <description>Hi Jerry&lt;BR /&gt;&lt;BR /&gt;Add a route to that network via the gateway then a permanent entry in the netconf file&lt;BR /&gt;&lt;BR /&gt;route add &lt;IP&gt; &lt;NETMASK&gt; &lt;GATEWAY&gt;&lt;BR /&gt;&lt;BR /&gt;Your netconf entry&lt;BR /&gt;&lt;BR /&gt;ROUTE_DESTINATION[1]="net &lt;NETWORK address=""&gt;"&lt;BR /&gt;ROUTE_MASK[1]=""&lt;BR /&gt;ROUTE_GATEWAY[1]=&lt;GATEWAY&gt;&lt;BR /&gt;ROUTE_COUNT[1]=1&lt;BR /&gt;ROUTE_ARGS[1]=""&lt;BR /&gt;&lt;BR /&gt;The numbers in the [ ] go up for each route added&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Steve &lt;BR /&gt;&lt;/GATEWAY&gt;&lt;/NETWORK&gt;&lt;/GATEWAY&gt;&lt;/NETMASK&gt;&lt;/IP&gt;</description>
      <pubDate>Wed, 11 Sep 2002 15:45:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ip-routing-problem/m-p/2804399#M582634</guid>
      <dc:creator>steven Burgess_2</dc:creator>
      <dc:date>2002-09-11T15:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: ip routing problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ip-routing-problem/m-p/2804400#M582635</link>
      <description>Have you tried adding a route to redbirda from 192.168.254.201 to network x1.x2.0.0?&lt;BR /&gt;ie. "route add net 192.168.254.201 x1.x2.0.0 1"&lt;BR /&gt;It looks to me that since your default gateway for redbirdb is the 192.168.254.201 interface on redbirda that you would need a route to go from that interface to the x1.x2.0.0 network. You would then want to modify netconf to make this permanent. I'm not certain if this will work in your situation but it's similar to things we have had to do here.&lt;BR /&gt;&lt;BR /&gt;Ray</description>
      <pubDate>Wed, 11 Sep 2002 16:05:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ip-routing-problem/m-p/2804400#M582635</guid>
      <dc:creator>Ray Brewer</dc:creator>
      <dc:date>2002-09-11T16:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: ip routing problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ip-routing-problem/m-p/2804401#M582636</link>
      <description>Steve, Ray:&lt;BR /&gt;&lt;BR /&gt;On redbirda, when I do:&lt;BR /&gt;#redbirda : / (root) # route add net x1.x2.0.0 netmask 255.255.0.0 192.168.254.201 1&lt;BR /&gt;The error massage is:&lt;BR /&gt;add net x1.x2.0.0: gateway 192.168.254.201: Network is unreachable.&lt;BR /&gt;&lt;BR /&gt;I have been trying to add this for a while, but it always gave me the error message.&lt;BR /&gt;&lt;BR /&gt;Please help, thanks.&lt;BR /&gt;&lt;BR /&gt;Jerry Shen&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Sep 2002 18:12:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ip-routing-problem/m-p/2804401#M582636</guid>
      <dc:creator>Jerry Shen_1</dc:creator>
      <dc:date>2002-09-11T18:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: ip routing problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ip-routing-problem/m-p/2804402#M582637</link>
      <description>Hi Jerry&lt;BR /&gt;&lt;BR /&gt;I don't think you can add a route to another network via your own interface&lt;BR /&gt;&lt;BR /&gt;Try from redbirdb&lt;BR /&gt;&lt;BR /&gt;route add net x1.x2.0.0 255.255.0.0 192.168.254.201&lt;BR /&gt;&lt;BR /&gt;What does that return&lt;BR /&gt;&lt;BR /&gt;It will be interesting to see how this works out&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Steve&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Sep 2002 19:18:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ip-routing-problem/m-p/2804402#M582637</guid>
      <dc:creator>steven Burgess_2</dc:creator>
      <dc:date>2002-09-11T19:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: ip routing problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ip-routing-problem/m-p/2804403#M582638</link>
      <description>Steve:&lt;BR /&gt;&lt;BR /&gt;I have done that on redbirdb before. After run {"route add net x1.x2.0.0 netmask 255.255.0.0 192.168.254.201 1"} on redbirdb, the netstat -rn will add:&lt;BR /&gt;&lt;BR /&gt;x1.x2.0.0            192.168.254.201    UG       0          0  lan0       1500&lt;BR /&gt;&lt;BR /&gt;Compare it to the default route:&lt;BR /&gt;&lt;BR /&gt;default               192.168.254.201    UG       0          0  lan0       1500&lt;BR /&gt;&lt;BR /&gt;I think these 2 routes are identical. &lt;BR /&gt;&lt;BR /&gt;By the way, ping x1.x2.0.1 does not work after that as well.&lt;BR /&gt;&lt;BR /&gt;Please help.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;Jerry Shen&lt;BR /&gt;  &lt;BR /&gt;</description>
      <pubDate>Wed, 11 Sep 2002 19:35:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ip-routing-problem/m-p/2804403#M582638</guid>
      <dc:creator>Jerry Shen_1</dc:creator>
      <dc:date>2002-09-11T19:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: ip routing problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ip-routing-problem/m-p/2804404#M582639</link>
      <description>Sorry about that, Try the same route add that I gave you but leave off the route count of 1 at the end.&lt;BR /&gt;&lt;BR /&gt;ie. "route add net x1.x2.0.0 192.168.254.201"&lt;BR /&gt;&lt;BR /&gt;I tested it here and that seems to work.&lt;BR /&gt;&lt;BR /&gt;Ray</description>
      <pubDate>Wed, 11 Sep 2002 20:50:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ip-routing-problem/m-p/2804404#M582639</guid>
      <dc:creator>Ray Brewer</dc:creator>
      <dc:date>2002-09-11T20:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: ip routing problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ip-routing-problem/m-p/2804405#M582640</link>
      <description>Ray:&lt;BR /&gt;&lt;BR /&gt;On redbirda, after:&lt;BR /&gt;    "route add net x1.x2.0.0 192.168.254.201"&lt;BR /&gt;"netstat -rn" adds:&lt;BR /&gt;    x1.x2.0.0            192.168.254.201    U        0          0  lan0       1500&lt;BR /&gt;&lt;BR /&gt;On redbirdb, problem still exists:&lt;BR /&gt;========================&lt;BR /&gt;traceroute to x1.x2.0.1 (x1.x2.0.1), 30 hops max, 20 byte packets&lt;BR /&gt; 1 redbirda (192.168.254.201)                      2 ms    1 ms    1 ms&lt;BR /&gt; 2 * * *&lt;BR /&gt; 3 * * *&lt;BR /&gt;...&lt;BR /&gt;========================&lt;BR /&gt;&lt;BR /&gt;Please help.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;Jerry Shen</description>
      <pubDate>Wed, 11 Sep 2002 21:09:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ip-routing-problem/m-p/2804405#M582640</guid>
      <dc:creator>Jerry Shen_1</dc:creator>
      <dc:date>2002-09-11T21:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: ip routing problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ip-routing-problem/m-p/2804406#M582641</link>
      <description>I replied to this several hours ago but it seems to have gotten lost so please excuse if you suddenly get double posts.&lt;BR /&gt;&lt;BR /&gt;To get redbirda to talk to hosts on the x1 net requires three things:&lt;BR /&gt;&lt;BR /&gt;One:  A default route on redbirda pointing to redbirdb.  This you have.&lt;BR /&gt;&lt;BR /&gt;Two:  IP_Forwarding has to be on on redbirdb.  If it's 11.0 it's on by default but you can check it with:&lt;BR /&gt;&lt;BR /&gt;ndd -get /dev/ip ip_forwarding &lt;BR /&gt;&lt;BR /&gt;You should get 2 as an answer.  Which means it is on if you have 2 or more interfaces.  If you have an earlier version which doesn't use ndd then try &lt;BR /&gt;nettune -l |grep forward&lt;BR /&gt;and see what you get.  I don't have one to play with anymore.&lt;BR /&gt;&lt;BR /&gt;Three:  Requirement one gets us to redbirdb, two gets us through redbirdb to the x1 LAN and its hosts.  We can assume the hosts are getting the packets since redbirdb can ping them.   Now in order to get a reply back the hosts on x1 have to have a route to the 192.168.254.0 network by way of redbirdb's X1 address.  Assuming everyone on X1 uses the router as their default gateway the simplest thing to do this is to add the route to the router.  If it's a Cisco then from enable mode it's simply:&lt;BR /&gt;&lt;BR /&gt;conf t&lt;BR /&gt;ip route 192.168.254.0 255.255.255.0 x1_address_of_redbirdb&lt;BR /&gt;end&lt;BR /&gt;wr me&lt;BR /&gt;&lt;BR /&gt;Now when they get a packet and they want to reply they can send it to the router and he can take care of it for them (actually he will send a redirect to them which will tell them to use the x1_address_of_redbirdb but you won't know the difference).&lt;BR /&gt;&lt;BR /&gt;OK, that will get you to the x1 hosts but you still can't talk to the internet.  In order to get to the internet you need a legal address.  192.168.x.y is a "private" address which is illegal on the internet.  In order to get it to work you have to use Network Address Translation (NAT).  Nat just changes the source address on an outgoing packet to a legal address and does the reverse to the destination address on an incoming packet.  THis fools the internet into letting the packet go out and gives it a way to get back to you.  Since 11.0 does not even offer NAT and most routers do you would be better off letting the router do it for you.  (I understand you can get ipfilter to do this for you.  It's a freeware program but I would have to look up the address - don't have it now tho I did have it for my earlier post.  Curses!)&lt;BR /&gt;&lt;BR /&gt;How you implement it on the router depends on your architecture.  Is there only one host on the 192.168.254 LAN that needs to do this or is there a whole flock of redbirds?  Is it a Cisco router?  Does it's IOS support NAT?&lt;BR /&gt;&lt;BR /&gt;Ron&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Sep 2002 00:22:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ip-routing-problem/m-p/2804406#M582641</guid>
      <dc:creator>Ron Kinner</dc:creator>
      <dc:date>2002-09-12T00:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: ip routing problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ip-routing-problem/m-p/2804407#M582642</link>
      <description>Ron:&lt;BR /&gt;&lt;BR /&gt;I believe you mixed redbirda and redbirdb. Anyway, requirement 1 and 2 are met on redbirda, redbirdb, etc., but the requirement 3: "add a route to the 192.168.254.0" from x1.x2 default gateway is not that easy for me to do. Not even NAT. &lt;BR /&gt;&lt;BR /&gt;This is my own testing private network with 3 hpux 11 boxes (redbirds) in office and try to facilitate the corp's network.&lt;BR /&gt;&lt;BR /&gt;I guess there's no way out if I don't change x1.x2's gateway setting. (:(&lt;BR /&gt;&lt;BR /&gt;Thank you. Also thank Steve and Ray.&lt;BR /&gt;&lt;BR /&gt;Jerry Shen</description>
      <pubDate>Thu, 12 Sep 2002 15:22:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ip-routing-problem/m-p/2804407#M582642</guid>
      <dc:creator>Jerry Shen_1</dc:creator>
      <dc:date>2002-09-12T15:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: ip routing problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ip-routing-problem/m-p/2804408#M582643</link>
      <description>Yes I guess I mixed up the birds.  Sorry.  You get the idea tho.  You can still do 3 by going to the single NIC bird on the x1 network and adding a route back to the single NIC bird on the 192 network.  Then at least the 3 birds can talk.&lt;BR /&gt;&lt;BR /&gt;You can still implement NAT on the dual NIC bird with IPFilter and solve all of your problems.  See the following link:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://cheops.anu.edu.au/~avalon/ipf-mentat.html" target="_blank"&gt;http://cheops.anu.edu.au/~avalon/ipf-mentat.html&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;That seems to assume 11.0.  Don't know what you have or if ipfilter only works with 11.0 but your other alternative is to add a cheap LINUX box to do the NAT for you.  It will need two NICs with a presence on both the x1 and the 192 networks.  It would then become your gateway for the 192 network bird.&lt;BR /&gt;&lt;BR /&gt;Of course you could use a router in the same position.&lt;BR /&gt;&lt;BR /&gt;Ron</description>
      <pubDate>Thu, 12 Sep 2002 18:00:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ip-routing-problem/m-p/2804408#M582643</guid>
      <dc:creator>Ron Kinner</dc:creator>
      <dc:date>2002-09-12T18:00:57Z</dc:date>
    </item>
  </channel>
</rss>

