Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| dhcp_server [15 July 2025 / 18:31:16] – kadek | dhcp_server [10 October 2025 / 12:59:59] (current) – kadek | ||
|---|---|---|---|
| Line 14: | Line 14: | ||
| sudo nano / | sudo nano / | ||
| - | * For example, if your DHCP interface is enp0s8, update the line as follows: | + | * For example, if your DHCP interface is tap_vpn, update the line as follows: |
| + | |||
| + | INTERFACESv4=" | ||
| - | INTERFACESv4=" | ||
| - | |||
| * Configure the DHCP setting by editing the config file: | * Configure the DHCP setting by editing the config file: | ||
| Line 38: | Line 38: | ||
| default-lease-time 600; | default-lease-time 600; | ||
| max-lease-time 7200; | max-lease-time 7200; | ||
| + | |||
| + | * Assign IP address to the device before started the DHCP service (this is mandatory): | ||
| + | |||
| + | sudo ip addr add 192.168.30.1/ | ||
| * Start the service: | * Start the service: | ||
| Line 51: | Line 55: | ||
| sudo systemctl status isc-dhcp-server | sudo systemctl status isc-dhcp-server | ||
| - | ====== Troubleshooting Common Issues | + | ==== Troubleshooting Common Issues ==== |
| * Check the DHCP server logs for any error messages: | * Check the DHCP server logs for any error messages: | ||
