USING RESERVED IP AS A DYNAMICALLY LEASING

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

USING RESERVED IP AS A DYNAMICALLY LEASING

Onur GURSOY
Hello All,

First of all, many thanks for isc-dhcp.
It's realy wonderful especially using with bind.
But I have some question.

If i reserve an IP(let's say 192.168.28.1), to one mac (let's say aa:aa:aa:aa:aa:aa).
Another device which has different mac from aa:aa:aa:aa:aa:aa, leases 192.168.28.1 IP
before this device ( aa:aa:aa:aa:aa:aa ) leases that IP (192.168.28.1)

Why another devices lease 192.168.28.1 even i reserved it for that device( aa:aa:aa:aa:aa:aa)

Many Thanks,
With best regards

--
Onur GÜRSOY
R&D Engineer in Embedded Systems
Master Student at Gebze Institute Of Technology
Department Of Electronic Engineering
GSM : 0(545) 764 7653
e-mail: [hidden email]

_______________________________________________
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.

dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

Re: USING RESERVED IP AS A DYNAMICALLY LEASING

Sten Carlsen


On 12-06-2020 13.29, Onur GURSOY wrote:
Hello All,

First of all, many thanks for isc-dhcp.
It's realy wonderful especially using with bind.
But I have some question.

If i reserve an IP(let's say 192.168.28.1), to one mac (let's say aa:aa:aa:aa:aa:aa).

How is this done?

Using a host statement or marking it reserved in the lease file?

If using a host statement with fixed address, the most likely problem is that the fixed address must be outside any pool or range that you have set up.

A host statement with a fixed address does not inform the dynamic part of the server to not use that address, it is a very direct shortcut to handing out an address. It is up to the operator to keep the two out of conflict.

Another device which has different mac from aa:aa:aa:aa:aa:aa, leases 192.168.28.1 IP
before this device ( aa:aa:aa:aa:aa:aa ) leases that IP (192.168.28.1)

Why another devices lease 192.168.28.1 even i reserved it for that device( aa:aa:aa:aa:aa:aa)

Many Thanks,
With best regards

--
Onur GÜRSOY
R&D Engineer in Embedded Systems
Master Student at Gebze Institute Of Technology
Department Of Electronic Engineering
GSM : 0(545) 764 7653
e-mail: [hidden email]

_______________________________________________
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.

dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
-- 
Best regards

Sten Carlsen

No improvements come from shouting:

"MALE BOVINE MANURE!!!" 

_______________________________________________
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.

dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

Re: USING RESERVED IP AS A DYNAMICALLY LEASING

Sten Carlsen


On 15-06-2020 22.27, Onur GURSOY wrote:
Hello Mr.Sten,

I got the point.

1 - Reserved leases, check the man pages. Starting point: https://lists.isc.org/pipermail/dhcp-users/2007-January/002723.html 
I tried this, but i couldn't it. It doesn't work.

on the other side, there is any rfc regarding this implementation because because i wasn't expecting this
I am not sure about RFCs. This is how it works.

Thanks,
With best regards


Sten Carlsen <[hidden email]>, 15 Haz 2020 Pzt, 04:16 tarihinde şunu yazdı:
I see two options:

1 - Reserved leases, check the man pages. Starting point: https://lists.isc.org/pipermail/dhcp-users/2007-January/002723.html
I never used these myself.

2 - Split the range in 2 like:

host bla1 {

           hardware ethernet DD:GH:DF:E5:F7:D7;

           fixed-address 192.168.1.28;

        }

subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.1 192.168.1.27;
range 192.168.1.29 192.168.1.100;
}

BTW you want to move the host statement to the global section. Host statements are global by definition and putting them into a subnet declaration can cause hard to find errors. This is a common mistake.

-- 
Best regards 
Sten Carlsen 


For every problem, there is a solution that
is simple, elegant, and wrong.
HL Mencken


On 14 Jun 2020, at 22.51, Onur GURSOY <[hidden email]> wrote:

Hello Mr.Sten,

This answer is very helpfull for me.
I glad to you.

Yes I'm using it like this in config file.
Let's say,
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.1 192.168.1.100;

host bla1 {
           hardware ethernet DD:GH:DF:E5:F7:D7;
           fixed-address 192.168.1.28;
        }
}
For solution, you suggested: 
fixed address must be outside any pool or range that you have set up.  

Allright,well,
there are any other solution, for using fixed address in defined range of pool ? 

Many thanks,
With best regards

Sten Carlsen <[hidden email]>, 12 Haz 2020 Cum, 16:42 tarihinde şunu yazdı:


On 12-06-2020 13.29, Onur GURSOY wrote:
Hello All,

First of all, many thanks for isc-dhcp.
It's realy wonderful especially using with bind.
But I have some question.

If i reserve an IP(let's say 192.168.28.1), to one mac (let's say aa:aa:aa:aa:aa:aa).

How is this done?

Using a host statement or marking it reserved in the lease file?

If using a host statement with fixed address, the most likely problem is that the fixed address must be outside any pool or range that you have set up.

A host statement with a fixed address does not inform the dynamic part of the server to not use that address, it is a very direct shortcut to handing out an address. It is up to the operator to keep the two out of conflict.

Another device which has different mac from aa:aa:aa:aa:aa:aa, leases 192.168.28.1 IP
before this device ( aa:aa:aa:aa:aa:aa ) leases that IP (192.168.28.1)

Why another devices lease 192.168.28.1 even i reserved it for that device( aa:aa:aa:aa:aa:aa)

Many Thanks,
With best regards

--
Onur GÜRSOY
R&D Engineer in Embedded Systems
Master Student at Gebze Institute Of Technology
Department Of Electronic Engineering
GSM : 0(545) 764 7653
e-mail: [hidden email]

_______________________________________________
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.

dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
-- 
Best regards

Sten Carlsen

No improvements come from shouting:

"MALE BOVINE MANURE!!!" 


--
Onur GÜRSOY
R&D Engineer in Embedded Systems
Master Student at Gebze Institute Of Technology
Department Of Electronic Engineering
GSM : 0(545) 764 7653
e-mail: [hidden email]



--
Onur GÜRSOY
R&D Engineer in Embedded Systems
Master Student at Gebze Institute Of Technology
Department Of Electronic Engineering
GSM : 0(545) 764 7653
e-mail: [hidden email]
-- 
Best regards

Sten Carlsen

No improvements come from shouting:

"MALE BOVINE MANURE!!!" 

_______________________________________________
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.

dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

Re: USING RESERVED IP AS A DYNAMICALLY LEASING

Onur GURSOY
OK Mr. Sten

You're very helpfull man.

Thanks again,
With My Best Regards,

Sten Carlsen <[hidden email]>, 16 Haz 2020 Sal, 04:44 tarihinde şunu yazdı:


On 15-06-2020 22.27, Onur GURSOY wrote:
Hello Mr.Sten,

I got the point.

1 - Reserved leases, check the man pages. Starting point: https://lists.isc.org/pipermail/dhcp-users/2007-January/002723.html 
I tried this, but i couldn't it. It doesn't work.

on the other side, there is any rfc regarding this implementation because because i wasn't expecting this
I am not sure about RFCs. This is how it works.

Thanks,
With best regards


Sten Carlsen <[hidden email]>, 15 Haz 2020 Pzt, 04:16 tarihinde şunu yazdı:
I see two options:

1 - Reserved leases, check the man pages. Starting point: https://lists.isc.org/pipermail/dhcp-users/2007-January/002723.html
I never used these myself.

2 - Split the range in 2 like:

host bla1 {

           hardware ethernet DD:GH:DF:E5:F7:D7;

           fixed-address 192.168.1.28;

        }

subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.1 192.168.1.27;
range 192.168.1.29 192.168.1.100;
}

BTW you want to move the host statement to the global section. Host statements are global by definition and putting them into a subnet declaration can cause hard to find errors. This is a common mistake.

-- 
Best regards 
Sten Carlsen 


For every problem, there is a solution that
is simple, elegant, and wrong.
HL Mencken


On 14 Jun 2020, at 22.51, Onur GURSOY <[hidden email]> wrote:

Hello Mr.Sten,

This answer is very helpfull for me.
I glad to you.

Yes I'm using it like this in config file.
Let's say,
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.1 192.168.1.100;

host bla1 {
           hardware ethernet DD:GH:DF:E5:F7:D7;
           fixed-address 192.168.1.28;
        }
}
For solution, you suggested: 
fixed address must be outside any pool or range that you have set up.  

Allright,well,
there are any other solution, for using fixed address in defined range of pool ? 

Many thanks,
With best regards

Sten Carlsen <[hidden email]>, 12 Haz 2020 Cum, 16:42 tarihinde şunu yazdı:


On 12-06-2020 13.29, Onur GURSOY wrote:
Hello All,

First of all, many thanks for isc-dhcp.
It's realy wonderful especially using with bind.
But I have some question.

If i reserve an IP(let's say 192.168.28.1), to one mac (let's say aa:aa:aa:aa:aa:aa).

How is this done?

Using a host statement or marking it reserved in the lease file?

If using a host statement with fixed address, the most likely problem is that the fixed address must be outside any pool or range that you have set up.

A host statement with a fixed address does not inform the dynamic part of the server to not use that address, it is a very direct shortcut to handing out an address. It is up to the operator to keep the two out of conflict.

Another device which has different mac from aa:aa:aa:aa:aa:aa, leases 192.168.28.1 IP
before this device ( aa:aa:aa:aa:aa:aa ) leases that IP (192.168.28.1)

Why another devices lease 192.168.28.1 even i reserved it for that device( aa:aa:aa:aa:aa:aa)

Many Thanks,
With best regards

--
Onur GÜRSOY
R&D Engineer in Embedded Systems
Master Student at Gebze Institute Of Technology
Department Of Electronic Engineering
GSM : 0(545) 764 7653
e-mail: [hidden email]

_______________________________________________
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.

dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
-- 
Best regards

Sten Carlsen

No improvements come from shouting:

"MALE BOVINE MANURE!!!" 


--
Onur GÜRSOY
R&D Engineer in Embedded Systems
Master Student at Gebze Institute Of Technology
Department Of Electronic Engineering
GSM : 0(545) 764 7653
e-mail: [hidden email]



--
Onur GÜRSOY
R&D Engineer in Embedded Systems
Master Student at Gebze Institute Of Technology
Department Of Electronic Engineering
GSM : 0(545) 764 7653
e-mail: [hidden email]
-- 
Best regards

Sten Carlsen

No improvements come from shouting:

"MALE BOVINE MANURE!!!" 


--
Onur GÜRSOY
R&D Engineer in Embedded Systems
Master Student at Gebze Institute Of Technology
Department Of Electronic Engineering
GSM : 0(545) 764 7653
e-mail: [hidden email]

_______________________________________________
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.

dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users