l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
October 20: Web Application Hacking: How to Make and Break Security on the Web
Next Installfest:
TBD
Latest News:
Oct. 10: LUGOD Installfests coming again soon
Page last updated:
2002 Aug 08 18:04

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox-tech] dhcp question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vox-tech] dhcp question



this is the first time i've ever done anything with dhcp.  please regard
me as a newbie here.

from reading the man page, it sounds like:

   pump -i eth0

or

   pump -i eth0 -l 120   (for 120 hours)

will get an IP assigned to a machine.  right?   does this also configure
DNS servers?   will it also take care of the default gateway?


==============================================================

in /etc/networks/interface (debian), i'm thoroughly confused by the man
page:


   The dhcp Method
       This method may be used to obtain an address via DHCP with
       any  of the tools: dhclient, pump (Linux 2.2.x and newer),
       udhcpc (Linux 2.2.x and newer), or dhcpcd. If you  have  a
       complicated  DHCP setup you should note that some of these
       clients use their own  configuration  files,  rather  than
       obtaining their configuration via ifup.

       Options

              hostname hostname
                     Hostname  to  be  requested  (pump,  dhcpcd,
                     udhcpc)

              leasehours leastime
                     Preferred lease time in hours (pump)

              leasetime leasetime
                     Preferred lease time in seconds (dhcpcd)

              vendor vendor
                     Vendor class identifier (dhcpcd)

              client client_id
                     Client identifier (dhcpcd, udhcpc)

two questions:

1.  how does ifup know which dhcp client to use?   what if for some
   reason i *really* wanted to use pump?   or dhcpd?   how can i specify
   one or the other?

2. are all these options "really" optional?  could a valid "working"
   stanza be as simple as:


      iface eth0 inet dhcp


   and would "ifup eth0" do everything for me from this one line?

pete

-- 
GPG Fingerprint: B9F1 6CF3 47C4 7CD8 D33E  70A9 A3B9 1945 67EA 951D
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.