Multiple host IP address modification methods for HP minicomputers

Source: Internet
Author: User
Tags netconf
Method 1 for modifying host IP addresses of HP minicomputers. set_parmshostname2.set_parmsaddress3. modify the/etc/hosts file. note: The above method has actually modified/etc/rc. config. d/netconf. Method 2. vi/ etc/rc. config. d/ne... method 1 for modifying host IP addresses of HP minicomputers. set_parms hostname 2. set_parms address 3. modify the/etc/hosts file. note: The above method has actually modified/etc/rc. config. d/netconf. Method 2 after the machine is restarted. vi/etc/rc. config. d/netconf 2. manually modify the/etc/hosts file. note: Method 3: (reboot is not required.) 1. use method 1 or method 2 to modify the configuration file. manually modify the/etc/hosts file 3. executive Line (recommended on the console)/sbin/init. d/net stop/sbin/init. d/net. init stop/sbin/init. d/net. init start/sbin/init. d/net start # cat/etc/rc. config. d/netconf # netconf: configuration values for core networking subsystems # @ (#) B .11.11 _ LR $ Revision: 1.6.119.6 $ Date: 97/09/10 15:56:01 $ HOSTNAME = "hp4440a" OPERATING_SYSTEM = HP-UX LOOPBACK_ADDRESS = 127.0.0.1 # Modify the host name and restart the host. # For each additional network interfaces, add a set of variable assignments # like the ones below, changing the index to "[1]", "[2]" et cements. # IMPORTANT: for 9. x-to-10.0 transition, do not put blank lines between # the next set of statements INTERFACE_NAME [0] = lan1 #0 indicates this is the first Nic parameter, and so on. IP_ADDRESS [0] = 10.77.220.115 SUBNET_MASK [0] = 255.255.248.0 ------------- network adapter BROADCAST_ADDRESS [0] = "" INTERFACE_STATE [0] = "" DHCP_ENABLE [0] = 0 # The NODENAME variable (limited to 8 chars) will be used to set the # UUCP name (uname-S), since HOSTNAME is longer than 8 chars. NODENAME = hp4440a ROUTE_GATEWAY [0] = 10.77.220.1 ---------- default route ROUTE_COUNT [0] = 1 ROUTE_DESTINATION [0] = default
 
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.