| | 56 | |
| | 57 | === Configuration As of 10/14/2015 === |
| | 58 | * Main file is dhcpd.conf, includes each orbit subnet as separate file, e.g. {{{include "/etc/dhcp/grid.conf";}}} |
| | 59 | * dhcpd Header is as follows |
| | 60 | {{{ |
| | 61 | #ddns-update-style interim; |
| | 62 | authoritative; |
| | 63 | use-host-decl-names on; |
| | 64 | get-lease-hostnames true; |
| | 65 | ping-check false; |
| | 66 | ping-timeout 0; |
| | 67 | log-facility local7; |
| | 68 | default-lease-time 86400; |
| | 69 | max-lease-time 86400; |
| | 70 | ddns-updates off; |
| | 71 | #allow booting; |
| | 72 | #allow bootp; |
| | 73 | # Ivan/James on dhcp1 if you want the log to do dhcplog enable this below and modify syslog.conf |
| | 74 | |
| | 75 | option ntp-servers dhcp1.orbit-lab.org,dhcp2.orbit-lab.org; |
| | 76 | |
| | 77 | filename "/pxelinux.bin"; |
| | 78 | option option-150 code 150 = text; |
| | 79 | }}} |
| | 80 | * Header for each sandbox is: |
| | 81 | {{{ |
| | 82 | #Sandbox Config |
| | 83 | subnet 10.11.0.0 netmask 255.255.0.0 { |
| | 84 | option routers 10.11.0.1; # Router |
| | 85 | option domain-name-servers 10.11.0.9, 10.11.0.8; #DNS |
| | 86 | option domain-name "sb1.orbit-lab.org"; #current domain |
| | 87 | option log-servers 10.11.0.10; # log set per subnet |
| | 88 | option ntp-servers 10.11.0.10; #ntp set per subnet |
| | 89 | ddns-updates off; #no ddns |
| | 90 | ddns-domainname "sb1.orbit-lab.org"; |
| | 91 | next-server 10.11.0.42; #for pxe |
| | 92 | }}} |
| | 93 | |
| | 94 | * Files included are: |
| | 95 | * inside.conf |
| | 96 | * instrument.conf |
| | 97 | * network.conf |
| | 98 | * cm.conf |
| | 99 | * dmz.conf |
| | 100 | * grid.conf |
| | 101 | * outdoor.conf |
| | 102 | * failover.conf |
| | 103 | * sandbox1.conf |
| | 104 | * sandbox2.conf |
| | 105 | * sandbox3.conf |
| | 106 | * sandbox4.conf |
| | 107 | * sandbox5.conf |
| | 108 | * sandbox6.conf |
| | 109 | * sandbox7.conf |
| | 110 | * sandbox8.conf |
| | 111 | * sandbox9.conf |
| | 112 | * aruba.conf |
| | 113 | |
| | 114 | |
| | 115 | |
| | 116 | |
| | 117 | |
| | 118 | |
| | 119 | |
| | 120 | |
| | 121 | |
| | 122 | |
| | 123 | |
| | 124 | |
| | 125 | |
| | 126 | |
| | 127 | |