b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | package ahcpd |
| 2 | |
| 3 | config ahcpd |
| 4 | # Choose ahcp mode: client (default), server or forwarder |
| 5 | ## option 'mode' 'client' |
| 6 | # Uncomment the following lines to enable ahcpd on the desired |
| 7 | # interfaces. |
| 8 | ## list 'interface' 'lan' |
| 9 | ## list 'interface' 'wlan' |
| 10 | |
| 11 | # The following only makes sense in 'server' mode. |
| 12 | # Tweak to suit your needs. |
| 13 | ## list 'prefix' 'fde6:20f5:c9ac:358::/64' |
| 14 | ## list 'prefix' '192.168.4.128/25' |
| 15 | ## list 'name_server' 'fde6:20f5:c9ac:358::1' |
| 16 | ## list 'name_server' '192.168.4.1' |
| 17 | ## list 'ntp_server' '192.168.4.2' |
| 18 | ## option 'lease_dir' '/var/lib/leases' |
| 19 | |
| 20 | # option 'id_file' '/var/lib/ahcp-unique-id' |
| 21 | # option 'log_file' '/var/log/ahcpd.log' |
| 22 | # The configuration file is not necessary since you can configure |
| 23 | # everything from this file. But still, you might prefer using it. |
| 24 | ## option 'conf_file' '/etc/ahcp/ahcp.conf' |
| 25 | |
| 26 | # option 'multicast_address' 'ff02::cca6:c0f9:e182:5359' |
| 27 | # option 'port' '5359' |
| 28 | # option 'ipv4_only' 'false' |
| 29 | # option 'ipv6_only' 'false' |
| 30 | # option 'lease_time' '3666' |
| 31 | # option 'debug' '1' |
| 32 | |