<?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: Changing network interface in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-network-interface/m-p/2448027#M9992</link>
    <description>Thanks to all of you!!!&lt;BR /&gt;&lt;BR /&gt;1. Now I agree it is safer to restart the server after changes.&lt;BR /&gt;&lt;BR /&gt;2. It may be reasonable to check everything from single mode first. I would go single user, make all changes, type  "ifconfig lan0 down" and then issue "net start". If nework connectivity is OK, I would restart everything. If something is not working, I can easily return to the previous configuration and reboot.&lt;BR /&gt;&lt;BR /&gt;3. It sounds good to plug the new adapter in the network with another IP address. But&lt;BR /&gt;I guess that the new address should not belong to an existing subnet. I'm afraid problems with routing may occur if two network adapters are attached to the same subnet. I would rather choose some unused private address for the new adapter and connect to some other device with the same subnet's IP address. Then I would bring  the interface up manually, I hope it should not affect current operation.&lt;BR /&gt;&lt;BR /&gt;4. My&lt;BR /&gt;/etc/rc.config.d/hpetherconf&lt;BR /&gt;does not contain any customizations. I guess nothing should be modified in my case.&lt;BR /&gt;&lt;BR /&gt;HP_ETHER_INTERFACE_NAME[0]=&lt;BR /&gt;HP_ETHER_STATION_ADDRESS[0]=&lt;BR /&gt;</description>
    <pubDate>Wed, 27 Sep 2000 07:40:43 GMT</pubDate>
    <dc:creator>Mihails Nikitins</dc:creator>
    <dc:date>2000-09-27T07:40:43Z</dc:date>
    <item>
      <title>Changing network interface</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-network-interface/m-p/2448021#M9986</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I should switch a network connection from one network adapter to another one with minimum operation disturbance of my K460 running HP-UX 10.20. The system recognize the additional interface in SAM, it is not in use.&lt;BR /&gt;&lt;BR /&gt;Here is my SAM information.&lt;BR /&gt;&lt;BR /&gt;IEEE802.3/Ethernet   lan0   10/4/8.1    Enabled          10.1.1.1                         &lt;BR /&gt;Ethernet             lan1   10/4/16.1   Enabled          10.2.2.2                           &lt;BR /&gt;Ethernet             lan2   10/12/6     Not Configured   0.0.0.0&lt;BR /&gt;&lt;BR /&gt;Please comment if the following plan is wrong.&lt;BR /&gt;&lt;BR /&gt;1. Edit /etc/rc.config.d/netconf by changing interface name&lt;BR /&gt;&lt;BR /&gt;Change&lt;BR /&gt;INTERFACE_NAME[0]=lan0&lt;BR /&gt;to &lt;BR /&gt;INTERFACE_NAME[0]=lan2&lt;BR /&gt;&lt;BR /&gt;2. Change physical connections.&lt;BR /&gt;&lt;BR /&gt;3. Run /sbin/init.d/net so that the changes take effect.&lt;BR /&gt;&lt;BR /&gt;4. If something goes wrong, restore the previous netconf and run /sbin/init.d/net.&lt;BR /&gt;&lt;BR /&gt;One more question. SAM shows lan0 as "IEEE802.3/Ethernet", currently LANCONFIG_ARGS[0]="ether ieee".&lt;BR /&gt;&lt;BR /&gt;Is it really needed to preserve this setting as "ether ieee" or it will  be sufficient with "ether" for lan2?&lt;BR /&gt;&lt;BR /&gt;Thank you in advance for any comments!&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Sep 2000 15:49:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-network-interface/m-p/2448021#M9986</guid>
      <dc:creator>Mihails Nikitins</dc:creator>
      <dc:date>2000-09-26T15:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: Changing network interface</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-network-interface/m-p/2448022#M9987</link>
      <description>&lt;BR /&gt;A lot of questions....&lt;BR /&gt;&lt;BR /&gt;1. Looks good.&lt;BR /&gt;&lt;BR /&gt;2. Not so good. You should disable the lan before swapping over the physical lan connections. /sbin/init.d/net stop  Dont forget to do this from the console as if you do it from a terminal your own connection will be killed!&lt;BR /&gt;&lt;BR /&gt;3. Change the cables. From the console do a net start. Hopefully the your primary ip will come up aok on the new lan card.&lt;BR /&gt;&lt;BR /&gt;4. If something goes wrong you can try to do a net stop, restore the netconf file and the physical lan connections then try a net start. You may just get lucky.....&lt;BR /&gt;&lt;BR /&gt;5. ether for lan2 is fine, dont need the ieee.&lt;BR /&gt;&lt;BR /&gt;Now, all sorts of currently running applications/net connections may cause your net stop command to not work, and thus ruin the whole exercise. Play safe - change the netconf file, reboot the server, and change the physical lan connections before it comes up again. Changing lan cards/ip's on the fly is risky stuff.&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Sep 2000 15:58:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-network-interface/m-p/2448022#M9987</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2000-09-26T15:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: Changing network interface</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-network-interface/m-p/2448023#M9988</link>
      <description>One refinement to Steffan's response.  To disable the lan interface you should issue the ifconfig lan0 down command yourself.  The standard HP /sbin/init.d/net script does nothing upon receiving the "stop" flag.  You must shut down your interfaces manually.</description>
      <pubDate>Tue, 26 Sep 2000 16:05:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-network-interface/m-p/2448023#M9988</guid>
      <dc:creator>Alan Riggs</dc:creator>
      <dc:date>2000-09-26T16:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Changing network interface</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-network-interface/m-p/2448024#M9989</link>
      <description>Make backups of netconf and hpetherconf.&lt;BR /&gt;Check these files for updates.&lt;BR /&gt;disable the lan0 with ifconfig command on the console and not through telnet.&lt;BR /&gt;Your steps are good but check the corrections from Stefan.</description>
      <pubDate>Tue, 26 Sep 2000 18:02:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-network-interface/m-p/2448024#M9989</guid>
      <dc:creator>CHRIS_ANORUO</dc:creator>
      <dc:date>2000-09-26T18:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Changing network interface</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-network-interface/m-p/2448025#M9990</link>
      <description>Don't know if this is possible at your site, but why not plug the second card into the network.  Config it with a different IP and connect to it (to make sure everything looks good).  &lt;BR /&gt;Then bring down the original card and use ifconfig to change the ip of the second one.  Actually if you created a script with a couple ifconfig statements you could pull the switch pretty quickly.  &lt;BR /&gt;This way you don't have to worry about swapping wires and starting and stopping thing.&lt;BR /&gt;Just a thought,&lt;BR /&gt;Steve</description>
      <pubDate>Tue, 26 Sep 2000 19:20:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-network-interface/m-p/2448025#M9990</guid>
      <dc:creator>Steve Sauve</dc:creator>
      <dc:date>2000-09-26T19:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: Changing network interface</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-network-interface/m-p/2448026#M9991</link>
      <description>The biggest problem i see is, that there may be some subsystems which will exit if the network interface goes down.&lt;BR /&gt;&lt;BR /&gt;In our company we need the original interface from the machine to run a license server daemon.&lt;BR /&gt;So i would prefer that both cards are active. To do so, modify the /etc/rc.config.d/netconf so that both cards are active. Assign an IP address to the old interface which is not in your net.&lt;BR /&gt;&lt;BR /&gt;   #NEW Interface&lt;BR /&gt;   IP_ADDRESS[0]=&lt;YOUR ip="" address=""&gt;&lt;BR /&gt;   SUBNET_MASK[0]=&lt;YOUR ip="" address=""&gt;&lt;BR /&gt;   INTERFACE_NAME[0]=lan2&lt;BR /&gt;   BROADCAST_ADDRESS[0]=&lt;YOUR broadcast="" address=""&gt;&lt;BR /&gt;   LANCONFIG_ARGS[0]="ether"&lt;BR /&gt;   DHCP_ENABLE[0]=&lt;YOUR value=""&gt;&lt;BR /&gt;&lt;BR /&gt;   #OLD Interface&lt;BR /&gt;   IP_ADDRESS[1]=&amp;lt; 192.100.100.10=""&amp;gt;&lt;BR /&gt;   SUBNET_MASK[1]=&amp;lt; 255.255.255.0=""&amp;gt;&lt;BR /&gt;   INTERFACE_NAME[1]=lan1&lt;BR /&gt;   BROADCAST_ADDRESS[1]=&amp;lt; 192.100.100.255=""&amp;gt;&lt;BR /&gt;   LANCONFIG_ARGS[1]="ether"&lt;BR /&gt;   DHCP_ENABLE[1]=&lt;YOUR value=""&gt;&lt;BR /&gt;&lt;BR /&gt;   When you create the configuration, be careful with the array numbers [0].&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If you have subsystems, which need the MAC of the old interface you should look in the file /etc/rc.config.d/hpetherconf to set the correct interface and MAC.&lt;BR /&gt;&lt;BR /&gt;   HP_ETHER_INTERFACE_NAME[0]=lan1&lt;BR /&gt;   HP_ETHER_STATION_ADDRESS[0]=0xXXXXXXXXXXXXX&lt;BR /&gt;&lt;BR /&gt;Connect the second interface to the switch or hub. Leave the old one connected.&lt;BR /&gt;&lt;BR /&gt;After that you can try to restart the network.&lt;BR /&gt;&lt;BR /&gt;When the system dont works correctly, the most reasons are misconfigured values or stopped sybsystems.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;To activate the cards i would prefer the following way:&lt;BR /&gt;- Be sure, that all necessarry software and&lt;BR /&gt;  patches are installed on the system&lt;BR /&gt;- Modify all the files.&lt;BR /&gt;- Look for a time window when nobody is&lt;BR /&gt;  working and then do a reboot.&lt;BR /&gt;&lt;BR /&gt;If you choose this way, you can verify that all subsystems are running well.&lt;/YOUR&gt;&lt;/YOUR&gt;&lt;/YOUR&gt;&lt;/YOUR&gt;&lt;/YOUR&gt;</description>
      <pubDate>Wed, 27 Sep 2000 06:54:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-network-interface/m-p/2448026#M9991</guid>
      <dc:creator>Elmar Bueker</dc:creator>
      <dc:date>2000-09-27T06:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: Changing network interface</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-network-interface/m-p/2448027#M9992</link>
      <description>Thanks to all of you!!!&lt;BR /&gt;&lt;BR /&gt;1. Now I agree it is safer to restart the server after changes.&lt;BR /&gt;&lt;BR /&gt;2. It may be reasonable to check everything from single mode first. I would go single user, make all changes, type  "ifconfig lan0 down" and then issue "net start". If nework connectivity is OK, I would restart everything. If something is not working, I can easily return to the previous configuration and reboot.&lt;BR /&gt;&lt;BR /&gt;3. It sounds good to plug the new adapter in the network with another IP address. But&lt;BR /&gt;I guess that the new address should not belong to an existing subnet. I'm afraid problems with routing may occur if two network adapters are attached to the same subnet. I would rather choose some unused private address for the new adapter and connect to some other device with the same subnet's IP address. Then I would bring  the interface up manually, I hope it should not affect current operation.&lt;BR /&gt;&lt;BR /&gt;4. My&lt;BR /&gt;/etc/rc.config.d/hpetherconf&lt;BR /&gt;does not contain any customizations. I guess nothing should be modified in my case.&lt;BR /&gt;&lt;BR /&gt;HP_ETHER_INTERFACE_NAME[0]=&lt;BR /&gt;HP_ETHER_STATION_ADDRESS[0]=&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Sep 2000 07:40:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-network-interface/m-p/2448027#M9992</guid>
      <dc:creator>Mihails Nikitins</dc:creator>
      <dc:date>2000-09-27T07:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: Changing network interface</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-network-interface/m-p/2448028#M9993</link>
      <description>&lt;BR /&gt;You have to be careful attaching 2 NIC's on the same subnet, see the following question and replies on what you need to do to set this up correctly;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0xd3627e990647d4118fee0090279cd0f9,00.html" target="_blank"&gt;http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0xd3627e990647d4118fee0090279cd0f9,00.html&lt;/A&gt;</description>
      <pubDate>Wed, 27 Sep 2000 07:51:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-network-interface/m-p/2448028#M9993</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2000-09-27T07:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: Changing network interface</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-network-interface/m-p/2448029#M9994</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;the problems with 2 NIC's are not on K-Class with HP-UX.&lt;BR /&gt;&lt;BR /&gt;The only problem which could occur is that the mashine will act as an router.&lt;BR /&gt;&lt;BR /&gt;If you have a problem with that you can stop the default routing with the following command:&lt;BR /&gt;&lt;BR /&gt;With lanadmin you can check the state (errors) of the interface.&lt;BR /&gt;&lt;BR /&gt;Execute lanscan to get the NMID from the interface&lt;BR /&gt;&lt;BR /&gt;Check the state of the network parameters&lt;BR /&gt;   nettune -l&lt;BR /&gt;&lt;BR /&gt;Switch of routing&lt;BR /&gt;   nettune -s ip_forwarding 0&lt;BR /&gt;   nettune -s ip_forward_directed_broadcasts 0&lt;BR /&gt;&lt;BR /&gt;I'm not sure that the command takes effect after an reboot.</description>
      <pubDate>Fri, 29 Sep 2000 06:45:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-network-interface/m-p/2448029#M9994</guid>
      <dc:creator>Elmar Bueker</dc:creator>
      <dc:date>2000-09-29T06:45:46Z</dc:date>
    </item>
  </channel>
</rss>

