Sunday, April 8, 2007

Script DHCP biar ga lupa ^^

#
# DHCP Server Config File
#
ddns-update-style none;
ignore client-updates;

lease-file-name "/var/lib/dhcpd/dhcpd.leases";
authoritative;

option domain-name "example.com";
default-lease-time 86400; # 24 hours
max-lease-time 172800; # 48 hours

subnet 192.168.1.0 netmask 255.255.255.0 {
option routers 192.168.1.1;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option domain-name-servers 192.168.1.1;
option ntp-servers 192.168.1.1;
option netbios-name-servers 192.168.1.1;
option netbios-node-type 8;
range 192.168.1.101 192.168.1.200;
}

ddns-update-style
Type of DDNS update to use with local DNS Server
ignore client-updates
Ignore all client requests for DDNS update
lease-file-name
Filename that stores list of active IP lease allocations
authoritative
Set as master server, protects against rogue DHCP servers and misconfigured clients
option domain-name
Specifies the Internet Domain Name to append to a client's hostname
option domain-name-servers
The DNS servers the clients should use for name resolution
default-lease-time
The default time in seconds that the IP is leased
max-lease-time
The max time in seconds that the IP is leased
option routers
Specifies the Gateway for the client to use
option subnet-mask
The subnet mask specific to the lease range
option broadcast-address
The broadcast address specific to the lease range
option ntp-servers
Network Time Protocol servers available to the clients
option netbios-name-server
The NetBIOS name server (WINS)
option netbios-node-type
The NetBIOS name resolution method (8=hybrid)
range
The range of valid IP addresses available for client offer

Friday, April 6, 2007

Test

Wah aku baru bikin blog nih....

sekarang aku mau nyoba posting dulu ah.....