hi, anh Hậu. Em cấp phát ip như thề này, IP server thì 192.168.2.253
Trích:
ddns-update-style interim;
ignore client-updates;
subnet 192.168.2.0 netmask 255.255.255.0 {
# --- default gateway
option routers 192.168.2.253;
option subnet-mask 255.255.255.0;
option domain-name "vn.local";
option domain-name-servers 192.168.2.253;
option time-offset -18000; # Eastern Standard Time
# option ntp-servers 192.168.1.1;
# option netbios-name-servers 192.168.1.1;
# --- Selects point-to-point node (default is hybrid). Don't change this unless
# -- you understand Netbios very well
# option netbios-node-type 2;
range dynamic-bootp 192.168.2.100 192.168.2.150;
default-lease-time 21600;
max-lease-time 43200;
# we want the nameserver to appear at a fixed address
host ns {
next-server marvin.redhat.com;
hardware ethernet 00:0C:29:C6:99:04;
fixed-address 192.168.2.254;
}
}
|
nói chung là dhcp va dns ổn, nhưng slave thì chưa được.