-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:gnocuil/DHCPv4-over-v6
- Loading branch information
Showing
10 changed files
with
120 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,14 +1,5 @@ | |||
# The format of this file is documented in the dhcpd.leases(5) manual page. | # The format of this file is documented in the dhcpd.leases(5) manual page. | ||
# This lease file was written by isc-dhcp-4.2.3-P2 | # This lease file was written by isc-dhcp-4.2.3-P2 | ||
|
|
||
server-duid "\000\001\000\001\027\371\\t\010\000',\302\257"; | server-duid "\000\001\000\001\030\0060E\010\000'\366\002\307"; | ||
|
|
||
lease 192.168.1.151 { | |||
starts 6 2012/10/06 16:53:40; | |||
ends 6 2012/10/06 17:03:40; | |||
cltt 6 2012/10/06 16:53:40; | |||
binding state active; | |||
next binding state free; | |||
rewind binding state free; | |||
hardware ethernet 08:00:27:f3:0f:45; | |||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,22 @@ | |||
# The format of this file is documented in the dhcpd.leases(5) manual page. | |||
# This lease file was written by isc-dhcp-4.2.3-P2 | |||
|
|||
lease 192.168.1.151 { | |||
starts 1 2012/10/08 14:41:04; | |||
ends 1 2012/10/08 14:51:04; | |||
tstp 1 2012/10/08 14:51:04; | |||
cltt 1 2012/10/08 14:41:04; | |||
binding state free; | |||
hardware ethernet 08:00:27:f3:0f:45; | |||
} | |||
server-duid "\000\001\000\001\027\371\\t\010\000',\302\257"; | |||
|
|||
lease 192.168.1.151 { | |||
starts 1 2012/10/08 14:51:32; | |||
ends 1 2012/10/08 15:01:32; | |||
cltt 1 2012/10/08 14:51:32; | |||
binding state active; | |||
next binding state free; | |||
rewind binding state free; | |||
hardware ethernet 08:00:27:f3:0f:45; | |||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,24 +0,0 @@ | |||
# The format of this file is documented in the dhcpd.leases(5) manual page. | |||
# This lease file was written by isc-dhcp-4.2.3-P2 | |||
|
|||
lease 192.168.1.101 { | |||
starts 6 2012/10/06 16:48:12; | |||
ends 6 2012/10/06 16:58:12; | |||
tstp 6 2012/10/06 16:58:12; | |||
cltt 6 2012/10/06 16:48:12; | |||
binding state active; | |||
next binding state free; | |||
rewind binding state free; | |||
hardware ethernet 08:00:27:f3:0f:45; | |||
} | |||
server-duid "\000\001\000\001\027\371\\t\010\000',\302\257"; | |||
|
|||
lease 192.168.1.101 { | |||
starts 6 2012/10/06 16:52:22; | |||
ends 6 2012/10/06 17:02:22; | |||
cltt 6 2012/10/06 16:52:22; | |||
binding state active; | |||
next binding state free; | |||
rewind binding state free; | |||
hardware ethernet 08:00:27:f3:0f:45; | |||
} | |||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,2 +1,4 @@ | |||
#!/bin/bash | #!/bin/bash | ||
rm -f dhcpd.leases | |||
touch dhcpd.leases | |||
./dhcpd -4 -p 67 -cf dhcpd.conf -lf dhcpd.leases -f | ./dhcpd -4 -p 67 -cf dhcpd.conf -lf dhcpd.leases -f |