Re: dhcp startup

From: Searle (jmsearle_at_xxxtiscali.co.uk)
Date: 12/28/03


Date: Sun, 28 Dec 2003 12:20:30 +0000

Hi Peter,

I read your feedback and the list of configuration files is very useful
for me. That gives me some locations to check where my setup might be
going wrong.

Indeed, the funny thing is that I think my dhcp client is receiving an
address from the server (the ifcf file is changing) but I still cannot
access the network.

I believe I need to declare the physical interface (eth-pcmcia-eth0) to
the network (eth0).

Rgds,
Alan.

P.T. Breuer wrote:
> Scott <scott@somewhere.invalid> wrote:
>
>>Well I don't use SuSE, but I've found that in general Linux DHCP
>
>
> No you haven't found - your experience is the product of your own
> perceptions and shortcomings, and is not a fact at all!
>
>
>>client software is pretty incomplete - if you can use a fixed address,
>>do so. I recently set up dhcp + ddns (running on linux servers) for
>
>
> No you didn't set it up, in the common semantics of the phrase.
>
>
>>our company subnets. The Windows machines all work great, they receive
>>all information required, Samba assigns the network drives, and DNS is
>>updated. However, The linux clients just about manage to find an IP
>>address, netmask and default route, and that's it. DNS, domain name,
>
>
> They get whatever you tell them to get from a dhcp server. Configure
> your dhcp client software appropriately! I use dhclient and the config
> is is
>
> /etc/dhclient.conf
>
> and in case you wanted to do anything at all, the script that
> interprets the config and which is called by dhclient with certain
> parameters when it makes contact is
>
> /etc/dhclient-script
>
> and can be altered any way you please to do anything at all that you
> want to do. You'll find manpages for both these elements in the
> package. What you usually want to do is modify one of
>
> /etc/dhclient-{entry,exit}-hooks
>
> which are the intended modification points. The documentation states
> how these scripts are called and under what circumstances. But you
> will not normally need anything special. This system is common across
> many operating systems, not merely linux, so you can be SURE that your
> criticisms are unfounded:
>
> AUTHOR
> dhclient-script(8) has been written for the Internet Soft
> ware Consortium by Ted Lemon <mellon@fugue.com> in cooper
> ation with Vixie Enterprises. To learn more about the
> Internet Software Consortium, see http://www.vix.com/isc.
> To learn more about Vixie Enterprises, see
> http://www.vix.com.
>
>
>>search domain etc all have to be hard-coded (which kind of defeats the
>
>
> No they don't! I at least have
>
> request domain-name, domain-name-servers;
>
> in my dhclient.conf!
>
>
>>object of dhcp), and I assume some other software is required for the
>>Linux clients to announce their hostnames and addresses to the DNS for
>>dynamic updates, since by default, they don't do that either.
>
>
> Uh, fella, you must be crazed. ddns runs on a dns server - it's a dns
> protocol, and the best place to talk to it from is the dhcp server.
> Wenever the dhcp server adds a new lease for a client, on my machines it
> tells the dns server all about it via the ddns protocol and the dns
> server updates its database accordingly. Tools for talking via ddns
> come with your dns server.
>
> I've been going with this particular setup for about 4 years!
>
>
>>It's not too big a deal for us, since all the linux servers have fixed
>
>
> Yes it is too big a deal for you.
>
>
>>addresses, as well as my Gentoo desktop, with fixed entries in DNS.
>>Everyone else in the company uses Windows on the desktop, which works
>>fine. It's a shame it doesn't work for Linux; I'm sure it'll be fixed
>
>
> I don't know if you know you are blowing! But I almost suspect you are
> doing it deliberately.
>
>
>>eventually...
>
>
> It has been fixed - years and years ago. The problems I originally had
> when I first started doing dhcp + ddns years ago were that the bind
> server overwrites its zone file when one does a ddns update, thus losing
> all ones carefully written comments and TXT entries. That sukkzz. The
> solution is to use a different zone file for humans, and copy it to the
> real zone file at dns startup, after having scanned the lease file in
> order to add in the validly leased dynamic info. Same for when humans
> do a zone data change.
>
> Peter



Relevant Pages

  • Re: DHCP IP lease renewal ok, but a new PC can not obtain an IP ("An e
    ... I guess the problem seen with DHCP from PC's is a symptom of another ... Note that both robert and tina are blade servers within the save blade ... Connection-specific DNS Suffix. ... I.e. DNS servers has their own IP as the first DNS server and another as ...
    (microsoft.public.windows.server.networking)
  • Re: Domain controllers
    ... other DNS was still on the zones transferred to the new domain controller. ... Both DHCP and WINS databases CAN be move -- there are KB ... from one server to another -- search Googgle against Microsoft ...
    (microsoft.public.win2000.active_directory)
  • Re: where is the outlook 2003 product key on the SBS2003 R2 DVD
    ... tracking is easier from the server. ... All you need to do is make sure there are no other DHCP servers running on ... The only time I have seen the connectcomputer error you mentioned about DNS ... I couldn't get the client to ...
    (microsoft.public.windows.server.sbs)
  • Re: MY DNS TROUBLES
    ... Event 5504 is logged when a Windows Server 2003-based DNS server receives a ... This way, the DHCP ... in the DNS correctly. ... Force DHCP to register all records, Forward and PTR, (whether a client ...
    (microsoft.public.windows.server.general)
  • Re: Sending hostname with DHCP
    ... default route and the default dns host. ... Below is my /etc/resolv.conf created by the dhcp client. ... > This seems to depend on the client as much as the server. ...
    (Fedora)