-2

Given that there is a dhcp client, a relay agent and dhcp server. There is also another ftp server. Requirement is that the client starts the DORA process and the server responds with IP address and also sends the ftp server’s address. Is there any configuration or DHCP option available to achieve this?

Thanks

NeilB
  • 113
  • 1
  • 3
    I don't see one in [RFC2132](https://tools.ietf.org/html/rfc2132). Did you check before asking? – Michael Hampton Feb 18 '17 at 23:07
  • What are you expecting the client to do with it? You can set custom values for almost anything but the client needs to know how to use the cutom values. – Zoredache Feb 19 '17 at 04:01
  • The vm/physical switch running the dhcp client will download a file from this server's IP address. This not necessarily needs to be a tftp server. Client can use wget/http to download the file. – NeilB Feb 19 '17 at 06:34

2 Answers2

1

There are some DHCP options for TFTP, but I don't find anything for FTP. See IANA's Dynamic Host Configuration Protocol (DHCP) and Bootstrap Protocol (BOOTP) Parameters.

It is possible that there is a vendor specific value in an option for what you are trying to do, but you will need to discuss that with the vendor.

Ron Maupin
  • 3,243
  • 1
  • 12
  • 20
1

You can use DHCP option 66 (Boot server host name) and can provide FTP address as a string(ftp://2.21.22.23). Otherwise you can use vendor specific options for acquiring FTP server address in DHCP request.

You can also set this to https://2.21.22.23 for https. By default it is tftp://2.21.22.23.