Ubique Edge Router Lite UDA DHCPD server
cat /etc/dhcp3/dhcpd.conf >>
log-facility local6;
ddns-update-style ad-hoc;
#ddns-update-style none;
ddns-hostname = concat(“station-“,binary-to-ascii(10,8,”-“,leased-address));
option host-name = config-option server.ddns-hostname;
next-server 10.1.1.1 ;
if substring ( option vendor-class-identifier, 0, 9) = “PXEClient”
{
filename “pxelinux.0” ;
next-server 192.168.2.80 ;
}
# Jumpstart Support
option space SUNW;
option SUNW.root-mount-options code 1 = text;
option SUNW.root-server-ip-address code 2 = ip-address;
option SUNW.root-server-hostname code 3 = text;
option SUNW.root-path-name code 4 = text;
option SUNW.swap-server-ip-address code 5 = ip-address;
option SUNW.swap-file-path code 6 = text;
option SUNW.boot-file-path code 7 = text;
option SUNW.posix-timezone-string code 8 = text;
option SUNW.boot-read-size code 9 = unsigned integer 16;
option SUNW.install-server-ip-address code 10 = ip-address;
option SUNW.install-server-hostname code 11 = text;
option SUNW.install-path code 12 = text;
option SUNW.sysid-config-file-server code 13 = text;
option SUNW.JumpStart-server code 14 = text;
option SUNW.terminal-name code 15 = text;
subnet 192.168.2.0 netmask 255.255.255.0 {
option routers 192.168.2.1;
option domain-name-servers 192.168.2.1 ;
range 192.168.2.155 192.168.2.254 ;
max-lease-time 300;
# next line is to include template configurations without cluttering the main config file
# include “/var/public/files/dhcpd.d.conf”;
}
subnet 192.168.1.0 netmask 255.255.255.0 {
option routers 192.168.1.1;
option domain-name-servers 192.168.1.1;
range 192.168.1.100 192.168.1.254;
}
#subnet 10.1.1.22 netmask 255.0.0.0 {
#}
^^^^^ dieses skript starten mit pkill ntpd;pkill dhcpd;/usr/sbin/dhcpd3 -cf /etc/dhcp3/dhcpd.conf;
Leave a Reply