Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] NAS and DHCP?
- Date: Wed, 04 Sep 2013 16:38:12 +0900
- From: Darren Cook <darren@example.com>
- Subject: Re: [tlug] NAS and DHCP?
- References: <5226CC90.3050203@dcook.org> <8761uhaxi7.fsf@uwakimon.sk.tsukuba.ac.jp>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130330 Thunderbird/17.0.5
> You mean because of lease expiry and migration to a new IP? Here's > what I do in /etc/dhcp/dhcpd.conf (this is Gentoo, YLMV): > > subnet 192.168.0.0 netmask 255.255.255.240 { > range 192.168.0.3 192.168.0.15; > } > > host HVL4-947739 { > hardware ethernet 0:a0:b0:94:77:39; > fixed-address 192.168.0.2; > } > ... > It is better to do this in DHCP rather than > configuring the hardware with a static address, because then all your > config is in one file (or at worst, one app's files). Thanks Stephen, that is the kind of thing I wanted to know, and that is a good reason. (*) I've not found a way to do that in the Buffalo AirStation (my DHCP server) yet, so it may be I'll just have to split config between one file and a piece of paper. :-) Darren *: Just thought of a reason to stick with static IP assignments. The NAS is small enough to take with me on trips, and well over half my LAN devices are notebooks or smaller. So it is possible the router (with the config) might almost be the only device left behind. :-)
- Follow-Ups:
- Re: [tlug] NAS and DHCP?
- From: Stephen J. Turnbull
- References:
- [tlug] NAS and DHCP?
- From: Darren Cook
- [tlug] NAS and DHCP?
- From: Stephen J. Turnbull
Home | Main Index | Thread Index
- Prev by Date: [tlug] NAS and DHCP?
- Next by Date: Re: [tlug] NAS and DHCP?
- Previous by thread: [tlug] NAS and DHCP?
- Next by thread: Re: [tlug] NAS and DHCP?
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links