Hola Ram�n,

/etc/netmasks

There, You put the network address and network mask. Also don't forget about the
other files mentioned. In my solaris8, the hostname goes into /etc/hostname.eri0
(not .hme0). This comes from "ifconfig -a". The same name of the ethernet
interface should be the extension of that file.

Suerte,

Leo

----- Original Message ----- 
From: "Ram�n Alvarez Rayo" <[EMAIL PROTECTED]>
To: "Solaris-Users mailing list" <[EMAIL PROTECTED]>
Sent: Friday, June 06, 2003 12:44
Subject: Re: [Solaris-Users] Command Line Commands to change Host Name &
IPaddress - HELP


ok,

my box is solaris 2.7, how is it works int solaris 2.8 and 9 ?

thanks.


At 11:44 a.m. 06/06/2003 -0400, you wrote:
>No... any "ifconfig" command will persist only in the current session. At the
>next reboot, you are with the old config.
>
>Leo
>
>----- Original Message -----
>From: "Dilip M" <[EMAIL PROTECTED]>
>To: "Solaris-Users mailing list" <[EMAIL PROTECTED]>
>Sent: Friday, June 06, 2003 10:48
>Subject: Re: [Solaris-Users] Command Line Commands to change Host Name &
>IPaddress - HELP
>
>
>Ramon,
>
>This netmask will remain across reboots :)) just wonderning  ?
>
>
>--- Ramon Alvarez - Enitel <[EMAIL PROTECTED]> wrote:
> > hi,
> >
> > you have to change the following files:
> >
> > /etc/hosts, here you have to put the ip and the name.
> >
> > /etc/hostname.hme0, here you have to put the new name, hme0 is for
> > fastethertnet interface if you have ethernet interface the file is
> > hostname.le0.
> >
> > /etc/defaultrouter, your new gateway
> > /etc/defaultdomain, if you will change of domain.
> > /etc/nodename, you host name
> >
> > you have to change the mask with ifconfig:
> > ifconfig hme0 down
> > ifconfig hme0 a.b.c.d netmask 255.255.255.XXX
> > ifconfig hme0 up
> >
> > then you have to restart the server.
> >
> >
> > ------------------------------------------------------------------------
> > Ramon Alvarez Rayo
> > Contacto tecnico
> > e-mail: [EMAIL PROTECTED]
> > -----------------------------------------------------------------------
> >
> > On Fri, 6 Jun 2003, puthusseri wrote:
> >
> > > Hello,
> > >
> > >
> > >
> > > I am a novice in Solaris. Can someone help me, please, with the
> command line
> > commands to change host name and IP address (including IP address,
> subnet mask
>and
> > gateway), since I have to move the box from one location to another.
> > >
> > >
> > >
> > > Thanks in advance.
> > >
> > >
> > >
> > > Best regards,
> > >
> > > Puthusseri
> > >
> > >
> > >
> >
> > _______________________________________________
> > Solaris-Users mailing list
> > [EMAIL PROTECTED]
> > http://www.filibeto.org/mailman/listinfo/solaris-users
>
>
>__________________________________
>Do you Yahoo!?
>Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
>http://calendar.yahoo.com
>_______________________________________________
>Solaris-Users mailing list
>[EMAIL PROTECTED]
>http://www.filibeto.org/mailman/listinfo/solaris-users
>
>_______________________________________________
>Solaris-Users mailing list
>[EMAIL PROTECTED]
>http://www.filibeto.org/mailman/listinfo/solaris-users



_______________________________________________
Solaris-Users mailing list
[EMAIL PROTECTED]
http://www.filibeto.org/mailman/listinfo/solaris-users

_______________________________________________
Solaris-Users mailing list
[EMAIL PROTECTED]
http://www.filibeto.org/mailman/listinfo/solaris-users

Reply via email to