# Univers de XYZ subnet 192.168.1.0 netmask 255.255.255.0 { DHCPD_INTERFACE = "eth0"; authoritative; allow client-updates; # ddns-hostname = concat ("dhcp-hosts-SLN","-",binary-to-ascii(10,8,"-",leased-address)); # send host-name = concat ("dhcp-hosts-SLN","-",binary-to-ascii(10,8,"-",leased-address)); option domain-name "system-linux.net"; option domain-name-servers 192.168.1.1; option routers 192.168.1.1; option netbios-dd-server 192.168.1.1; option netbios-node-type 1; next-server 192.168.1.1; )
[global] printing = cups printcap name = /etc/printcap load printers = yes guest account = nobody invalid users = root netbios name = helios interfaces = eth0 security = user encrypt passwords = yes workgroup = XYZ server string = %h server (Samba %v) syslog only = no syslog = 0; socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096 wins support = yes os level = 65 domain master = yes local master = yes preferred master = yes name resolve order = lmhosts host wins bcast dns proxy = no preserve case = yes short preserve case = yes unix password sync = yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n . max log size = 1000 time server = yes message command = DISPLAY=:0 Xdialog --title "Message Netsend de %f" --textbox %s 10 40
# Clef secret de dialogue entre dhcpd et named key "namekey" { algorithm hmac-md5; secret "*******"; }; server-identifier dns.domaine; #ddns-update-style ad-hoc; ddns-update-style interim; default-lease-time 1800; max-lease-time 1800; option domain-name "system-linux.net"; option domain-name-servers 192.168.1.1; option routers 192.168.1.1; option netbios-dd-server 192.168.1.1; option netbios-node-type 1; DHCPD_INTERFACE = "eth0"; allow booting; allow bootp; authoritative; option space PXE; option PXE.mtftp-ip code 1 = ip-address; option PXE.mtftp-cport code 2 = unsigned integer 16; option PXE.mtftp-sport code 3 = unsigned integer 16; option PXE.mtftp-tmout code 4 = unsigned integer 8; option PXE.mtftp-delay code 5 = unsigned integer 8; option PXE.discovery-control code 6 = unsigned integer 8; option PXE.discovery-mcast-addr code 7 = ip-address; option space pxelinux; option pxelinux.magic code 208 = string; option pxelinux.configfile code 209 = text; option pxelinux.pathprefix code 210 = text; option pxelinux.reboottime code 211 = unsigned integer 32; site-option-space "pxelinux"; option pxelinux.magic f1:00:74:7e; option pxelinux.reboottime 30; if exists dhcp-parameter-request-list { append dhcp-parameter-request-list 208, 209, 210, 211; append dhcp-parameter-request-list 208,211; } class "Etherboot" { match if substring (option vendor-class-identifier, 0, 9) = "Etherboot"; filename "/etherboot/nbgrub"; option vendor-encapsulated-options 3c:09:45:74:68:65:72:62:6f:6f:74:ff; option vendor-class-identifier "Etherboot"; vendor-option-space PXE; option PXE.mtftp-ip 0.0.0.0; next-server 192.168.1.1; } class "PXE" { match if substring(option vendor-class-identifier, 0, 9) = "PXEClient"; filename "/X86PC/linux/linux.0"; option vendor-class-identifier "PXEClient"; vendor-option-space PXE; option PXE.mtftp-ip 0.0.0.0; next-server 192.168.1.1; } # Univers de XYZ subnet 192.168.1.0 netmask 255.255.255.0 { DHCPD_INTERFACE = "eth0"; authoritative; allow client-updates; # ddns-hostname = concat ("dhcp-hosts-SLN","-",binary-to-ascii(10,8,"-",leased-address)); # send host-name = concat ("dhcp-hosts-SLN","-",binary-to-ascii(10,8,"-",leased-address)); option domain-name "system-linux.net"; option domain-name-servers 192.168.1.1; option routers 192.168.1.1; option netbios-dd-server 192.168.1.1; option netbios-node-type 1; next-server 192.168.1.1; range 192.168.1.200 192.168.1.252; pool { range dynamic-bootp 192.168.1.71 192.168.1.199; allow members of "PXE"; allow members of "Etherboot"; } } # zône a mettre à jours zone domaine. { primary 192.168.1.1; key rndc-key; } # zône a mettre à jours zone 1.168.192.in-addr.arpa. { primary 192.168.1.1; key rndc-key; }