<?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: force packets to pass through a specified segment in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/force-packets-to-pass-through-a-specified-segment/m-p/3035318#M574397</link>
    <description>First,&lt;BR /&gt;&lt;BR /&gt;Why ask the same question 3 times?  Wont get results any better, and maybe even worse.&lt;BR /&gt;&lt;BR /&gt;Second,&lt;BR /&gt;&lt;BR /&gt;No, you can not force the traffic through a specific NIC as it's either address or router specific.&lt;BR /&gt;&lt;BR /&gt;If your trying to ping something outside of your defined networks, all traffic will go through the default router.&lt;BR /&gt;&lt;BR /&gt;The way that TCP/IP works is very well documented and established.  You may want to pick up a book by O'Reilly and Associates on TCP/IP (the definitive guide).&lt;BR /&gt;&lt;BR /&gt;If you are configured to go through a gateway, you can not take 1 packet type and move it to a different NIC.  It's an all or nothing scenario.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon</description>
    <pubDate>Mon, 28 Jul 2003 19:01:03 GMT</pubDate>
    <dc:creator>Shannon Petry</dc:creator>
    <dc:date>2003-07-28T19:01:03Z</dc:date>
    <item>
      <title>force packets to pass through a specified segment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/force-packets-to-pass-through-a-specified-segment/m-p/3035317#M574396</link>
      <description>I have two NIC's on a hpux box, &lt;BR /&gt;a.b.x.3 &lt;BR /&gt;a.b.y.5 &lt;BR /&gt;&lt;BR /&gt;a.b.x.1 is the the gateway for default, now if I want to ping a destination, and have ping command go through the NIC of a.b.y.5. Can I do that? and how? &lt;BR /&gt;&lt;BR /&gt;Thanks,</description>
      <pubDate>Mon, 28 Jul 2003 18:50:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/force-packets-to-pass-through-a-specified-segment/m-p/3035317#M574396</guid>
      <dc:creator>Hanry Zhou</dc:creator>
      <dc:date>2003-07-28T18:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: force packets to pass through a specified segment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/force-packets-to-pass-through-a-specified-segment/m-p/3035318#M574397</link>
      <description>First,&lt;BR /&gt;&lt;BR /&gt;Why ask the same question 3 times?  Wont get results any better, and maybe even worse.&lt;BR /&gt;&lt;BR /&gt;Second,&lt;BR /&gt;&lt;BR /&gt;No, you can not force the traffic through a specific NIC as it's either address or router specific.&lt;BR /&gt;&lt;BR /&gt;If your trying to ping something outside of your defined networks, all traffic will go through the default router.&lt;BR /&gt;&lt;BR /&gt;The way that TCP/IP works is very well documented and established.  You may want to pick up a book by O'Reilly and Associates on TCP/IP (the definitive guide).&lt;BR /&gt;&lt;BR /&gt;If you are configured to go through a gateway, you can not take 1 packet type and move it to a different NIC.  It's an all or nothing scenario.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon</description>
      <pubDate>Mon, 28 Jul 2003 19:01:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/force-packets-to-pass-through-a-specified-segment/m-p/3035318#M574397</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2003-07-28T19:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: force packets to pass through a specified segment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/force-packets-to-pass-through-a-specified-segment/m-p/3035319#M574398</link>
      <description>You can do it but it's a bit of work.  First you have to add a route to the destination you want to ping and make sure that it points to a gateway on the a.b.y network.  Say you want to reach C.D.E.F and that there is a gateway at a.b.y.254 then you could say something like:&lt;BR /&gt;route add net C.D.E a.b.y.254 1&lt;BR /&gt;(I think that's the right format for HPUX but I'm going from memory here so check your man page for route. You need the 1 so it will know that the gateway is not itself. You might prefer to do a route to a single host then you would have the least impact on other operations) Verify that the route took by doing&lt;BR /&gt;netstat -rn&lt;BR /&gt;&lt;BR /&gt;Now when you ping it will check the routing table and find that the route goes out through a.b.y.5 and it will take that route.  You might want to do &lt;BR /&gt;traceroute C.D.E.F&lt;BR /&gt;instead of a ping.  That will prove that it went the correct way.&lt;BR /&gt;&lt;BR /&gt;When you are finished you will probably want to put it back the way it was with a route delete&lt;BR /&gt;&lt;BR /&gt;Ron</description>
      <pubDate>Tue, 29 Jul 2003 00:34:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/force-packets-to-pass-through-a-specified-segment/m-p/3035319#M574398</guid>
      <dc:creator>Ron Kinner</dc:creator>
      <dc:date>2003-07-29T00:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: force packets to pass through a specified segment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/force-packets-to-pass-through-a-specified-segment/m-p/3035320#M574399</link>
      <description>Shannon,&lt;BR /&gt;&lt;BR /&gt;I did not purposely create 3 same messages.&lt;BR /&gt;&lt;BR /&gt;The web page did not move on to next page when I first time click the "Submit" bottom, so I clicked twice. This caused 2 messages coming up.&lt;BR /&gt;&lt;BR /&gt;After I submit the page, I thought that it might be better to ask the question in "networking" section, in stead of "administration" section. So, I did it again.&lt;BR /&gt;&lt;BR /&gt;Sorry for the confusion, and I learnt the process of sumitting questions.&lt;BR /&gt;&lt;BR /&gt;Anybody else for my question?&lt;BR /&gt;</description>
      <pubDate>Tue, 29 Jul 2003 12:55:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/force-packets-to-pass-through-a-specified-segment/m-p/3035320#M574399</guid>
      <dc:creator>Hanry Zhou</dc:creator>
      <dc:date>2003-07-29T12:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: force packets to pass through a specified segment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/force-packets-to-pass-through-a-specified-segment/m-p/3035321#M574400</link>
      <description>On HPUX the only way it's to define a new route to the host/net you want to reach.&lt;BR /&gt;&lt;BR /&gt;route add host h.o.s.t g.a.t.e&lt;BR /&gt;or&lt;BR /&gt;route add net n.e.t.w m.a.s.k mask g.a.t.e&lt;BR /&gt;&lt;BR /&gt;you'll send the packet tru the corresponding NIC.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 29 Jul 2003 12:59:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/force-packets-to-pass-through-a-specified-segment/m-p/3035321#M574400</guid>
      <dc:creator>Edgar Avila</dc:creator>
      <dc:date>2003-07-29T12:59:56Z</dc:date>
    </item>
  </channel>
</rss>

