This are some of my notes - please just ignore them ;)
# ifconfig
...
eth0:1 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:XX
inet addr:10.45.45.1 Bcast:10.255.255.255 Mask:255.0.0.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:11 Base address:0xec80
...
# cat /etc/dhcpd.conf
Diese konfigurations Datei ist für bestimmte Adressen.
# dhcpd.conf
#
ddns-update-style interim;
subnet 10.45.45.0 netmask 255.255.255.0 {
option routers 10.45.45.1;
next-server 10.45.45.1;
#pool {
# option domain-name-servers bogus.example.com;
# max-lease-time 300;
# range 10.45.45.200 10.45.45.253;
# allow unknown-clients;
# }
}
#group {
# host SIMpad {
# hardware ethernet 00:80:64:1B:AD:29;
# fixed-address 10.45.45.2 ;
# filename "/var/tftpboot/bootp.bin";
# }
host SIMpa2d {
hardware ethernet 00:80:64:1B:E6:82;
fixed-address 10.45.45.2 ;
filename "bootp.bin";
}
#}
# Configuration file for ISC dhcpd (see 'man dhcpd.conf')
Diese ist allgemein gültig!
# dhcpd.conf
#
ddns-update-style interim;
subnet 10.45.45.0 netmask 255.255.255.0 {
option routers 10.45.45.1;
next-server 10.45.45.1;
pool {
option domain-name-servers bogus.example.com;
max-lease-time 300;
range 10.45.45.200 10.45.45.253;
allow unknown-clients;
filename "bootp.bin";
}
}
# ls /var/tftpboot/
bootp.bin
# in.tftpd -a 10.45.45.1:10069 -l -v -s /var/tftpboot
# dhcpd -p 10067
filesys0 31719424
filesys1 32768000
poweron.bmp 14120