linux - using built-in dnsmasq's tftp server send sample file to dhcp client

خرید بک لینک

When dhcp client contacts dnsmasq's dhcp server to assign ip address, is there a way to send some file to dhcp client using built-in tftp server?

dnsmasq.conf file contains following tftp related to info:

# Enable dnsmasq's built-in TFTP server
enable-tftp

# Set the root directory for files available via FTP.
tftp-root=/var/ftpd

But, I am not sure how to transfer some file using above mentioned information in dnsmasq.conf file to dhcp client (and the location where it should be copied to dhcp client).

Alteatively, is there a way to write tftp server IP address and some filename to dhcp client while dhcp server is assigning ip address to dhcp client? This information (tftp server IP address and filename) can later be used by tftp client (running in dhcp client) to retrieve the file.

- - , .
.

Recent Questions...

ما را در سایت Recent Questions دنبال می‌کنید

برچسب: نویسنده: استخدام کار بازدید: 297 تاريخ: چهارشنبه 23 تير 1395 ساعت: 13:31

صفحه بندی