PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > Re: DHCPD giving IP to wrong machine
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

Re: DHCPD giving IP to wrong machine

Réponse
 
LinkBack Outils de la discussion
Vieux 26/07/2007, 23h20   #1
Clarence W. Robison
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: DHCPD giving IP to wrong machine

On 26 Jul 2007 at 16:05, Clarence W. Robison wrote:

> I have an entry in my dhcp3 dhcpd.conf which says that host xyz with
> certain MAC address should receive a fixed ip address. The server does
> not respect that entry and gives the IP address to another host with a
> different MAC address. I don't quite understand why it, dhcpd, should do
> that. Is normal behavior?
>


OPPS, the message left before I could paste snippets of the conf file.
------------ dhcpd.conf ---------------------------------------------- # #
Global Options pid-file-name "/var/run/dhcpd.pid"; lease-file-name
"/var/lib/dhcp3/dhcpd.leases"; log-facility local1; ignore client-updates;
ddns-update-style none; option domain-name-servers XXX.XXX.XXX.3,
XXX.XXX.XXX.223; default-lease-time 3600; max-lease-time
14400; authoritative; subnet XXX.XXX.XXX.0 netmask
255.255.255.192 { # Default Options
option routers XXX.XXX.XXX.1;
option subnet-mask 255.255.255.192;
option domain-name "XXXXXXXX.XXXXXX.XXX";
option time-offset -25200; # Mountain Standard Time
option ntp-servers XXX.XXX.XXX.3, XXX.XXX.XXX.58;

range dynamic-bootp XXX.XXX.XXX.22 XXX.XXX.XXX.60;

host xxx {
hardware ethernet 00:13:20:2d:31:d1;
fixed-address XXX.XXX.XXX.22;
}

host yyy {
hardware ethernet 00:03:47:f4:6b:8e;
fixed-address XXX.XXX.XXX.23;
}

........ snipped out 27 fixed-address blocks ..........

host zzz {
hardware ethernet 00:19:d1:05:ce:fd;
fixed-address XXX.XXX.XXX.50;
}
}

-------------------- endof conf -----------------------
The ip address which are not "fixed" in the conf file do not appear to be
all in use when this happens.

Any advice would be appreciated.

TIA
Clarence


--
Clarence W. Robison, P.E.
robison@kimberly.uidaho.edu
208-423-6610

------- End of forwarded message ---------
Clarence W. Robison, P.E.
robison@kimberly.uidaho.edu
208-423-6610


  Réponse avec citation
Vieux 27/07/2007, 02h40   #2
Wayne Topa
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: DHCPD giving IP to wrong machine

Clarence W. Robison(robison@kimberly.uidaho.edu) is reported to have said:
Content-Description: Mail message body
> On 26 Jul 2007 at 16:05, Clarence W. Robison wrote:
>
> > I have an entry in my dhcp3 dhcpd.conf which says that host xyz with
> > certain MAC address should receive a fixed ip address. The server does
> > not respect that entry and gives the IP address to another host with a
> > different MAC address. I don't quite understand why it, dhcpd, should do
> > that. Is normal behavior?
> >

>
> OPPS, the message left before I could paste snippets of the conf file.
> ------------ dhcpd.conf ---------------------------------------------- # #
> Global Options pid-file-name "/var/run/dhcpd.pid"; lease-file-name
> "/var/lib/dhcp3/dhcpd.leases"; log-facility local1; ignore client-updates;
> ddns-update-style none; option domain-name-servers XXX.XXX.XXX.3,
> XXX.XXX.XXX.223; default-lease-time 3600; max-lease-time
> 14400; authoritative; subnet XXX.XXX.XXX.0 netmask
> 255.255.255.192 { # Default Options
> option routers XXX.XXX.XXX.1;
> option subnet-mask 255.255.255.192;
> option domain-name "XXXXXXXX.XXXXXX.XXX";
> option time-offset -25200; # Mountain Standard Time
> option ntp-servers XXX.XXX.XXX.3, XXX.XXX.XXX.58;
>
> range dynamic-bootp XXX.XXX.XXX.22 XXX.XXX.XXX.60;
>
> host xxx {
> hardware ethernet 00:13:20:2d:31:d1;
> fixed-address XXX.XXX.XXX.22;
> }
>

No expert here, but as mine works, and differs from your config I'll
show ehat I had to do.

in my /etc/dhcp3/dhcpd.conf (not the /etc/dhcpd.conf) I have

host classy {
hardware ethernet XX:XX:XX:XX:XX:XX;
fixed-address 192.168.1.5;
option host-name "classy.mtntop.home";
}

HTH
Wayne

--
Warning, keyboard not found. Press Enter to continue.
__________________________________________________ _____


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 28/07/2007, 18h20   #3
Rob Sims
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: DHCPD giving IP to wrong machine

On Thu, Jul 26, 2007 at 04:18:39PM -0700, Clarence W. Robison wrote:
Content-Description: Mail message body
> On 26 Jul 2007 at 16:05, Clarence W. Robison wrote:
>
> > I have an entry in my dhcp3 dhcpd.conf which says that host xyz with
> > certain MAC address should receive a fixed ip address. The server does
> > not respect that entry and gives the IP address to another host with a
> > different MAC address. I don't quite understand why it, dhcpd, should do
> > that. Is normal behavior?
> >

>
> OPPS, the message left before I could paste snippets of the conf file.
> ------------ dhcpd.conf ---------------------------------------------- # #
> Global Options pid-file-name "/var/run/dhcpd.pid"; lease-file-name
> "/var/lib/dhcp3/dhcpd.leases"; log-facility local1; ignore client-updates;
> ddns-update-style none; option domain-name-servers XXX.XXX.XXX.3,
> XXX.XXX.XXX.223; default-lease-time 3600; max-lease-time
> 14400; authoritative; subnet XXX.XXX.XXX.0 netmask
> 255.255.255.192 { # Default Options
> option routers XXX.XXX.XXX.1;
> option subnet-mask 255.255.255.192;
> option domain-name "XXXXXXXX.XXXXXX.XXX";
> option time-offset -25200; # Mountain Standard Time
> option ntp-servers XXX.XXX.XXX.3, XXX.XXX.XXX.58;
>
> range dynamic-bootp XXX.XXX.XXX.22 XXX.XXX.XXX.60;


Here, you tell dhcpd it's OK to hand out 22 - 60 to non-matching hosts,
so it does just that. Fixed address and range assigned addresses should
not overlap.

> host xxx {
> hardware ethernet 00:13:20:2d:31:d1;
> fixed-address XXX.XXX.XXX.22;
> }

--
Rob

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGq3oDnvKppSZW8osRAhQQAJ0TZcArvntOSAEFPsVwdx kdfDSICACeM5mM
hYQhz6dT6IR4H51BF8plwnw=
=vzGh
-----END PGP SIGNATURE-----

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 19h54.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,11410 seconds with 11 queries