[ug-atlosug] ug-atlosug Digest, Vol 23, Issue 2

mike svoboda michael.s.svoboda at gmail.com
Sun Sep 16 15:24:17 PDT 2007


Russ:

Give this a shot.

If you want to have a network interface grab a DHCP assigned address without
a reboot, first figure out what your network interface names are called.
You can do this two ways.

# ifconfig -a plumb

That will plumb all network interfaces available on the machine.  You can
then see what NICs are available with a

# ifconfig -a


Or, you can issue

# dladm show-devs

Either way, once you find out the name of your network interface, you can do
either two of the following  (say it returns e1000g0 as your NIC)

# ifconfig e1000g0 dhcp

That immediately grabs a DHCP assigned address on that network interface
without a reboot.

To make it persistant across reboots, touch the file  /etc/dhcp.<nic>

# touch /etc/dhcp.e1000g0


Good luck!

Mike

On 9/16/07, ug-atlosug-request at opensolaris.org <
ug-atlosug-request at opensolaris.org> wrote:
>
> Send ug-atlosug mailing list submissions to
>         ug-atlosug at opensolaris.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://mail.opensolaris.org/mailman/listinfo/ug-atlosug
> or, via email, send a message with subject or body 'help' to
>         ug-atlosug-request at opensolaris.org
>
> You can reach the person managing the list at
>         ug-atlosug-owner at opensolaris.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of ug-atlosug digest..."
>
>
> Today's Topics:
>
>    1. Setting up DHCP on Solaris 10 (Russell Delo)
>    2. Re: Setting up DHCP on Solaris 10 (Matty)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 15 Sep 2007 22:54:43 -0400
> From: "Russell Delo" <10rushx0 at gmail.com>
> Subject: [ug-atlosug] Setting up DHCP on Solaris 10
> To: "Atlanta Sloaris users group" <ug-atlosug at opensolaris.org>
> Message-ID:
>         <df3c32a00709151954x4b220e36hb30e14d36529fb38 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hello from: Russ Delo  (10rushx0 at gmail.com)
>
>    I am new to UNIX and Solaris 10, I have been unable to get DHCP setup
> on
> my desk top install.
>
>   I have looked at the online help and have the book (The Complete
> Reference, Solaris 10) the procedure in the book looks nothing like the
> screens that I see.
>
>   The on line docs. I believe assume that you have some experience with
> Solaris 10.   (which I have almost none)
>
>    Any help to point me in the right direction would be welcome.
>
>
>
> Thank you for any help given
>
>
> Russ Delo
>
> 10rushx0 at gmail.com
>
>
> From: Winston Salem, NC.
>
> Cell  (336) 407-1102
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://mail.opensolaris.org/pipermail/ug-atlosug/attachments/20070915/b43179ee/attachment-0001.html
>
> ------------------------------
>
> Message: 2
> Date: Sun, 16 Sep 2007 08:24:03 -0400
> From: Matty <matty91 at gmail.com>
> Subject: Re: [ug-atlosug] Setting up DHCP on Solaris 10
> To: "Russell Delo" <10rushx0 at gmail.com>
> Cc: Atlanta Sloaris users group <ug-atlosug at opensolaris.org>
> Message-ID:
>         <8bfce36e0709160524r498b0ebema7301e435e59d7b6 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On 9/15/07, Russell Delo <10rushx0 at gmail.com> wrote:
> > Hello from: Russ Delo  (10rushx0 at gmail.com)
> >
> >    I am new to UNIX and Solaris 10, I have been unable to get DHCP setup
> on
> > my desk top install.
> >
> >   I have looked at the online help and have the book (The Complete
> > Reference, Solaris 10) the procedure in the book looks nothing like the
> > screens that I see.
> >
> >   The on line docs. I believe assume that you have some experience with
> > Solaris 10.   (which I have almost none)
> >
> >    Any help to point me in the right direction would be welcome.
>
> Hi Russ,
>
> Where are you stuck? If you can provide some additional details, I'm
> sure the folks on the list will be able to help.
>
> - Ryan
> --
> UNIX Administrator
> http://prefetch.net
>
>
> ------------------------------
>
> _______________________________________________
> ug-atlosug mailing list
> ug-atlosug at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/ug-atlosug
>
>
> End of ug-atlosug Digest, Vol 23, Issue 2
> *****************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.opensolaris.org/pipermail/ug-atlosug/attachments/20070916/184e1246/attachment.html 


More information about the ug-atlosug mailing list