<?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 Static Virtual IP Address Possible? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/static-virtual-ip-address-possible/m-p/2711051#M587705</link>
    <description>Users access the server application via X-Windows through an IP aliased address. &lt;BR /&gt;The problem: The data being sent goes to the eth0:1 (192.168.1.2) address, but data coming back comes from lan0 (192.168.1.1), thus failing. We are attempting to have 2 IP addresses out of the same nic (ie. IP aliasing... lan0 &amp;amp; lan0:1), but would like to keep the traffic on the 2 IP addresses rather than defaulting back to the primary lan0 one. &lt;BR /&gt;&lt;BR /&gt;Is it possible under HP-UX 10.20 to hard code virtual IP addresses? (ie. if I send to lan0:1, data comes back along the same IP address) &lt;BR /&gt;&lt;BR /&gt;Installing a 2nd NIC nor upgrading to 11.x is NOT an option. &lt;BR /&gt;&lt;BR /&gt;-- M&lt;BR /&gt;</description>
    <pubDate>Thu, 25 Apr 2002 12:44:18 GMT</pubDate>
    <dc:creator>Michael Worsham</dc:creator>
    <dc:date>2002-04-25T12:44:18Z</dc:date>
    <item>
      <title>Static Virtual IP Address Possible?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/static-virtual-ip-address-possible/m-p/2711051#M587705</link>
      <description>Users access the server application via X-Windows through an IP aliased address. &lt;BR /&gt;The problem: The data being sent goes to the eth0:1 (192.168.1.2) address, but data coming back comes from lan0 (192.168.1.1), thus failing. We are attempting to have 2 IP addresses out of the same nic (ie. IP aliasing... lan0 &amp;amp; lan0:1), but would like to keep the traffic on the 2 IP addresses rather than defaulting back to the primary lan0 one. &lt;BR /&gt;&lt;BR /&gt;Is it possible under HP-UX 10.20 to hard code virtual IP addresses? (ie. if I send to lan0:1, data comes back along the same IP address) &lt;BR /&gt;&lt;BR /&gt;Installing a 2nd NIC nor upgrading to 11.x is NOT an option. &lt;BR /&gt;&lt;BR /&gt;-- M&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Apr 2002 12:44:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/static-virtual-ip-address-possible/m-p/2711051#M587705</guid>
      <dc:creator>Michael Worsham</dc:creator>
      <dc:date>2002-04-25T12:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: Static Virtual IP Address Possible?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/static-virtual-ip-address-possible/m-p/2711052#M587706</link>
      <description>Hi Michael,&lt;BR /&gt;&lt;BR /&gt; I assume you have both IP entries in the /etc/rc.config.d/netconf files. Make sure you incremented the index number in there.&lt;BR /&gt;So I would then ask if you have BOTH IP/hostname entries in your name service - be it hosts file/DNS/NIS?&lt;BR /&gt;Do an nslookup on both &amp;amp; by name AND IP.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Thu, 25 Apr 2002 12:57:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/static-virtual-ip-address-possible/m-p/2711052#M587706</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-04-25T12:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: Static Virtual IP Address Possible?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/static-virtual-ip-address-possible/m-p/2711053#M587707</link>
      <description>All that would do is set up the interface - it would not cause it to route with that IP address.&lt;BR /&gt;&lt;BR /&gt;An additional response from the user states: "We have an address Natted for that server now. And as far as I can tell it is working fine."&lt;BR /&gt;&lt;BR /&gt;Is there any other possible option for a static virtual IP address?&lt;BR /&gt;&lt;BR /&gt;-- M&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Apr 2002 14:51:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/static-virtual-ip-address-possible/m-p/2711053#M587707</guid>
      <dc:creator>Michael Worsham</dc:creator>
      <dc:date>2002-04-25T14:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: Static Virtual IP Address Possible?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/static-virtual-ip-address-possible/m-p/2711054#M587708</link>
      <description>Given two IPs, the base IP A.B.C.D and a "virtual IP" A.B.C.E, I think you mean you're trying to get service that comes in on A.B.C.E to go out on A.B.C.E, instead of A.B.C.D.  &lt;BR /&gt;&lt;BR /&gt;If I understand what you're asking, then the answer is, it's up to the application.  &lt;BR /&gt;&lt;BR /&gt;Applications that bind to IPs using INADDR_ANY (like telnetd, rlogin, etc.) can go on A.B.C.E, but response will always look like they're coming from the base IP of the system (A.B.C.D).  Applications that bind to specific IP addresses (e.g. modern web servers, modern sendmail), will speak on the specific IPs you configure.&lt;BR /&gt;&lt;BR /&gt;From what I've seen, most of the X stuff uses INADDR_ANY by default; I'm not sure if you can configure otherwise.</description>
      <pubDate>Thu, 25 Apr 2002 17:44:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/static-virtual-ip-address-possible/m-p/2711054#M587708</guid>
      <dc:creator>Christopher Caldwell</dc:creator>
      <dc:date>2002-04-25T17:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Static Virtual IP Address Possible?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/static-virtual-ip-address-possible/m-p/2711055#M587709</link>
      <description>I've got some experience with the routing table behaviour of the HP-UX implementation so here it goes :&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;the issue you are seeing has nothing to do with applications , it is merely the way the HP routing table is implemented , that is being one interface having 2 entries it will appear twice in the routing , the cable they are working on is physically the same so the machine doesn't differentiate on it , there are merely 2 access point tot he same network  , the HP implementation of a routing table is that when request leave for a certain network the machine will scan it's routing table and go with the first entry in the routing table , despite a second being available with the exact IP the request arrived on if the network reached is the same ... there is no way of getting around this , is this a serious issue for you , normally the reply address isn't that important unless for some security issues</description>
      <pubDate>Fri, 26 Apr 2002 07:19:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/static-virtual-ip-address-possible/m-p/2711055#M587709</guid>
      <dc:creator>sven verhaegen</dc:creator>
      <dc:date>2002-04-26T07:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: Static Virtual IP Address Possible?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/static-virtual-ip-address-possible/m-p/2711056#M587710</link>
      <description>Thanks for all that replied to this message. Here is the response I got from HP support:&lt;BR /&gt;&lt;BR /&gt;Problem: &lt;BR /&gt;Forcing packets to leave out of the same IP or Virtual IP address that it comes in.&lt;BR /&gt;&lt;BR /&gt;Solution: &lt;BR /&gt;The IP stack for 10.20 doesn't allow this because it by default will use the source IP address (real IP address as suppose to a virtual IP address) to send the packet back out.  After discussing with my colleagues the only way it could be done is by socket programming and hard coding the Virtual IP address to be used.&lt;BR /&gt;&lt;BR /&gt;A better solution would be to upgrade the OS to 11.0, which then allows you to force packets out of a particular lan interface or IP address in your case.&lt;BR /&gt;&lt;BR /&gt;[contact info removed]&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Apr 2002 11:51:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/static-virtual-ip-address-possible/m-p/2711056#M587710</guid>
      <dc:creator>Michael Worsham</dc:creator>
      <dc:date>2002-04-26T11:51:30Z</dc:date>
    </item>
  </channel>
</rss>

