<?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: Is it Logical IP? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/is-it-logical-ip/m-p/2696574#M586830</link>
    <description>Hi again,&lt;BR /&gt;&lt;BR /&gt;Thanks for all your responses. I appreciate them.&lt;BR /&gt;&lt;BR /&gt;However, How do you tell it to use a different gateway and a DNS? I can't seam to do that with ifconfig.&lt;BR /&gt;&lt;BR /&gt;for example: say my currnt ip address is 192.*.*.* g/w 192.*.*.1 DNS 220.*.*.*&lt;BR /&gt;&lt;BR /&gt;andi want to change the ip address to 10.*.*.* the gateway to 10.*.*.1 and the DNS to 34.*.*.*&lt;BR /&gt;&lt;BR /&gt;ifconfig lan0:1 10.*.*.*  works however I am not sure How I would go about adding the new gateway and dns.&lt;BR /&gt;&lt;BR /&gt;or have i totally confused myself?&lt;BR /&gt;&lt;BR /&gt;thanks again</description>
    <pubDate>Thu, 04 Apr 2002 05:11:01 GMT</pubDate>
    <dc:creator>maria paschali</dc:creator>
    <dc:date>2002-04-04T05:11:01Z</dc:date>
    <item>
      <title>Is it Logical IP?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-it-logical-ip/m-p/2696568#M586824</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I need help. I am not sure how to bind an additional IP address to my box running HPUX 11.0.&lt;BR /&gt;&lt;BR /&gt;We are undergoing network changes and I need to add an additional IP/Gateway/DNS address to the interface. (Only have one interface).&lt;BR /&gt;&lt;BR /&gt;I was thinking of using the ifconfig command but I am not sure if this is the correct way to do it.&lt;BR /&gt;&lt;BR /&gt;If anyone can help me I would appreciate it.&lt;BR /&gt;&lt;BR /&gt;I hope this makes sense.&lt;BR /&gt;&lt;BR /&gt;Maria</description>
      <pubDate>Wed, 03 Apr 2002 23:48:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-it-logical-ip/m-p/2696568#M586824</guid>
      <dc:creator>maria paschali</dc:creator>
      <dc:date>2002-04-03T23:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: Is it Logical IP?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-it-logical-ip/m-p/2696569#M586825</link>
      <description>Hi Maria,&lt;BR /&gt;&lt;BR /&gt;Did you try like this?.&lt;BR /&gt;&lt;BR /&gt;ifconfig lan0:1 IP_address&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 03 Apr 2002 23:55:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-it-logical-ip/m-p/2696569#M586825</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-04-03T23:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: Is it Logical IP?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-it-logical-ip/m-p/2696570#M586826</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;no i haven't tried anything yet. I was too scared to. (LOL) as this is my first time doing it and thought to get some advice first.&lt;BR /&gt;&lt;BR /&gt;Question. This will not stop packets from going to the existing IP address? When the change over occurs will the new IP address accept packets? How do I check/test to see if it is working ok?&lt;BR /&gt;&lt;BR /&gt;Can you tell i haven't done this before?&lt;BR /&gt;&lt;BR /&gt;Maria</description>
      <pubDate>Thu, 04 Apr 2002 00:02:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-it-logical-ip/m-p/2696570#M586826</guid>
      <dc:creator>maria paschali</dc:creator>
      <dc:date>2002-04-04T00:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: Is it Logical IP?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-it-logical-ip/m-p/2696571#M586827</link>
      <description>Hi Maria:&lt;BR /&gt;&lt;BR /&gt;I believe that Sri has pointed you in one possible direction.  Have a look at the man pages for 'ifconfig' for (a little) more information.&lt;BR /&gt;&lt;BR /&gt;In addition, you may want to consider "Auto-Port Aggregation" [APA] software.  It permits load-balancing as well as high-availablity and the use of a single IP address:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.hp.com/products1/unixserverconnectivity/software/info_library.html" target="_blank"&gt;http://www.hp.com/products1/unixserverconnectivity/software/info_library.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 04 Apr 2002 00:03:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-it-logical-ip/m-p/2696571#M586827</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-04-04T00:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: Is it Logical IP?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-it-logical-ip/m-p/2696572#M586828</link>
      <description>Hi Maria,&lt;BR /&gt;&lt;BR /&gt;This should work.&lt;BR /&gt;&lt;BR /&gt;ifconfig lan0:1 &lt;IP address=""&gt; netmask &lt;NETMASKS&gt; &lt;BR /&gt;&lt;BR /&gt;Examples: &lt;BR /&gt;if config lan0:1 172.16.12.61 netmask 255.255.255.0&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;-Michael&lt;/NETMASKS&gt;&lt;/IP&gt;</description>
      <pubDate>Thu, 04 Apr 2002 00:04:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-it-logical-ip/m-p/2696572#M586828</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-04-04T00:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: Is it Logical IP?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-it-logical-ip/m-p/2696573#M586829</link>
      <description>Maria,&lt;BR /&gt;&lt;BR /&gt;It's official and should work. It is not going to stop packets coming to the existing IP. Also you will need to add entries to your netconf file to make it permanent like &lt;BR /&gt;&lt;BR /&gt;INTERFACE_NAME[1]="lan0:1"&lt;BR /&gt;IP_ADDRESS[1]=10.10.10.1&lt;BR /&gt;SUBNET_MASK[1]=255.255.255.0&lt;BR /&gt;     &lt;BR /&gt;Ping to this IP from other machine. You can also use ifconfig command to look at the status. If you have a test system, you can do that on it to make yourself comfortable.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Thu, 04 Apr 2002 00:09:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-it-logical-ip/m-p/2696573#M586829</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-04-04T00:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Is it Logical IP?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-it-logical-ip/m-p/2696574#M586830</link>
      <description>Hi again,&lt;BR /&gt;&lt;BR /&gt;Thanks for all your responses. I appreciate them.&lt;BR /&gt;&lt;BR /&gt;However, How do you tell it to use a different gateway and a DNS? I can't seam to do that with ifconfig.&lt;BR /&gt;&lt;BR /&gt;for example: say my currnt ip address is 192.*.*.* g/w 192.*.*.1 DNS 220.*.*.*&lt;BR /&gt;&lt;BR /&gt;andi want to change the ip address to 10.*.*.* the gateway to 10.*.*.1 and the DNS to 34.*.*.*&lt;BR /&gt;&lt;BR /&gt;ifconfig lan0:1 10.*.*.*  works however I am not sure How I would go about adding the new gateway and dns.&lt;BR /&gt;&lt;BR /&gt;or have i totally confused myself?&lt;BR /&gt;&lt;BR /&gt;thanks again</description>
      <pubDate>Thu, 04 Apr 2002 05:11:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-it-logical-ip/m-p/2696574#M586830</guid>
      <dc:creator>maria paschali</dc:creator>
      <dc:date>2002-04-04T05:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: Is it Logical IP?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-it-logical-ip/m-p/2696575#M586831</link>
      <description>Hi Maria,&lt;BR /&gt;&lt;BR /&gt;You can't set the DNS from the ifconfig command&lt;BR /&gt;as far as I know. You would need to change it&lt;BR /&gt;in your /etc/resolv.conf file. Make sure that&lt;BR /&gt;your using a 10.x.x.x address that you &lt;BR /&gt;change your subnet mask to 255.255.0.0 as this&lt;BR /&gt;has now become a 'B' class address.&lt;BR /&gt;&lt;BR /&gt;ifconfig lan0:1 10.x.x.x netmask 255.255.0.0 &lt;BR /&gt;As far as the routing table is concerned you will need to use the 'route' command to not only create a new default route but delete the old one.&lt;BR /&gt;&lt;BR /&gt;# route add default 10.x.x.x&lt;BR /&gt;# route delete default 192.x.x.x&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;-Michael</description>
      <pubDate>Thu, 04 Apr 2002 05:36:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-it-logical-ip/m-p/2696575#M586831</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-04-04T05:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: Is it Logical IP?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-it-logical-ip/m-p/2696576#M586832</link>
      <description>Maria,&lt;BR /&gt;&lt;BR /&gt;You can specify an additional default gateway, but it won't ever actually get used until the first gateway dies (i.e. doesn't respond to ICMP echo requests). SO if you are intending to have a transition period where some traffic bound for other subnets goes out on the old subnet, and some on the new then you will either need to configure static routes to manage this, or alternatively look to use gated in a passive mode where it listens for and updates routing information, but does not broadcast/advertise routes itself (this can be complex to set up as you will quickly find if you look at the gated.conf man page).&lt;BR /&gt;&lt;BR /&gt;With regards to DNS, theres nothing to stop you adding a second DNS nameserver entry in /etc/resolv.conf, but again it won't be used unless the first DNS server is not responding (or it can't resolve the hostname/ip address passed).&lt;BR /&gt;&lt;BR /&gt;When I've gone through similar exercises, I have always put the onus on the network guys to manage all routing changes until you can completely switch over to the new gateway/subnet/DNS config (after all that is what they are paid to do!)&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Thu, 04 Apr 2002 08:47:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-it-logical-ip/m-p/2696576#M586832</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2002-04-04T08:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: Is it Logical IP?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-it-logical-ip/m-p/2696577#M586833</link>
      <description>Hi Maria,&lt;BR /&gt;&lt;BR /&gt;There will be only one default gateway defined on the system. If you need to specify a different route, then it's going to be a static route on the system and you should be using "route add" command.&lt;BR /&gt;&lt;BR /&gt;add destination [netmask mask] gateway [metric]&lt;BR /&gt;&lt;BR /&gt;The show stopper here is the destination.&lt;BR /&gt;&lt;BR /&gt;There cannot be two DNS servers on the system resolving two different networks at the same time. Your primary DNS server should be able to take care of it.&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Apr 2002 14:31:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-it-logical-ip/m-p/2696577#M586833</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-04-04T14:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: Is it Logical IP?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-it-logical-ip/m-p/2696578#M586834</link>
      <description>In other words, what you are talking about is &lt;BR /&gt;to add an IP alias that is in another network.&lt;BR /&gt;&lt;BR /&gt;All the answers previous are correct, you cannot have more than one default route (which&lt;BR /&gt;one would then be default? ;-&amp;gt;) you will need to add a static route for the new psuedo-&lt;BR /&gt;interface as already described, or it can be&lt;BR /&gt;learned via RIP/RIPv2 etc. assuming updates&lt;BR /&gt;are coming from someone on the network.&lt;BR /&gt;Also a sensible netmask(probably the same as &lt;BR /&gt;the other one) and broadcast addr. &lt;BR /&gt;As for DNS, like someone already said, the server already defined should be okay you can &lt;BR /&gt;add more servers if you wish as backup, but that is system-wide not I/F specific.&lt;BR /&gt;Same also goes for NIS, so long as you can &lt;BR /&gt;bind to a NIS server somewhere (either I/F) &lt;BR /&gt;you should be fine.&lt;BR /&gt;&lt;BR /&gt;The reasons why you'd normally  need to be on &lt;BR /&gt;2 networks (via same piece of wire) could be &lt;BR /&gt;many, I suspect you are not doing it to make &lt;BR /&gt;this box a router for the other logical &lt;BR /&gt;network, so it must be related to your &lt;BR /&gt;topology requirements, you don't say.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this makes it all a little clearer :)&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Sun, 07 Apr 2002 09:07:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-it-logical-ip/m-p/2696578#M586834</guid>
      <dc:creator>Steve Edmunds</dc:creator>
      <dc:date>2002-04-07T09:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: Is it Logical IP?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-it-logical-ip/m-p/2696579#M586835</link>
      <description>Maria,&lt;BR /&gt;&lt;BR /&gt;Sridhar has pointed out right. Add the entry in your netconf file under the existing route details. make sure that if the previous entries are for interface "0" then you put the new interface address as 1 or something else.&lt;BR /&gt;&lt;BR /&gt;Then do a route add command like&lt;BR /&gt;&lt;BR /&gt;route add &lt;IP_ADDR&gt; netmask &amp;lt;255.*.*.*&amp;gt; gateway &amp;lt;*.*.*.*&amp;gt; 0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;anil&lt;/IP_ADDR&gt;</description>
      <pubDate>Mon, 08 Apr 2002 19:42:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-it-logical-ip/m-p/2696579#M586835</guid>
      <dc:creator>Anil C. Sedha</dc:creator>
      <dc:date>2002-04-08T19:42:36Z</dc:date>
    </item>
  </channel>
</rss>

