mirror of
https://github.com/pj1234678/RustyDHCP.git
synced 2025-10-26 08:26:07 +08:00
Update README.md
This commit is contained in:
@@ -74,6 +74,15 @@ const LEASE_NUM: u32 = 252;
|
|||||||
|
|
||||||
You can customize these configuration parameters according to your network requirements.
|
You can customize these configuration parameters according to your network requirements.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
To create a "leases" file with the example permanent lease, you can manually create a file named "leases" in the same directory as the compiled program with the following content:
|
||||||
|
|
||||||
|
f4:5c:89:bf:96:8d,192.168.2.90
|
||||||
|
|
||||||
|
This lease format specifies the MAC address and the corresponding IP address for the client. The DHCP server will read this file to assign permanent leases based on its contents.
|
||||||
|
|
||||||
|
|
||||||
## Contributions
|
## Contributions
|
||||||
|
|
||||||
This DHCP server has been made possible with contributions from the open-source community, including valuable code from Richard Warburton. Feel free to contribute to this project and make it even better!
|
This DHCP server has been made possible with contributions from the open-source community, including valuable code from Richard Warburton. Feel free to contribute to this project and make it even better!
|
||||||
|
|||||||
Reference in New Issue
Block a user