Date: Sat, 22 Mar 2003 13:10:27 -0500 From: Peter Radcliffe <pir@pir.net> To: mobile@FreeBSD.ORG Subject: Re: static IP via DHCP and multiple NICs Message-ID: <20030322181027.GA27232@pir.net> In-Reply-To: <20030322175717.GA59999@woodstock.nethamilton.net> References: <3E7C4E05.32696.1447B082@localhost> <3E7C556D.1700.1464A077@localhost> <20030322175717.GA59999@woodstock.nethamilton.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Jon Hamilton <hamilton@pobox.com> probably said: > } > group { > } > use-host-decl-names on; > } > > } > host laptop1.yourdomain.net { > } > option dhcp-client-identifier "laptop1"; > } > option host-name "laptop1"; > } > fixed-address laptop1.yourdomain.net; > } > } > } > } You can just use; host laptop1.yourdomain.net { option dhcp-client-identifier "laptop1"; fixed-address laptop1.yourdomain.net; } > } Is there a way to restrict MAC addresses while retaining the above > } goals? > One would think adding a: > hardware ethernet <mac address>; > line in the host stanza on the server would suffice. One would think incorrectly. The two terms are not anded together, (either will work) so you will get that IP if you match the MAC or you match the dhcp-client-identifier. DHCP isn't a security method, if you want filter MACs then do it elsewhere. If you want to get into really hairy configurations, look at classing but I wouldn't recommend it. This isn't a FreeBSD specific question, nor a -mobile specific question, anyway. If you want isc-dhcpd configuration help, they run an dhcp-users list. P. -- pir pir-sig@pir.net pir-sig@net.tufts.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030322181027.GA27232>