# Set the interface on which dnsmasq operates. # If not set, all the interfaces is used. interface=eth0 listen-address=::1,127.0.0.1,192.168.0.1 # To disable dnsmasq's DNS server functionality. # add host file for dns server addn-hosts=/etc/dnsmasq.d/artifacts/dnsmasq.hosts # To enable dnsmasq's DHCP server functionality. dhcp-range=192.168.0.2,192.168.0.245,255.255.255.0,12h #dhcp-range=192.168.0.50,192.168.0.150,12h # Set static IPs of other PCs and the Router. dhcp-host=c4:6e:1f:fe:ae:ce,apu_nat,192.168.0.250,infinite # TP-Link NAT-Router # ETH0 MAC for apu 0-24 dhcp-host=00:0d:b9:60:a7:14,apu00,192.168.0.10,infinite # APU0 (APU2E2 - 3eth,2wifi) dhcp-host=00:0d:b9:60:ad:b8,apu01,192.168.0.11,infinite # APU1 (APU2E2 - 3eth,2wifi) dhcp-host=00:0d:b9:60:a9:b0,apu02,192.168.0.12,infinite # APU2 (APU2E2 - 3eth,2wifi) dhcp-host=00:0d:b9:60:a7:68,apu03,192.168.0.13,infinite # APU3 (APU2E2 - 3eth,2wifi) dhcp-host=00:0d:b9:60:a7:2c,apu04,192.168.0.14,infinite # APU4 (APU2E2 - 3eth,2wifi) dhcp-host=00:0d:b9:60:ab:9c,apu05,192.168.0.15,infinite # APU5 (APU2E2 - 3eth,2wifi) dhcp-host=00:0d:b9:60:ae:bc,apu06,192.168.0.16,infinite # APU6 (APU2E2 - 3eth,2wifi) dhcp-host=00:0d:b9:60:a8:f0,apu07,192.168.0.17,infinite # APU7 (APU2E2 - 3eth,2wifi) dhcp-host=00:0d:b9:60:9e:40,apu08,192.168.0.18,infinite # APU8 (APU2E2 - 3eth,2wifi) dhcp-host=00:0d:b9:60:99:f0,apu09,192.168.0.19,infinite # APU9 (APU2E2 - 3eth,2wifi) dhcp-host=00:0d:b9:60:ae:60,apu10,192.168.0.20,infinite # APU10 (APU2E2 - 3eth,2wifi) dhcp-host=00:0d:b9:60:a7:e8,apu11,192.168.0.21,infinite # APU11 (APU2E2 - 3eth,2wifi) dhcp-host=00:0d:b9:60:a7:80,apu12,192.168.0.22,infinite # APU12 (APU2E2 - 3eth,2wifi) dhcp-host=00:0d:b9:60:9a:ac,apu13,192.168.0.23,infinite # APU13 (APU2E2 - 3eth,2wifi) dhcp-host=00:0d:b9:5f:95:70,apu14,192.168.0.24,infinite # APU14 (APU2E2 - 3eth,2wifi) dhcp-host=00:0d:b9:60:a1:88,apu15,192.168.0.25,infinite # APU15 (APU2E2 - 3eth,2wifi) dhcp-host=00:0d:b9:60:af:70,apu16,192.168.0.26,infinite # APU16 (APU2E2 - 3eth,2wifi) dhcp-host=00:0d:b9:60:a7:74,apu17,192.168.0.27,infinite # APU17 (APU2E2 - 3eth,2wifi) dhcp-host=00:0d:b9:60:a8:2c,apu18,192.168.0.28,infinite # APU18 (APU2E2 - 3eth,2wifi) dhcp-host=00:0d:b9:60:aa:6c,apu19,192.168.0.29,infinite # APU19 (APU2E2 - 3eth,2wifi) dhcp-host=00:0d:b9:60:a9:60,apu20,192.168.0.30,infinite # APU20 (APU2E2 - 3eth,2wifi) dhcp-host=00:0d:b9:60:a9:74,apu21,192.168.0.31,infinite # APU21 (APU2E2 - 3eth,2wifi) dhcp-host=00:0d:b9:60:aa:64,apu22,192.168.0.32,infinite # APU22 (APU2E2 - 3eth,2wifi) dhcp-host=00:0d:b9:60:a8:68,apu23,192.168.0.33,infinite # APU23 (APU2E2 - 3eth,2wifi) dhcp-host=00:0d:b9:60:9a:48,apu24,192.168.0.34,infinite # APU24 (APU2E2 - 3eth,2wifi) # ETH0 MAC for apu 50-54 dhcp-host=00:0d:b9:51:35:78,apu50,192.168.0.50,infinite # APU60 (APU2D2 - 3eth,2wifi) dhcp-host=00:0d:b9:51:30:60,apu51,192.168.0.51,infinite # APU61 (APU2D2 - 3eth,2wifi) dhcp-host=00:0d:b9:51:2f:d4,apu52,192.168.0.52,infinite # APU62 (APU2D2 - 3eth,2wifi) dhcp-host=00:0d:b9:51:37:14,apu53,192.168.0.53,infinite # APU63 (APU2D2 - 3eth,2wifi) dhcp-host=00:0d:b9:51:31:48,apu54,192.168.0.54,infinite # APU64 (APU2D2 - 3eth,2wifi) # ETH0 MAC for apu 60-84 dhcp-host=00:0d:b9:60:5c:98,apu60,192.168.0.60,infinite # APU60 (APU4D4 - 4eth,1wifi - only one mPCIe wifi card possible) dhcp-host=00:0d:b9:60:77:88,apu61,192.168.0.61,infinite # APU61 (APU4D4 - 4eth,1wifi - only one mPCIe wifi card possible) dhcp-host=00:0d:b9:60:66:ec,apu62,192.168.0.62,infinite # APU62 (APU4D4 - 4eth,1wifi - only one mPCIe wifi card possible) dhcp-host=00:0d:b9:60:68:48,apu63,192.168.0.63,infinite # APU63 (APU4D4 - 4eth,1wifi - only one mPCIe wifi card possible) dhcp-host=00:0d:b9:60:65:24,apu64,192.168.0.64,infinite # APU64 (APU4D4 - 4eth,1wifi - only one mPCIe wifi card possible) dhcp-host=00:0d:b9:60:5f:04,apu65,192.168.0.65,infinite # APU65 (APU4D4 - 4eth,1wifi - only one mPCIe wifi card possible) dhcp-host=00:0d:b9:60:78:38,apu66,192.168.0.66,infinite # APU66 (APU4D4 - 4eth,1wifi - only one mPCIe wifi card possible) dhcp-host=00:0d:b9:60:78:78,apu67,192.168.0.67,infinite # APU67 (APU4D4 - 4eth,1wifi - only one mPCIe wifi card possible) dhcp-host=00:0d:b9:60:76:48,apu68,192.168.0.68,infinite # APU68 (APU4D4 - 4eth,1wifi - only one mPCIe wifi card possible) dhcp-host=00:0d:b9:60:64:f4,apu69,192.168.0.69,infinite # APU69 (APU4D4 - 4eth,1wifi - only one mPCIe wifi card possible) dhcp-host=00:0d:b9:60:55:fc,apu70,192.168.0.70,infinite # APU70 (APU4D4 - 4eth,1wifi - only one mPCIe wifi card possible) dhcp-host=00:0d:b9:60:73:d0,apu71,192.168.0.71,infinite # APU71 (APU4D4 - 4eth,1wifi - only one mPCIe wifi card possible) dhcp-host=00:0d:b9:60:68:38,apu72,192.168.0.72,infinite # APU72 (APU4D4 - 4eth,1wifi - only one mPCIe wifi card possible) dhcp-host=00:0d:b9:60:74:0c,apu73,192.168.0.73,infinite # APU73 (APU4D4 - 4eth,1wifi - only one mPCIe wifi card possible) dhcp-host=00:0d:b9:60:56:b4,apu74,192.168.0.74,infinite # APU74 (APU4D4 - 4eth,1wifi - only one mPCIe wifi card possible) dhcp-host=00:0d:b9:60:64:ec,apu75,192.168.0.75,infinite # APU75 (APU4D4 - 4eth,1wifi - only one mPCIe wifi card possible) dhcp-host=00:0d:b9:60:68:24,apu76,192.168.0.76,infinite # APU76 (APU4D4 - 4eth,1wifi - only one mPCIe wifi card possible) dhcp-host=00:0d:b9:60:68:10,apu77,192.168.0.77,infinite # APU77 (APU4D4 - 4eth,1wifi - only one mPCIe wifi card possible) dhcp-host=00:0d:b9:60:70:ac,apu78,192.168.0.78,infinite # APU78 (APU4D4 - 4eth,1wifi - only one mPCIe wifi card possible) dhcp-host=00:0d:b9:60:76:04,apu79,192.168.0.79,infinite # APU79 (APU4D4 - 4eth,1wifi - only one mPCIe wifi card possible) dhcp-host=00:0d:b9:60:59:4c,apu80,192.168.0.80,infinite # APU80 (APU4D4 - 4eth,1wifi - only one mPCIe wifi card possible) dhcp-host=00:0d:b9:60:66:48,apu81,192.168.0.81,infinite # APU81 (APU4D4 - 4eth,1wifi - only one mPCIe wifi card possible) dhcp-host=00:0d:b9:60:73:98,apu82,192.168.0.82,infinite # APU82 (APU4D4 - 4eth,1wifi - only one mPCIe wifi card possible) dhcp-host=00:0d:b9:60:66:b0,apu83,192.168.0.83,infinite # APU83 (APU4D4 - 4eth,1wifi - only one mPCIe wifi card possible) dhcp-host=00:0d:b9:60:55:f4,apu84,192.168.0.84,infinite # APU84 (APU4D4 - 4eth,1wifi - only one mPCIe wifi card possible) # Smart Switches # TP-Link dhcp-host=1c:61:b4:20:7e:2d,sw0,192.168.0.240,infinite # SW00 (TP-LINK: TL-SG108E) dhcp-host=b4:b0:24:92:e6:83,sw1,192.168.0.241,infinite # SW01 (TP-LINK: TL-SG108E) dhcp-host=1c:61:b4:20:7f:6f,sw2,192.168.0.242,infinite # SW02 (TP-LINK: TL-SG108E) dhcp-host=1c:61:b4:20:76:43,sw3,192.168.0.243,infinite # SW03 (TP-LINK: TL-SG108E) dhcp-host=1c:61:b4:20:7f:77,sw4,192.168.0.244,infinite # SW04 (TP-LINK: TL-SG108E) # Netgear dhcp-host=b0:39:56:73:fc:e7,sw5,192.168.0.245,infinite # SW05 (Netgear: GS108Ev3) # Set gateway as Router. Following two lines are identical. #dhcp-option=option:router,192.168.0.250 #tb350: router is TP-Link TL-WR1043ND dhcp-option=3,192.168.0.250 # Set DNS server as Router. #dhcp-option=6,192.168.0.1 # We'll use its built-in TFTP server tftp-no-blocksize tftp-no-fail enable-tftp # Set the root directory for files available via FTP. tftp-root=/home/tftproot # The boot filename. dhcp-boot=pxelinux.0 # kill multicast dhcp-option=vendor:PXEClient,6,2b # PXE menu #pxe-prompt="Press F8 for boot menu", 2 pxe-service=X86PC, "pxelinux.0", pxelinux # A boot service type of 0 is special, and will abort the # net boot procedure and continue booting from local media. #pxe-service=X86PC, "Boot from local hard disk", 5 # Logging. #log-facility=/home/apu/testbed_files/log_files/dnsmasq/dnsmasq.log # logfile path. log-facility=/home/apu/apu_logs/dnsmasq/dnsmasq.log # logfile path. log-async log-queries # log queries. log-dhcp # log dhcp related messages.