> thx 4 the reply swalker, but i have did this "man
> ifconfig" and i cant seem to get any help from there.
> Or maybe i have overlook some impt stuff? Pls comment

>From the man page:

...
     ifconfig  interface {auto-dhcp |  dhcp}   [primary]  [  wait
     seconds]   drop | extend | inform | ping | release | start |
     status
....
  DHCP Configuration
     The third and fourth forms of this command are used to  con-
     trol the Dynamic Host Configuration Protocol ("DHCP") confi-
     guring of the interface. DHCP is only  available  on  inter-
     faces  for  which  the address family is inet. In this mode,
     ifconfig is used to control operation of dhcpagent(1M),  the
     DHCP  client  daemon. Once an interface is placed under DHCP
     control by using the start operand, ifconfig should not,  in
     normal  operation,  be used to modify the address or charac-
     teristics of the interface. If the address of  an  interface



SunOS 5.10          Last change: 18 May 2006                    1






System Administration Commands                       ifconfig(1M)



     under  DHCP  is changed, dhcpagent will remove the interface
     from its control.

-------------

So in your case, you probably want to use ifconfig to do something like:

ifconfig xxx dhcp release
ifconfig xxx dhcp start

where xxx is the name of your network interface as seen in the output from 
"ifconfig -a"
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to