The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
changing ip and hostname on solaris murad.jaber SUN Solaris 10 02-23-2008 08:04 AM
Solaris - unknown hostname - how can I change hostname? XNOR UNIX for Dummies Questions & Answers 1 03-29-2007 07:52 PM
How to stop DHCP from changing hostname vr76413 UNIX for Advanced & Expert Users 3 01-20-2007 07:04 PM
Hostname lost when changing user Pablo_BR UNIX for Dummies Questions & Answers 4 01-31-2006 05:52 PM
what happen when changing Hostname? atiato UNIX for Dummies Questions & Answers 2 02-14-2002 05:20 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 07-18-2007
Registered User
 

Join Date: Mar 2005
Posts: 36
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
Reply With Quote
Forum Sponsor
  #2  
Old 07-18-2007
Registered User
 

Join Date: Mar 2005
Posts: 36
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.
Reply With Quote
  #3  
Old 02-17-2008
Registered User
 

Join Date: Feb 2008
Location: India
Posts: 4
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..................
Reply With Quote
  #4  
Old 02-17-2008
Registered User
 

Join Date: Oct 2007
Location: Jakarta - Indonesia
Posts: 15
What about

# sys-unconfig
Reply With Quote
  #5  
Old 02-17-2008
Registered User
 

Join Date: Feb 2008
Location: India
Posts: 4
let me check is this is somewhat related to system-config-network as in linux ....
Reply With Quote
  #6  
Old 02-29-2008
Registered User
 

Join Date: Feb 2008
Posts: 27
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.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
linux, solaris

Thread Tools
Display Modes




All times are GMT -7. The time now is 01:29 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0