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
