Send dhcp-users mailing list submissions to
[email protected]
Advertising
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.isc.org/mailman/listinfo/dhcp-users
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of dhcp-users digest..."
Today's Topics:
1. RE: fixed-address problem (Patrick Trapp)
2. Re: fixed-address problem (Graham Clinch)
3. RE: fixed-address problem (Sherman Lilly)
4. Re: fixed-address problem (Bernard Fay)
----------------------------------------------------------------------
Message: 1
Date: Tue, 26 Jan 2016 21:30:24 +0000
From: Patrick Trapp <[email protected]>
To: Users of ISC DHCP <[email protected]>
Subject: RE: fixed-address problem
Message-ID:
<1d507d610594d14f86d40d77c17e9e66264bc...@exchangedsb.ruralnex.com>
Content-Type: text/plain; charset="iso-8859-1"
Ah, since you called out the subnet, I looked at the subnet. Not the host
address where the error appears to be. My apologies.
________________________________
From: [email protected] [[email protected]] on
behalf of Sherman Lilly [[email protected]]
Sent: Tuesday, January 26, 2016 3:27 PM
To: Users of ISC DHCP
Subject: RE: fixed-address problem
Your subnet clause is
subnet 192.168.99.0 netmask 255.255.255.0 {
Your fixed address is
fixed-address 192.168.98.101;
You can't service a subnet out side of the subnet in your declaration
Sherman Lilly
(865) 215-3536
Senior Systems Administrator
Knox County
________________________________
From: [email protected] [[email protected]] on
behalf of Patrick Trapp [[email protected]]
Sent: Tuesday, January 26, 2016 4:24 PM
To: Users of ISC DHCP
Subject: RE: fixed-address problem
I don't see a problem with the subnet. OP just isn't using the entire pool,
right?
I'm not sure what the effect of the "group" declaration is. I believe on my
configurations where I'm assigning a static address, I'm just using a "host"
declaration. I don't declare these hosts within the subnet declaration, either.
I would be inclined to try the host declaration outside the subnet first.
________________________________
From: [email protected] [[email protected]] on
behalf of Sherman Lilly [[email protected]]
Sent: Tuesday, January 26, 2016 1:35 PM
To: Users of ISC DHCP
Subject: RE: fixed-address problem
Your subnet is wrong
Sherman Lilly
(865) 215-3536
Senior Systems Administrator
Knox County
________________________________
From: [email protected] [[email protected]] on
behalf of Bernard Fay [[email protected]]
Sent: Tuesday, January 26, 2016 2:30 PM
To: [email protected]
Subject: fixed-address problem
Hello everyonw,
I am unable to assign fixed IP addresses to host.
I have the following configuration:
option domain-name "cts.org<http://cts.org>";
option domain-name-servers ns1.cts.org<http://ns1.cts.org>;
default-lease-time 300;
max-lease-time 1500;
subnet 192.168.99.0 netmask 255.255.255.0 {
# range 192.168.99.201 192.168.99.250;
option broadcast-address 192.168.99.255;
option routers 192.168.99.1;
option domain-name "cts.org<http://cts.org>";
group {
host vault {
option host-name "vault.cts.org<http://vault.cts.org>";
hardware ethernet 52:af:12:cf:87:c5;
fixed-address 192.168.98.101;
}
}
}
With "range 192.168.99.201 192.168.99.250;" the host is assigned the first
available IP address. If I disable "range" like in the shown configuration, the
log says: "dhcpd: DHCPDISCOVER from 52:af:12:cf:87:c5 via eth1: network
192.168.99.0/24<http://192.168.99.0/24>: no free leases".
This ISC DHCP 4.2.5.
What am I doing wrong?
Thanks,
Bernard
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://lists.isc.org/pipermail/dhcp-users/attachments/20160126/620bafe5/attachment-0001.html>
------------------------------
Message: 2
Date: Tue, 26 Jan 2016 21:32:25 +0000
From: Graham Clinch <[email protected]>
Cc: [email protected]
Subject: Re: fixed-address problem
Message-ID: <[email protected]>
Content-Type: text/plain; charset=windows-1252; format=flowed
On 26/01/2016 19:30, Bernard Fay wrote:
> subnet 192.168.99.0 netmask 255.255.255.0 {
> [...]
> fixed-address 192.168.98.101;
> [...]
> What am I doing wrong?
There's no subnet defined that contains the fixed-address, so dhcpd
can't offer that address to a client. Perhaps you meant to allocate
'192.168.99.101', or use a different netmask?
Unrelated to the problem, option inheritance can work unexpectedly when
hosts are defined within subnets - you might find this less confusing in
future:
=-=
subnet 192.168.99.0 netmask 255.255.255.0 {
# range 192.168.99.201 192.168.99.250;
option broadcast-address 192.168.99.255;
option routers 192.168.99.1;
option domain-name "cts.org";
}
group {
host vault {
option host-name "vault.cts.org";
hardware ethernet 52:af:12:cf:87:c5;
fixed-address 192.168.98.101;
}
}
=-=
(additionally the 'empty' group (i.e. no options defined) doesn't really
gain anything in this case, so you could move the 'host' to the outer
layer and dispense with the group entirely)
Graham
------------------------------
Message: 3
Date: Tue, 26 Jan 2016 21:34:50 +0000
From: Sherman Lilly <[email protected]>
To: Users of ISC DHCP <[email protected]>
Subject: RE: fixed-address problem
Message-ID:
<775174236735ba4e9c606781c315ef870376706...@main-mailbox3.knox-main.org>
Content-Type: text/plain; charset="iso-8859-1"
No problem. Typos are the root of all evil.
Sherman Lilly
(865) 215-3536
Senior Systems Administrator
Knox County
________________________________
From: [email protected] [[email protected]] on
behalf of Patrick Trapp [[email protected]]
Sent: Tuesday, January 26, 2016 4:30 PM
To: Users of ISC DHCP
Subject: RE: fixed-address problem
Ah, since you called out the subnet, I looked at the subnet. Not the host
address where the error appears to be. My apologies.
________________________________
From: [email protected] [[email protected]] on
behalf of Sherman Lilly [[email protected]]
Sent: Tuesday, January 26, 2016 3:27 PM
To: Users of ISC DHCP
Subject: RE: fixed-address problem
Your subnet clause is
subnet 192.168.99.0 netmask 255.255.255.0 {
Your fixed address is
fixed-address 192.168.98.101;
You can't service a subnet out side of the subnet in your declaration
Sherman Lilly
(865) 215-3536
Senior Systems Administrator
Knox County
________________________________
From: [email protected] [[email protected]] on
behalf of Patrick Trapp [[email protected]]
Sent: Tuesday, January 26, 2016 4:24 PM
To: Users of ISC DHCP
Subject: RE: fixed-address problem
I don't see a problem with the subnet. OP just isn't using the entire pool,
right?
I'm not sure what the effect of the "group" declaration is. I believe on my
configurations where I'm assigning a static address, I'm just using a "host"
declaration. I don't declare these hosts within the subnet declaration, either.
I would be inclined to try the host declaration outside the subnet first.
________________________________
From: [email protected] [[email protected]] on
behalf of Sherman Lilly [[email protected]]
Sent: Tuesday, January 26, 2016 1:35 PM
To: Users of ISC DHCP
Subject: RE: fixed-address problem
Your subnet is wrong
Sherman Lilly
(865) 215-3536
Senior Systems Administrator
Knox County
________________________________
From: [email protected] [[email protected]] on
behalf of Bernard Fay [[email protected]]
Sent: Tuesday, January 26, 2016 2:30 PM
To: [email protected]
Subject: fixed-address problem
Hello everyonw,
I am unable to assign fixed IP addresses to host.
I have the following configuration:
option domain-name "cts.org<http://cts.org>";
option domain-name-servers ns1.cts.org<http://ns1.cts.org>;
default-lease-time 300;
max-lease-time 1500;
subnet 192.168.99.0 netmask 255.255.255.0 {
# range 192.168.99.201 192.168.99.250;
option broadcast-address 192.168.99.255;
option routers 192.168.99.1;
option domain-name "cts.org<http://cts.org>";
group {
host vault {
option host-name "vault.cts.org<http://vault.cts.org>";
hardware ethernet 52:af:12:cf:87:c5;
fixed-address 192.168.98.101;
}
}
}
With "range 192.168.99.201 192.168.99.250;" the host is assigned the first
available IP address. If I disable "range" like in the shown configuration, the
log says: "dhcpd: DHCPDISCOVER from 52:af:12:cf:87:c5 via eth1: network
192.168.99.0/24<http://192.168.99.0/24>: no free leases".
This ISC DHCP 4.2.5.
What am I doing wrong?
Thanks,
Bernard
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://lists.isc.org/pipermail/dhcp-users/attachments/20160126/a0731f64/attachment-0001.html>
------------------------------
Message: 4
Date: Tue, 26 Jan 2016 16:53:56 -0500
From: Bernard Fay <[email protected]>
To: Users of ISC DHCP <[email protected]>
Subject: Re: fixed-address problem
Message-ID:
<CAH3AE4bMpZ7h+8YiLgt=sfhf00ak1pzqwobpiynpntrankw...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
I just stopped banging my head against the wall.. Yes, a ..... typo! It
should have been "fixed-address 192.168.99.101;"
Damn!
Thanks Sherman
On Tue, Jan 26, 2016 at 4:34 PM, Sherman Lilly <[email protected]
> wrote:
> No problem. Typos are the root of all evil.
>
> Sherman Lilly
> (865) 215-3536
> Senior Systems Administrator
> Knox County
> ------------------------------
> *From:* [email protected] [[email protected]]
> on behalf of Patrick Trapp [[email protected]]
> *Sent:* Tuesday, January 26, 2016 4:30 PM
>
> *To:* Users of ISC DHCP
> *Subject:* RE: fixed-address problem
>
> Ah, since you called out the subnet, I looked at the subnet. Not the host
> address where the error appears to be. My apologies.
>
> ------------------------------
> *From:* [email protected] [[email protected]]
> on behalf of Sherman Lilly [[email protected]]
> *Sent:* Tuesday, January 26, 2016 3:27 PM
> *To:* Users of ISC DHCP
> *Subject:* RE: fixed-address problem
>
> Your subnet clause is
>
> subnet 192.168.*99*.0 netmask 255.255.255.0 {
>
> Your fixed address is
>
> fixed-address 192.168.*98*.101;
>
> You can't service a subnet out side of the subnet in your declaration
>
>
> Sherman Lilly
> (865) 215-3536
> Senior Systems Administrator
> Knox County
> ------------------------------
> *From:* [email protected] [[email protected]]
> on behalf of Patrick Trapp [[email protected]]
> *Sent:* Tuesday, January 26, 2016 4:24 PM
> *To:* Users of ISC DHCP
> *Subject:* RE: fixed-address problem
>
> I don't see a problem with the subnet. OP just isn't using the entire
> pool, right?
>
> I'm not sure what the effect of the "group" declaration is. I believe on
> my configurations where I'm assigning a static address, I'm just using a
> "host" declaration. I don't declare these hosts within the subnet
> declaration, either. I would be inclined to try the host declaration
> outside the subnet first.
>
> ------------------------------
> *From:* [email protected] [[email protected]]
> on behalf of Sherman Lilly [[email protected]]
> *Sent:* Tuesday, January 26, 2016 1:35 PM
> *To:* Users of ISC DHCP
> *Subject:* RE: fixed-address problem
>
> Your subnet is wrong
>
> Sherman Lilly
> (865) 215-3536
> Senior Systems Administrator
> Knox County
> ------------------------------
> *From:* [email protected] [[email protected]]
> on behalf of Bernard Fay [[email protected]]
> *Sent:* Tuesday, January 26, 2016 2:30 PM
> *To:* [email protected]
> *Subject:* fixed-address problem
>
> Hello everyonw,
>
> I am unable to assign fixed IP addresses to host.
>
> I have the following configuration:
>
> option domain-name "cts.org";
> option domain-name-servers ns1.cts.org;
>
> default-lease-time 300;
> max-lease-time 1500;
>
>
> subnet 192.168.99.0 netmask 255.255.255.0 {
>
> # range 192.168.99.201 192.168.99.250;
> option broadcast-address 192.168.99.255;
> option routers 192.168.99.1;
> option domain-name "cts.org";
>
> group {
> host vault {
> option host-name "vault.cts.org";
> hardware ethernet 52:af:12:cf:87:c5;
> fixed-address 192.168.98.101;
> }
> }
> }
>
>
> With "range 192.168.99.201 192.168.99.250;" the host is assigned the
> first available IP address. If I disable "range" like in the shown
> configuration, the log says: "dhcpd: DHCPDISCOVER from 52:af:12:cf:87:c5
> via eth1: network 192.168.99.0/24: no free leases".
>
> This ISC DHCP 4.2.5.
>
> What am I doing wrong?
>
> Thanks,
> Bernard
>
>
> _______________________________________________
> dhcp-users mailing list
> [email protected]
> https://lists.isc.org/mailman/listinfo/dhcp-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://lists.isc.org/pipermail/dhcp-users/attachments/20160126/73302b1a/attachment.html>
------------------------------
_______________________________________________
dhcp-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/dhcp-users
End of dhcp-users Digest, Vol 87, Issue 13
******************************************