# Configuration file for dnsmasq. no-resolv server=192.168.200.25@eno1 server=193.48.252.22@eno1 interface=eno2 ## JanW: below is Daan's default, not quite what we'd want I think... ## dhcp-range=192.168.0.161,192.168.0.240,1h ## when a new machine is connected to the switch it would get DHCP-assigned ## a dynamical lease, then one would manually config a static lease here, ## but the machine will still receive the earlier dynamic lease ## Instead, give out static leases only! dhcp-range=192.168.0.0,static,255.255.255.0 #-- VLBI backend hardware #-- IP addresses are read from hosts file, we don't duplicate them here to #-- avoid inconsistencies. dhcp-host=ff:ff:ff:ff:ff:ff,gps1 dhcp-host=ff:ff:ff:ff:ff:ff,gps2 ## dhcp-host=ac:1f:6b:48:aa:e8,recorder1 # eth0 dhcp on mark6 dhcp-host=ac:1f:6b:48:aa:e9,recorder1 # eth1, changed to static on mark6 ## dhcp-host=ac:1f:6b:b2:28:da,recorder2 # eth0 dhcp on mark6 dhcp-host=ac:1f:6b:b2:28:db,recorder2 # eth1, changed to static on mark6 dhcp-host=02:44:01:02:14:0b,r2dbe1 dhcp-host=02:44:01:02:14:0c,r2dbe2 # dhcp-host=ff:ff:ff:ff:ff:ff,recorder1-ipmi # none # dhcp-host=ff:ff:ff:ff:ff:ff,recorder2-ipmi # none #--laptops dhcp-host=3c:97:0e:13:dd:08,laptop1 ###################### # Set the location of the ROACH's root filesystem on the NFS server. dhcp-option=17,192.168.0.1:/srv/roach2_boot/current # Set the NTP time server addresses to 192.168.0.4 and 10.10.0.5 dhcp-option=option:ntp-server,192.168.0.1 # Set the boot filename for BOOTP, which is what the ROACH boots over dhcp-boot=uImage # Enable dnsmasq's built-in TFTP server enable-tftp # Set the root directory for files available via FTP. tftp-root=/srv/roach2_boot/boot # The DHCP server needs somewhere on disk to keep its lease database. # This defaults to a sane location, but if you want to change it, use # the line below. dhcp-leasefile=/var/lib/misc/dnsmasq.leases # Set the DHCP server to authoritative mode. In this mode it will barge in # and take over the lease for any client which broadcasts on the network, # whether it has a record of the lease or not. This avoids long timeouts # when a machine wakes up on a new network. DO NOT enable this if there's # the slightest chance that you might end up accidentally configuring a DHCP # server for your campus/company accidentally. The ISC server uses # the same option, and this URL provides more information: # http://www.isc.org/files/auth.html dhcp-authoritative