Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 May 2017 20:47:11 +0000
From:      "kczekirda (Kamil Czekirda)" <phabric-noreply@FreeBSD.org>
To:        freebsd-net@freebsd.org
Subject:   [Differential] D10485: Replace dhcp option 150 by 66
Message-ID:  <5259c1de7a026fd49ebc842c7a4cb7cc@localhost.localdomain>
In-Reply-To: <differential-rev-PHID-DREV-rdfe23ryefhflnjblbcr-req@FreeBSD.org>
References:  <differential-rev-PHID-DREV-rdfe23ryefhflnjblbcr-req@FreeBSD.org>

index | next in thread | previous in thread | raw e-mail

kczekirda added a comment.


  And the last one possible solution:
  
  In https://reviews.freebsd.org/D10485#218945, @tsoome wrote:
  
  > But also there is much simpler way to distinguish NFS versus TFTP boot - because that is the problem - how  to understand if we should go for NFS of for TFTP.  And the idea is simple - if there is no server set, we opt to use next server option for nfs/tftp server; now the root_path syntax as such is not set, therefore we can just state that if the root_path is  IP:/path then its NFS, if the root_path is /path, then it is TFTP.
  
  
  Don't use any of 66 or 150 option, but when root-path includes ip address - go thru NFS, if ip address not exists in root-path - go thru TFTP from server which ip address is in next-server. But there is one limitation - only one tftp server in network to provide loader and everything else. Does enybody use more than only one?

REVISION DETAIL
  https://reviews.freebsd.org/D10485

EMAIL PREFERENCES
  https://reviews.freebsd.org/settings/panel/emailpreferences/

To: kczekirda, bapt, oshogbo, tsoome, sbruno, #network, freebsd-net-list, imp, jhb
Cc: rgrimes, garga, ler, asomers

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5259c1de7a026fd49ebc842c7a4cb7cc>