How do I set up DHCP in order to upgrade the software on my router?
Rick Sewill
rsewill at gmail.com
Tue Dec 28 16:02:54 UTC 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 12/28/2010 09:20 AM, Rick Sewill wrote:
> On 12/28/2010 08:31 AM, Colin Paul Adams wrote:
>
>> I edited
>> /etc/dhcp/dhcpd.conf
>
>> to look like this:
>
>> #
>> # DHCP Server Configuration file.
>> # see /usr/share/doc/dhcp*/dhcpd.conf.sample
>> # see 'man 5 dhcpd.conf'
>> #
>> authoritative;
>> use-host-decl-names on;
>> ddns-update-style none;
>
>> option domain-name "colin.demon.co.uk";
>> next-server 192.168.254.201;
>> filename "linux/pxelinux.0";
>> allow bootp;
>
>> subnet 192.168.254.0 netmask 255.255.255.0 {
>
>> option subnet-mask 255.255.255.0;
>> option broadcast-address 192.168.254.255;
>
>> }
>> group {
>> host 192.168.254.254 { hardware ethernet 00:14:7F:F8:83:DD; }
>> }
>
Hmmm. I did a little more digging.
I found, in "man dhcpd.conf", the following:
BOOTP Support
Each BOOTP client must be explicitly declared in the dhcpd.conf file.
A very basic client declaration will specify the client network
interface's hardware address and the IP address to assign to that
client. If the client needs to be able to load a boot file from the
server, that file's name must be specified. A simple bootp client
declaration might look like this:
host haagen {
hardware ethernet 08:00:2b:4c:59:23;
fixed-address 239.252.197.9;
filename "/tftpboot/haagen.boot";
}
Could you instead of doing what I thought previously, replace
>> group {
>> host 192.168.254.254 { hardware ethernet 00:14:7F:F8:83:DD; }
>> }
>
with something like the following...
host myrouter {
hardware ethernet 00:14:7F:F8:83:DD;
fixed-address 192.168.254.254;
filename "/var/lib/tftpboot/ZZQIAA8.225.bli";
}
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
iEYEARECAAYFAk0aCigACgkQyc8Kn0p/AZTTqgCdHDl7KvO+2RfFy2Eep3k/RFOL
v1UAoJYrZnNwME92MLP5o8vsH9Wn3dBt
=GgOI
-----END PGP SIGNATURE-----
More information about the users
mailing list