Weak attempt to implement DHCP server in kernel space for linux 3.16 just for fu educational purpose.
Module parameters:
- if-name -- interface name [ must be ];
- ip-serv -- server ip;
- mask -- mask, maybe;
- ip-range-min, ip-range-max -- range of available ip;
- default-lease -- default lease value, I suppose.
Before test must create configuration file "/etc/dhcpks/dhcpks.conf". Format:
- For network mask: mask [ip]
- For server IP: server [ip]
- For IP range: range [min IP] [max IP]
- For default ttl: default-ttl [0-255]
- For default lease: default-lease [lease]
- For max lease: max-lease [lease]
- For DHCP options: options [option's code] [according to options numbers]
If you want to use it, may the Luck will be with you.