<?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 IP address via command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-ip-address-via-command/m-p/4968344#M550730</link>
    <description>Any time you can't ping off of your subnet it is a missing or incorrectly defined default router. Are you sure netstat -rn had correct router associated with the correct LAN number?&lt;BR /&gt;&lt;BR /&gt;The step you were missing is the route delete and route add commands. To get the default routers to survive a reboot you would have had to change /etc/rc.config.d/netconf so the correct instance [0] pointed to the correct router.&lt;BR /&gt;&lt;BR /&gt;Sam is a good way to change the addresses because it remembers everything. If you want to change the address from a command line take a look at man set_parms and that script will ask you all the right questions and modify all of the right files. i.e.&lt;BR /&gt;&lt;BR /&gt;set_parms initial&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;One more thing did you remember to change the IP address in /etc/hosts to reflect any name/address change?&lt;BR /&gt;</description>
    <pubDate>Mon, 20 Mar 2006 12:03:08 GMT</pubDate>
    <dc:creator>John Dvorchak</dc:creator>
    <dc:date>2006-03-20T12:03:08Z</dc:date>
    <item>
      <title>Changing IP address via command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-ip-address-via-command/m-p/4968342#M550728</link>
      <description>Hello everyone.&lt;BR /&gt;Last week, I changed IP addresses on a rp7405 server /w the following steps.&lt;BR /&gt;&lt;BR /&gt;[original conf]&lt;BR /&gt;lan0: 10.10.10.10/24&lt;BR /&gt;lan1: 20.20.20.20/24&lt;BR /&gt;&lt;BR /&gt;[target conf]&lt;BR /&gt;lan0: 20.20.20.20/24&lt;BR /&gt;lan1: 10.10.10.1024&lt;BR /&gt;&lt;BR /&gt;[each steps that I did]&lt;BR /&gt;# ifconfig lan0 down&lt;BR /&gt;# ifconfig lan0 unplumb&lt;BR /&gt;# ifconfig lan1 down&lt;BR /&gt;# ifconfig lan1 unplumb&lt;BR /&gt;# ifconfig lan0 20.20.20.20 255.255.255.0 20.20.20.1&lt;BR /&gt;# ifconfig lan0 plumb&lt;BR /&gt;# ifconfig lan0 up&lt;BR /&gt;# ifconfig lan1 10.10.10.10 255.255.255.0 10.10.10.1&lt;BR /&gt;# ifconfig lan1 plumb&lt;BR /&gt;# ifconfig lan1 up&lt;BR /&gt;&lt;BR /&gt;and after reconfiguration,&lt;BR /&gt;# netstat -in&lt;BR /&gt;# netstat -rn &lt;BR /&gt;showed correct information that I want.&lt;BR /&gt;&lt;BR /&gt;All NIC's link status were OK.&lt;BR /&gt;but afterall cannot ping anywhere except NIC itself. ie. ping 10.10.10.10 on lan1...&lt;BR /&gt;&lt;BR /&gt;I couldn't solve the problem, so I resolv it /w the help of SAM...&lt;BR /&gt;&lt;BR /&gt;Did I miss the step?&lt;BR /&gt;Or are there any miss/wrong steps?&lt;BR /&gt;&lt;BR /&gt;Thank you...</description>
      <pubDate>Mon, 20 Mar 2006 10:54:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-ip-address-via-command/m-p/4968342#M550728</guid>
      <dc:creator>???_185</dc:creator>
      <dc:date>2006-03-20T10:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: Changing IP address via command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-ip-address-via-command/m-p/4968343#M550729</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;# ifconfig lan0 down&lt;BR /&gt;# ifconfig lan0 unplumb&lt;BR /&gt;# ifconfig lan1 down&lt;BR /&gt;# ifconfig lan1 unplumb&lt;BR /&gt;# ifconfig lan0 plumb&lt;BR /&gt;# ifconfig lan0 20.20.20.20 255.255.255.0 20.20.20.1 up&lt;BR /&gt;# ifconfig lan1 plumb&lt;BR /&gt;# ifconfig lan1 10.10.10.10 255.255.255.0 10.10.10.1 up&lt;BR /&gt;&lt;BR /&gt;and change the /etc/rc.config.d/netconf file.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Mon, 20 Mar 2006 11:16:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-ip-address-via-command/m-p/4968343#M550729</guid>
      <dc:creator>Robert-Jan Goossens_1</dc:creator>
      <dc:date>2006-03-20T11:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: Changing IP address via command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-ip-address-via-command/m-p/4968344#M550730</link>
      <description>Any time you can't ping off of your subnet it is a missing or incorrectly defined default router. Are you sure netstat -rn had correct router associated with the correct LAN number?&lt;BR /&gt;&lt;BR /&gt;The step you were missing is the route delete and route add commands. To get the default routers to survive a reboot you would have had to change /etc/rc.config.d/netconf so the correct instance [0] pointed to the correct router.&lt;BR /&gt;&lt;BR /&gt;Sam is a good way to change the addresses because it remembers everything. If you want to change the address from a command line take a look at man set_parms and that script will ask you all the right questions and modify all of the right files. i.e.&lt;BR /&gt;&lt;BR /&gt;set_parms initial&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;One more thing did you remember to change the IP address in /etc/hosts to reflect any name/address change?&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Mar 2006 12:03:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-ip-address-via-command/m-p/4968344#M550730</guid>
      <dc:creator>John Dvorchak</dc:creator>
      <dc:date>2006-03-20T12:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: Changing IP address via command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-ip-address-via-command/m-p/4968345#M550731</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;I would conclude that the settings you input are not compatible with the target lan. Its possible you have the cables crossed. Try reversing them.&lt;BR /&gt;&lt;BR /&gt;Also, you might want to run a quick hardware check on the two lan cards with cstm, mstm, or xstm&lt;BR /&gt;&lt;BR /&gt;I doubt however that both of them are bad.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 20 Mar 2006 12:39:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-ip-address-via-command/m-p/4968345#M550731</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-03-20T12:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: Changing IP address via command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-ip-address-via-command/m-p/4968346#M550732</link>
      <description>I think you should modify IP address in /etc/rc.config.d/netconf&lt;BR /&gt;then restart net service:&lt;BR /&gt;#/sbin/inet.d/net stop&lt;BR /&gt;#/sbin/inet.d/net start</description>
      <pubDate>Mon, 20 Mar 2006 20:44:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-ip-address-via-command/m-p/4968346#M550732</guid>
      <dc:creator>Nguyen Anh Tien</dc:creator>
      <dc:date>2006-03-20T20:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: Changing IP address via command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-ip-address-via-command/m-p/4968347#M550733</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt; /etc/rc.config.d/netconf should be modified manually to as to retain the changes.&lt;BR /&gt;&lt;BR /&gt;don't forget to backup the netconf file prior to any modifications.&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Mon, 20 Mar 2006 23:07:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-ip-address-via-command/m-p/4968347#M550733</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2006-03-20T23:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: Changing IP address via command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-ip-address-via-command/m-p/4968348#M550734</link>
      <description>Gentleman Thank you for all the responses</description>
      <pubDate>Thu, 23 Mar 2006 04:04:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-ip-address-via-command/m-p/4968348#M550734</guid>
      <dc:creator>???_185</dc:creator>
      <dc:date>2006-03-23T04:04:45Z</dc:date>
    </item>
  </channel>
</rss>

