<?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 dafault gateway and IP with command. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-dafault-gateway-and-ip-with-command/m-p/2856115#M94725</link>
    <description>Hi &lt;BR /&gt;&lt;BR /&gt;you can also change the /etc/rc.config.d/netconf the params &lt;BR /&gt;of the ip adress and the getway .&lt;BR /&gt;&lt;BR /&gt;you will need to reboot the system or to do it from the console .&lt;BR /&gt;&lt;BR /&gt;exam: &lt;BR /&gt;INTERFACE_NAME[0]=lan0&lt;BR /&gt;IP_ADDRESS[0]=15.18.12.37&lt;BR /&gt;SUBNET_MASK[0]=255.255.248.0&lt;BR /&gt;BROADCAST_ADDRESS[0]=""&lt;BR /&gt;INTERFACE_STATE[0]=""&lt;BR /&gt;DHCP_ENABLE[0]=0&lt;BR /&gt;&lt;BR /&gt; ROUTE_DESTINATION[0]=default&lt;BR /&gt; ROUTE_MASK[0]=""&lt;BR /&gt; ROUTE_GATEWAY[0]=15.18.12.1&lt;BR /&gt; ROUTE_COUNT[0]=1&lt;BR /&gt; ROUTE_ARGS[0]=""</description>
    <pubDate>Tue, 03 Dec 2002 09:44:01 GMT</pubDate>
    <dc:creator>eran maor</dc:creator>
    <dc:date>2002-12-03T09:44:01Z</dc:date>
    <item>
      <title>Changing dafault gateway and IP with command.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-dafault-gateway-and-ip-with-command/m-p/2856109#M94719</link>
      <description>One old machine 9000/780 running HP-UX 9.07. &lt;BR /&gt;I want to change the default gateway, IP address and subnet mask as well by using command. Please advise.&lt;BR /&gt;&lt;BR /&gt;Please note that my SAM is having some problem and need to be reinstalled (I can say forget this way).</description>
      <pubDate>Tue, 03 Dec 2002 08:05:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-dafault-gateway-and-ip-with-command/m-p/2856109#M94719</guid>
      <dc:creator>nck2pg2</dc:creator>
      <dc:date>2002-12-03T08:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: Changing dafault gateway and IP with command.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-dafault-gateway-and-ip-with-command/m-p/2856110#M94720</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;to change IP address and/or default gateway, please use the command:&lt;BR /&gt;&lt;BR /&gt;# set_parms initial&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Armin</description>
      <pubDate>Tue, 03 Dec 2002 08:09:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-dafault-gateway-and-ip-with-command/m-p/2856110#M94720</guid>
      <dc:creator>Armin Feller</dc:creator>
      <dc:date>2002-12-03T08:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Changing dafault gateway and IP with command.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-dafault-gateway-and-ip-with-command/m-p/2856111#M94721</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;set_parms ip_address will change the ip address, have a look at the man page for other options.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Hilary&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Dec 2002 08:14:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-dafault-gateway-and-ip-with-command/m-p/2856111#M94721</guid>
      <dc:creator>BFA6</dc:creator>
      <dc:date>2002-12-03T08:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: Changing dafault gateway and IP with command.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-dafault-gateway-and-ip-with-command/m-p/2856112#M94722</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;to change the default gateway you have to do following:&lt;BR /&gt;&lt;BR /&gt;# vi /etc/rc.config.d/netconf&lt;BR /&gt;---&amp;gt; and edit the default gateway&lt;BR /&gt;  &lt;BR /&gt;# /sbin/init.d/net stop&lt;BR /&gt;# /sbin/init.d/net start&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Armin</description>
      <pubDate>Tue, 03 Dec 2002 08:19:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-dafault-gateway-and-ip-with-command/m-p/2856112#M94722</guid>
      <dc:creator>Armin Feller</dc:creator>
      <dc:date>2002-12-03T08:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: Changing dafault gateway and IP with command.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-dafault-gateway-and-ip-with-command/m-p/2856113#M94723</link>
      <description>Unfortunately I can not confirm that the following commands would work on your version of hpux (see man pages for details).&lt;BR /&gt;&lt;BR /&gt;To add/delete default gateway:&lt;BR /&gt;    route add default DEFAULT_GATEWAY_IP_ADDRESS&lt;BR /&gt;    route delete default DEFAULT_GATEWAY_IP_ADDRESS&lt;BR /&gt;&lt;BR /&gt;To change IP address/netmask:&lt;BR /&gt;First check the name of the interface for which you want to change the address:&lt;BR /&gt;    netstat -in&lt;BR /&gt;To change the IP address for interface lan0:&lt;BR /&gt;    ifconfig lan0 IP_ADDRESS up netmask NETMASK &lt;BR /&gt;&lt;BR /&gt;Hope it would work.&lt;BR /&gt;&lt;BR /&gt;Marek</description>
      <pubDate>Tue, 03 Dec 2002 08:39:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-dafault-gateway-and-ip-with-command/m-p/2856113#M94723</guid>
      <dc:creator>Marek Bednarczyk</dc:creator>
      <dc:date>2002-12-03T08:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: Changing dafault gateway and IP with command.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-dafault-gateway-and-ip-with-command/m-p/2856114#M94724</link>
      <description>&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;HP doesn't supporting 9.07 , if get into any kind of problem, so using the command line is the better way.&lt;BR /&gt;&lt;BR /&gt;#set_parms initial &lt;BR /&gt;&lt;BR /&gt;will do your job</description>
      <pubDate>Tue, 03 Dec 2002 08:57:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-dafault-gateway-and-ip-with-command/m-p/2856114#M94724</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2002-12-03T08:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: Changing dafault gateway and IP with command.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-dafault-gateway-and-ip-with-command/m-p/2856115#M94725</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;you can also change the /etc/rc.config.d/netconf the params &lt;BR /&gt;of the ip adress and the getway .&lt;BR /&gt;&lt;BR /&gt;you will need to reboot the system or to do it from the console .&lt;BR /&gt;&lt;BR /&gt;exam: &lt;BR /&gt;INTERFACE_NAME[0]=lan0&lt;BR /&gt;IP_ADDRESS[0]=15.18.12.37&lt;BR /&gt;SUBNET_MASK[0]=255.255.248.0&lt;BR /&gt;BROADCAST_ADDRESS[0]=""&lt;BR /&gt;INTERFACE_STATE[0]=""&lt;BR /&gt;DHCP_ENABLE[0]=0&lt;BR /&gt;&lt;BR /&gt; ROUTE_DESTINATION[0]=default&lt;BR /&gt; ROUTE_MASK[0]=""&lt;BR /&gt; ROUTE_GATEWAY[0]=15.18.12.1&lt;BR /&gt; ROUTE_COUNT[0]=1&lt;BR /&gt; ROUTE_ARGS[0]=""</description>
      <pubDate>Tue, 03 Dec 2002 09:44:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-dafault-gateway-and-ip-with-command/m-p/2856115#M94725</guid>
      <dc:creator>eran maor</dc:creator>
      <dc:date>2002-12-03T09:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: Changing dafault gateway and IP with command.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-dafault-gateway-and-ip-with-command/m-p/2856116#M94726</link>
      <description>Thank you.&lt;BR /&gt;I can't find /etc/rc.config.d/netconf in 9.07 but there is in 10.20&lt;BR /&gt;I get it done through Marek advise. &lt;BR /&gt;route add default ......&lt;BR /&gt;ifconfig lan0 .....&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Dec 2002 11:19:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-dafault-gateway-and-ip-with-command/m-p/2856116#M94726</guid>
      <dc:creator>nck2pg2</dc:creator>
      <dc:date>2002-12-03T11:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: Changing dafault gateway and IP with command.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-dafault-gateway-and-ip-with-command/m-p/2856117#M94727</link>
      <description>Ok, but please remember that with this commands you've changed only CURRENT setting. This will work untill the next booting.&lt;BR /&gt;&lt;BR /&gt;Good luck&lt;BR /&gt;&lt;BR /&gt;Adam&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Dec 2002 12:08:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-dafault-gateway-and-ip-with-command/m-p/2856117#M94727</guid>
      <dc:creator>Adam J Markiewicz</dc:creator>
      <dc:date>2002-12-03T12:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: Changing dafault gateway and IP with command.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-dafault-gateway-and-ip-with-command/m-p/2856118#M94728</link>
      <description>Please edit /etc/netlinkrc to keep the informations about gateway also after a reboot.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Armin</description>
      <pubDate>Tue, 03 Dec 2002 12:53:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-dafault-gateway-and-ip-with-command/m-p/2856118#M94728</guid>
      <dc:creator>Armin Feller</dc:creator>
      <dc:date>2002-12-03T12:53:33Z</dc:date>
    </item>
  </channel>
</rss>

