[Soekris-tech] Re: Diskless PXE clients: switching FreeBSDkernels based on MAC address

Matt Peterson matt at peterson.org
Sun Mar 21 23:26:14 PST 2004


This might be possible with DHCP, I've done something similar...

subnet 192.168.250.0 netmask 255.255.255.0 {
 range 192.168.250.2 192.168.250.253;
 option routers 192.168.250.254;
 option subnet-mask 255.255.255.0;                
 # NFS server & path
 option root-path "192.168.250.1:/usr/mboot";
}

class "soekris" {
 match if substring (option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00000";
 # TFTP server & filename
 next-server 192.168.250.1;
 filename "pxeboot";

}

Chris Roehrig wrote:

> I'm following up on my original question and cross-posting it to the  
> Soekris list in case this is useful for anyone else.      If there's 
> an  easier way to do this, I'd like to know!





More information about the freebsd-questions mailing list