To communicate with a DHCP server you will need a DHCP client such as
dhcpcd or dhcp-client.  As for setting up an alias IP via DHCP, I am not
sure if you can (I would tend doubt it).  If I were to hazard a guess
though, dhcpcd -d eth0:1

Good luck,

     Woody


On Fri, 2002-09-06 at 12:10, Alan Wilter Sousa da Silva wrote:
> 
> Hi list,
> 
>       I have a linux box with a fix IP within a class.  Also in my
> network there are others computers (Windoze) within another class with
> their IPs set by a DHCP server.
>       I'm trying to figure out how to set a IP alias to eth0 but I don't
> know which IP address to set. I mean, I know what "ifconfig eth0:1
> 'a_ip_address' up" does but I would like to get a free ip from our DHCP
> server and so set this alias.
> 
>       How could I do to find out a available IP from the DHCP server?
> 
>       Perhaps, later, I'd be able to build a script to do it
> automatically or, better, MDK can do this but I'm not knowing how to
> configure it.
> 
>       I would appreciate any idea here.
> 
> Many thanks in advance.
> 
> -----------------------
> Alan Wilter S. da Silva
> -----------------------
>  Laborat�rio de F�sica Biol�gica
>   Instituto de Biof�sica Carlos Chagas Filho
>    Universidade do Brasil/UFRJ
>     Rio de Janeiro, Brasil
> 
> 
> ----
> 

> Want to buy your Pack or Services from MandrakeSoft? 
> Go to http://www.mandrakestore.com
-- 
     Woody

---------------------------------------------------------------
Gatewood Green            Network/System Administrator
Email:                    [EMAIL PROTECTED]
http://www.linif.org/     Linux in Idaho Falls Linux User Group
---------------------------------------------------------------


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to