| Home
| Calendar
| Mail Lists
| List Archives
| Desktop SIG
| Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings Linux Cafe | Meeting Notes | Linux Links | About BLU |
On Tue, Jul 13, 2004 at 01:36:37PM +0900, Derek Martin wrote:
> On Tue, Jul 13, 2004 at 12:21:50AM -0400, David Kramer wrote:
> > Derek Martin wrote:
> >
> > >ISC's dhcpd allows the administrator to assign static IPs based on MAC
> > >address.
> [SNIP]
> > I've been looking at the man page and can't see how to do that. Can you
> > show me an example?
>
> Well it's been over 2 years since I've had to do it, but it's
> something like this:
>
> host mybox {
> hardware ethernet 00:11:22:33:44:55;
> fixed-address 1.2.3.4;
> }
Yes, although I prefer this form where feasible:
host mybox {
hardware ethernet 00:11:22:33:44:55;
fixed-address mybox;
}
Note that this way, if you change mybox's IP address in DNS, it
will be changed on the next DHCP release as well...
-dsr-