Changing IP & hostname


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Changing IP & hostname
# 1  
Old 07-18-2007
Changing IP & hostname

I have to do this twice.
First,
A) change IP address, subnet & default gateway.

then a few days later
B) change IP address again (same subnet & gateway) & hostname.

(why twice? To get the vlan stuff out of the way in advance)

what is the best way to do A?
can all be done through sam or is command line better?
what if I am not at the console but telnet into the machine?
can I do it all with set_parm or do I need to edit netconf directly?
is a reboot needed to take effect?

and for B)
what is the best way to just change IP & hostname.
is a reboot needed afterward?
can I do from telnet or do I need console?

HPUX 11.23 i64 and HPUX B.11.0

Lisa
HPUX 11.23 i64 and HPUX B.11.0
# 2  
Old 07-18-2007
well, we tried this on the DEV machine -
used mangement console and sam to change the IP on the NIC & ROUTE to change the gateway
then made the vlan changes
we could then connect telnet using the new IP.
then used set_parm hostname to change the host name -- and of all things, that one needed a reboot.
so from this test sample, changing IP only - no reboot, changing hostname needs reboot.
# 3  
Old 02-17-2008
To assign manually IP address in Solaris 10 ( intel)

Hi,
Can any one let me know that how can i manually assign a IP on the Intel platform running solaris 10 coz ,

when I fire the following command

ifconfig hme0 plumb
then i get ifconfig : hme0 : plumb ; no such file or directory

also I have tried to assign a IP in the Host file ( /etc/inet/host)
or /etc/hosts file and rebooted the system system but it didn't work out
I have also created a file name /etc/hostname.hme0 and manually added a hostname entry in it but that too failed

Also I have fire the following command

ifconfig hme0 inet 192.168.0.1 netmask 255.255.255.0 broadcast + up

but that too fail with the same error hme0 no such file or directory
In the /etc I have only hosts file but , according to solaris it says that it creates a /etc/hostname.INTERFACE file say /etc/hostname.hme0 but there is no such file in /etc/dir.


I think Intel platform does not support this and for this we need a SPARC system if we want to assign a manual IP to the system Please do let me know.................. Smilie
# 4  
Old 02-17-2008
What about

# sys-unconfig
# 5  
Old 02-18-2008
let me check is this is somewhat related to system-config-network as in linux ....
# 6  
Old 02-29-2008
Hello,
I'm actually having the same problem. Im trying to install Solaris 9 x86 int oa vmware and I can't bring my network interface up. I never used Solaris before so I'm a bit confused about all this.

Thanks for your help.

Tex.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Alias ip & hostname

Hello Forum members, I am new to the Linux administration and i have a question on the below requirement , requirement is as below Create a new alias-IP & alias-Host name to the existing virtual machine ( RHEL 6.6) I have created alias-IP and here is the below eth3 Link... (0 Replies)
Discussion started by: raokl
0 Replies

2. Solaris

SVM - Metadevices are offline after changing hostname solaris x86

Hi , We are facing an issue on one of our solaris x86 server, After changing the hostname and a orderly reboot , all metadevices shows offline. please let us know the steps to restore back all metadevices to working state with this new hostname (3 Replies)
Discussion started by: karthick.sh
3 Replies

3. Emergency UNIX and Linux Support

HP UX - ILO Console hostname different than Machine Hostname...

Hi All, So we added a new HP-UX 11.31 machine. Copied OS via Ignite-UX (DVD)over from this machine called machine_a. It was supposed to be named machine_c. And it is when you log in...however when I'm in the ILO console before logging in, it says: It should say: What gives? And how do... (4 Replies)
Discussion started by: zixzix01
4 Replies

4. Solaris

changing hostname on Solaris 8 ?

hi, does anyone had experience changing hostname on Solaris 8 ? any idea how is it done ? (4 Replies)
Discussion started by: Exposure
4 Replies

5. Solaris

changing ip and hostname on solaris

dears does any one know in steps how can i change ip and hostname on solaris (10 Replies)
Discussion started by: murad.jaber
10 Replies

6. UNIX for Dummies Questions & Answers

Solaris - unknown hostname - how can I change hostname?

Hello, I am new to Solaris. I am using stand alone Solaris 10.0 for test/study purpose and connecting to internet via an ADSL modem which has DHCP server. My Solaris is working on VMWare within winXP. My WinXP and Solaris connects to internet by the same ADSL modem via its DHCP at the same... (1 Reply)
Discussion started by: XNOR
1 Replies

7. UNIX for Advanced & Expert Users

How to stop DHCP from changing hostname

Hi, greetings. I have installed OS 10 on sunfire 240. FOr now let dhcp to give IP address but it keeps chaning hostname. How do I stop this? thanks Jaya (3 Replies)
Discussion started by: vr76413
3 Replies

8. UNIX for Dummies Questions & Answers

Hostname lost when changing user

Hello to all, Does anyone have a clue for the following problem? When I enter into a terminal console window logged as axadmin user, what I find in the prompt is: “axadmin@sunhost$”. But, when I switch to root user, with the command “su -“ and enter the correct password, user root is... (4 Replies)
Discussion started by: Pablo_BR
4 Replies

9. UNIX for Advanced & Expert Users

changing owner & grp of a file

Hi, I have a file in my system as below My user and grp id is sns / sns -rwxrwxrwx 1 sns sns 6012357 Sep 27 06:01 sample Is there a way to change the owner and grp of this file to app / app ... ie. as given below -rwxrwxrwx 1 app app 6012357 Sep 27 06:01 sample I guessed... (1 Reply)
Discussion started by: Sabari Nath S
1 Replies

10. UNIX for Dummies Questions & Answers

what happen when changing Hostname?

I 'm using RH 7.2 Genome in the Network Configuration I change therer are two places one for static hostname for my machine and in DNS hostname I don't know what happen when restarting my PC when connecting using dialer I can't browse the Internet also I can't use sendmail .......Server timeout... (2 Replies)
Discussion started by: atiato
2 Replies
Login or Register to Ask a Question