<?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: telnet client with source IP option in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-client-with-source-ip-option/m-p/2965619#M710205</link>
    <description>Gary,&lt;BR /&gt;&lt;BR /&gt;Ok, that makes entire good sense.  So do you see how this translate into Bjarne's telnet question? Paritcularly if everything can be accessed by host name.&lt;BR /&gt;&lt;BR /&gt;mark</description>
    <pubDate>Mon, 05 May 2003 12:31:00 GMT</pubDate>
    <dc:creator>Mark Greene_1</dc:creator>
    <dc:date>2003-05-05T12:31:00Z</dc:date>
    <item>
      <title>telnet client with source IP option</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-client-with-source-ip-option/m-p/2965611#M710197</link>
      <description>Does anyone know where to get a telnet client for for HPUX, with which you can telnet from a virtual host and force the client to use a given IP/interface, when telnet'ing to another host? &lt;BR /&gt;&lt;BR /&gt;The issue is, that I have a cluster with many interfaces and even more IP addresses, from which I need to connect to a given host (in this case a switch for management) and the host only accepts one specific IP. &lt;BR /&gt;&lt;BR /&gt;Thank in advance! &lt;BR /&gt;&lt;BR /&gt;Cheers &lt;BR /&gt;&lt;BR /&gt;Bjarne Dein</description>
      <pubDate>Mon, 05 May 2003 11:15:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-client-with-source-ip-option/m-p/2965611#M710197</guid>
      <dc:creator>Bjarne Dein_2</dc:creator>
      <dc:date>2003-05-05T11:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: telnet client with source IP option</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-client-with-source-ip-option/m-p/2965612#M710198</link>
      <description>"and the host only accepts one specific IP. "&lt;BR /&gt;&lt;BR /&gt;Most systems only have one IP address.  This is how connectivity to most systems works.  Or, is the issue that your HP box has 2 NICs and you want to route traffic to a specific host through a specific one?&lt;BR /&gt;&lt;BR /&gt;If so, put the name &amp;amp; IP of the host in question in the /etc/host file on the HP box. Then check the man page for route, and add a route to the second host via whichever Interface you want.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;mark</description>
      <pubDate>Mon, 05 May 2003 11:28:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-client-with-source-ip-option/m-p/2965612#M710198</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2003-05-05T11:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: telnet client with source IP option</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-client-with-source-ip-option/m-p/2965613#M710199</link>
      <description>Hi Mark,&lt;BR /&gt;&lt;BR /&gt;Well there is more to it, than just this.&lt;BR /&gt;&lt;BR /&gt;We have a cluster on which we run a virtual package, from which operators controls and manage all our network equepment (some tusinds!), and they have be set up ONLY to accept ONE ip source address, which is the package.&lt;BR /&gt;&lt;BR /&gt;So I "just" need this telnet client (like in Free BSD) on which I can put an option "-s &lt;SOURCE ip=""&gt;"&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;Bjarne&lt;/SOURCE&gt;</description>
      <pubDate>Mon, 05 May 2003 11:45:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-client-with-source-ip-option/m-p/2965613#M710199</guid>
      <dc:creator>Bjarne Dein_2</dc:creator>
      <dc:date>2003-05-05T11:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: telnet client with source IP option</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-client-with-source-ip-option/m-p/2965614#M710200</link>
      <description>I'm still not seeing it.  Typically this sort of thing is transparent to applications, and is managed through firewalling and routing.  Static routes aren't the prefered method, but it really sounds like that is what you are asking for.  &lt;BR /&gt;&lt;BR /&gt;Is it the telnet out of the HP that you want to speficially direct, or is it really the telnet connection on the sencond host (which sounds like routers and switches from your second posting) that you want to limit as accepting connections from only the HP?&lt;BR /&gt;&lt;BR /&gt;mark</description>
      <pubDate>Mon, 05 May 2003 11:51:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-client-with-source-ip-option/m-p/2965614#M710200</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2003-05-05T11:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: telnet client with source IP option</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-client-with-source-ip-option/m-p/2965615#M710201</link>
      <description>Maybe this will clear it up.  I see the same issue when using MC/ServiceGuard.  Say I have two hosts, one is 1.2.3.4 and the other is 1.2.3.5.  I have packageA which runs as part of the cluster, and it has an IP address of 1.2.3.6.  Now, that package can be on either system, and the users connect to 1.2.3.6.  However, when telneting while logged into that package (1.2.3.6), the IP address listed as the source will be either 1.2.3.4 or 1.2.3.5 depending on which system is playing host to packageA (1.2.3.6).</description>
      <pubDate>Mon, 05 May 2003 12:07:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-client-with-source-ip-option/m-p/2965615#M710201</guid>
      <dc:creator>Gary L. Paveza, Jr.</dc:creator>
      <dc:date>2003-05-05T12:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: telnet client with source IP option</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-client-with-source-ip-option/m-p/2965616#M710202</link>
      <description>Gary,&lt;BR /&gt;&lt;BR /&gt;When you move from one system to the other, do you, as part of the fail-over, change anything in DNS/NIS/host file or change anything in the routing tables to reflect the physical IP change?&lt;BR /&gt;&lt;BR /&gt;mark</description>
      <pubDate>Mon, 05 May 2003 12:15:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-client-with-source-ip-option/m-p/2965616#M710202</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2003-05-05T12:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: telnet client with source IP option</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-client-with-source-ip-option/m-p/2965617#M710203</link>
      <description>No.  The whole idea is that the user should never know you moved.  The users only know the IP address (and name) of the package.  The IP addresses of the servers themselves never change.  The package IP address gets mapped on top of one of the existing LAN cards.   In effect, both the server IP address and the package address can be used to connect to the same server.  /etc/hosts on both systems have correct entries for the package as does the DNS server.  From what I can determine, there is no way to get the server to identify you using the package address - which would be very useful for firewalls, etc.</description>
      <pubDate>Mon, 05 May 2003 12:18:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-client-with-source-ip-option/m-p/2965617#M710203</guid>
      <dc:creator>Gary L. Paveza, Jr.</dc:creator>
      <dc:date>2003-05-05T12:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: telnet client with source IP option</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-client-with-source-ip-option/m-p/2965618#M710204</link>
      <description>All the equipment will only permitted administration from this ONE single IP.&lt;BR /&gt;&lt;BR /&gt;And since they (routers/switches etc.) traces the "wrong" source IP, when telnet'ing from the Operation machine, no one can admin. the equip. anymore.</description>
      <pubDate>Mon, 05 May 2003 12:29:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-client-with-source-ip-option/m-p/2965618#M710204</guid>
      <dc:creator>Bjarne Dein_2</dc:creator>
      <dc:date>2003-05-05T12:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: telnet client with source IP option</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-client-with-source-ip-option/m-p/2965619#M710205</link>
      <description>Gary,&lt;BR /&gt;&lt;BR /&gt;Ok, that makes entire good sense.  So do you see how this translate into Bjarne's telnet question? Paritcularly if everything can be accessed by host name.&lt;BR /&gt;&lt;BR /&gt;mark</description>
      <pubDate>Mon, 05 May 2003 12:31:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-client-with-source-ip-option/m-p/2965619#M710205</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2003-05-05T12:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: telnet client with source IP option</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-client-with-source-ip-option/m-p/2965620#M710206</link>
      <description>I've just talked to HP about it, and they say, that as far as they know, the lowerst IP will act as the source IP...&lt;BR /&gt;&lt;BR /&gt;So if this is true, and the packed "owns" the lowerst IP in that range, it will automatic become the source IP, if it gates through this network/lancard - not bad maybe, I'll try it tomorrow!&lt;BR /&gt;&lt;BR /&gt;Bjarne:-)</description>
      <pubDate>Mon, 05 May 2003 12:40:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-client-with-source-ip-option/m-p/2965620#M710206</guid>
      <dc:creator>Bjarne Dein_2</dc:creator>
      <dc:date>2003-05-05T12:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: telnet client with source IP option</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-client-with-source-ip-option/m-p/2965621#M710207</link>
      <description>I was merely trying to make his question a bit clearer by providing another example.  No points were required :)  Anyway, the comment about the lowest IP address figures - of course my systems are exacty backwards to that.  Wish they had mentioned that little detail when HP was helping us configure our Superdome/MCServiceGuard setup.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 05 May 2003 12:46:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-client-with-source-ip-option/m-p/2965621#M710207</guid>
      <dc:creator>Gary L. Paveza, Jr.</dc:creator>
      <dc:date>2003-05-05T12:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: telnet client with source IP option</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-client-with-source-ip-option/m-p/2965622#M710208</link>
      <description>Bjarne,&lt;BR /&gt;&lt;BR /&gt;Do this:&lt;BR /&gt;&lt;BR /&gt;"And since they (routers/switches etc.) traces the "wrong" source IP, when telnet'ing from the Operation machine, no one can admin. the equip. anymore. "&lt;BR /&gt;&lt;BR /&gt;mean that they are setup for the virtual IP and no the IP of the NIC on any of the HP's in the cluster?</description>
      <pubDate>Mon, 05 May 2003 12:56:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-client-with-source-ip-option/m-p/2965622#M710208</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2003-05-05T12:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: telnet client with source IP option</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-client-with-source-ip-option/m-p/2965623#M710209</link>
      <description>The source address by default of the outbound telnet packets is the "primary" ip address of the interface, ie., the one assigned to lanX:0. Not sure if that's what you meant by the "lowest" IP address, but it has nothing to do with the numerical value of the IP. &lt;BR /&gt;&lt;BR /&gt;The way this is changed programatically would be for the local telnet code to bind() the desired local IP address to it's socket before calling connect(). Your freeBSD client supports this with the -s switch, HP's telnet client (nor ftp, rlogin, etc., for that matter) have support for this. Since the local address isn't bound, these clients' packets acquire the local IP of the interface they leave the HP from. Since the route to your remote systems uses your primary IP, that's the IP that is used. &lt;BR /&gt;&lt;BR /&gt;So you would need to acquire and compile code for a telnet client that has an option like the freeBSD's telnet client to change the local binding. &lt;BR /&gt;&lt;BR /&gt;There is an unsupported workaround that _might_ work for you. First, the router that leads to your remote systems MUST support a function called "proxy arp". If not, you need the alternate telnet . &lt;BR /&gt;&lt;BR /&gt;Second, you need to add a route to the remote network using a metric of 0. You can make this a customer defined command part of your package. Let's say your package IP is 192.168.1.10 and the telnet servers are on remote network 192.168.2.0 . The command to add the route is :&lt;BR /&gt;&lt;BR /&gt;route add net 192.168.2.0 192.168.1.10 0&lt;BR /&gt;&lt;BR /&gt;This route will cause all traffic destined for the remote network to leave through the package IP's interface since the gateway is the package IP. The proxy arp function is REQUIRED because the 0 metric fools HP-UX into thinking the remote network is on the same physical network with no router in between. The router answers the arp requests for IP's on the remote network with it's own MAC address. &lt;BR /&gt;&lt;BR /&gt;When the package stops, it should remove the route:&lt;BR /&gt;&lt;BR /&gt;route delete net 192.168.2.0 192.168.1.10 0&lt;BR /&gt;&lt;BR /&gt;Too much trouble ? Convince the firewall/server admins to allow both of the primary IP's of the Serviceguard nodes through. Much simpler for everyone.&lt;BR /&gt;&lt;BR /&gt;Good luck!&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 06 May 2003 11:01:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-client-with-source-ip-option/m-p/2965623#M710209</guid>
      <dc:creator>Jim Keeble</dc:creator>
      <dc:date>2003-05-06T11:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: telnet client with source IP option</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-client-with-source-ip-option/m-p/2965624#M710210</link>
      <description>We did have the same problem with a Java application which did not bind to its logical IP&lt;BR /&gt;on HP-UX 11i.&lt;BR /&gt;&lt;BR /&gt;We did have a workaround for this when we were running on linux. There we created a route:&lt;BR /&gt;&lt;BR /&gt; # route add &lt;HOST&gt; gw &lt;GATEWAY&gt; &lt;LOGICAL if=""&gt;&lt;BR /&gt;&lt;BR /&gt;On hp-ux we also created a route.&lt;BR /&gt;&lt;BR /&gt; # route add &lt;HOST&gt; &lt;LOGICAL ip=""&gt; 0&lt;BR /&gt;&lt;BR /&gt;But instead of using arp proxy we simply created following arp entry on the application host.&lt;BR /&gt;&lt;BR /&gt; # arp -s &lt;HOST&gt; &lt;GATEWAY hw="" address=""&gt;&lt;BR /&gt;&lt;BR /&gt;This works for us !&lt;BR /&gt;&lt;/GATEWAY&gt;&lt;/HOST&gt;&lt;/LOGICAL&gt;&lt;/HOST&gt;&lt;/LOGICAL&gt;&lt;/GATEWAY&gt;&lt;/HOST&gt;</description>
      <pubDate>Wed, 18 Jun 2003 08:45:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-client-with-source-ip-option/m-p/2965624#M710210</guid>
      <dc:creator>W. Delamore</dc:creator>
      <dc:date>2003-06-18T08:45:33Z</dc:date>
    </item>
  </channel>
</rss>

