Guide to Hacking the OSD: DHCP Server Setup
From The Neuros Technology Wiki
| Previous Chapter | Table of Contents | Next Chapter |
[edit] Optional DHCP Server Setup
This chapter assumes a fair bit more experience than others and is thus optional. It also is not appropriate for all networks. This chapter only applies to you if you are running your own DHCP server on a computer. It does not apply if your DHCP is served by a SoHo router. In addition, this chapter will be of most use if:
- Your DHCP server is running on Linux, xBSD, or some other Unix varient
- You are running ISC DHCPd 3.x (check that version is 3.x and not 2.x).
Here is an excerpt from a dhcpd.conf file showing exactly what to do. In the excerpt, ... indicates omitted lines:
...
subnet 192.168.65.0 netmask 255.255.255.0 {
range dynamic-bootp 192.168.65.128 192.168.65.143;
...
host osd {
hardware ethernet 00:18:11:80:10:1b;
fixed-address 192.168.65.15;
next-server 192.168.65.14;
filename "neuros-osd/uImage";
option root-path "192.168.65.14:/srv/neuros-osd-rootfs";
}
...
}
Now, that alone doesn't mean much. Let's add some meaning:
- 00:18:11:80:10:1b is the MAC address of my OSD.
- 192.168.65.15 is the IP address I assigned to my OSD.
- 192.168.65.14 is my workstation with TFTP and NFS running on it.
- neuros-osd/uImage is where file name (in TFTP) of the OSD's kernel.
- 192.168.65.14:/srv/neuros-osd-rootfs is the NFS share for the OSD's root filesystem.
Note that the fixed-address my OSD is using is not in the rang statement. This is important.
| Previous Chapter | Table of Contents | Next Chapter |
