Operating System - HP-UX
1834925 Members
2397 Online
110071 Solutions
New Discussion

HP10.20 Basic Network Configuration

 
SOLVED
Go to solution
Cai Nan
Advisor

HP10.20 Basic Network Configuration

Morning,
We just changed our Domain name, IP address and so on,I configure /etc/rc.config.d/netconf: IP ADDRESS,SUBNET_MASK,BROADCAST_ADDRESS;ROUTE_GATEWAY manually, but which file could I change the domain name and name server?
By the way,command:"set_parms initial" configure what files in detail?

Thanks
--Frank
DAEMON
7 REPLIES 7
Steven Sim Kok Leong
Honored Contributor

Re: HP10.20 Basic Network Configuration

Hi,

In /etc/rc.config.d/netconf, there is the following line:

HOSTNAME="your_server_hostname"

Replace as appropriate. This will take effect upon next reboot.

Hope this helps. Regards.

Steven Sim Kok Leong
Steven Sim Kok Leong
Honored Contributor

Re: HP10.20 Basic Network Configuration

Hi,

In /etc/rc.config.d/netconf, there is this line:

HOSTNAME="your_server_hostname"

Replace appropriately. This takes effect upon next reboot.

Hope this helps. Regards.

Steven Sim Kok Leong
Cai Nan
Advisor

Re: HP10.20 Basic Network Configuration

Hi, Steven.
Are you mean:HOSTNAME="hostname.domain name" ?
But when I finished set_parms initial,it seems don't chang the line"HOSTNAME="hostname"to
"hostname.domainname",but my domain name changed. So I think there is another file resposible for domain name?
DAEMON
Animesh Chakraborty
Honored Contributor
Solution

Re: HP10.20 Basic Network Configuration

Steven Sim Kok Leong
Honored Contributor

Re: HP10.20 Basic Network Configuration

Hi,

I thought you were asking for hostname. For domain name, it is in /etc/resolv.conf.

Hope this helps. Regards.

Steven Sim Kok Leong
Steven Sim Kok Leong
Honored Contributor

Re: HP10.20 Basic Network Configuration

Hi,

I notice you are asking for name server as well in your question. Name servers are similarly configured in /etc/resolv.conf eg.

domain your_domain_name
nameserver 1st_dns_ip_address
nameserver 2nd_dns_ip_address
...

You can add multiple nameserver entries in /etc/resolv.conf.

Hope this helps. Regards.

Steven Sim Kok Lenog
Cai Nan
Advisor

Re: HP10.20 Basic Network Configuration

Hi, Steven and animesh.
Thank you for your answer,now I could do changes to /etc/resolv.conf.
DAEMON