[Sunhelp] Reconfigure networking on Solaris 7?

Erik Parker eparker at mindsec.com
Tue Aug 17 11:47:08 CDT 1999


Erm. Its fairly easy to switch network configs..

etc /etc/nsswitch.conf
change /etc/hosts
change /etc/defaultrouter
route add default newgateway
edit /etc/resolv.conf  with new nameservers, domain, and that jazz.

Nothing more to it. Its simple.

On Mon, 16 Aug 1999, Gregory Leblanc wrote:

> Well, it seems that Murphy's law has struck again!  I found it in the
> Solaris2 FAQ, although not the same version as on Bill's page.  It's under
> section 3.48 of this version, and just run /usr/sbin/sys-unconfig in case
> any of you other sun/solaris newbies out there were wondering.  I'd still
> like to know where these files are, so that I can write a script to switch
> network configs almost on demand.  :)
> 	Greg
> 
> > -----Original Message-----
> > From: Gregory Leblanc [mailto:GLeblanc at cu-portland.edu]
> > Sent: Monday, August 16, 1999 3:43 PM
> > To: Sun Help List (E-mail)
> > Subject: [Sunhelp] Reconfigure networking on Solaris 7?
> > 
> > 
> > Can anybody tell me briefly how to get Solaris 7 to accept new network
> > settings on bootup, or how to create two network (profiles) 
> > with different
> > IP/hostname/subnet/dns?  I've been poking around on some of 
> > the links from
> > sunhelp.org, but I haven't found it yet.  I'd like to have two sets of
> > config files, or at least have a way to tell it to ask for 
> > config when I
> > boot.  Using ifconfig is a bit of a pain.  Thanks,
> > 	Greg
> > 
> > _______________________________________________
> > SunHELP maillist  -  SunHELP at sunhelp.org
> > http://www.sunhelp.org/mailman/listinfo/sunhelp
> > 
> 
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
> 


Erik Parker
eparker at mindsec.com







More information about the SunHELP mailing list