192.168.1.2 主サーバー ubuntu
192.168.1.6 セカンドサーバー xs35vl3
dhcpのipは重複しないように設定する
ubuntuのdhcp設定
vi /etc/dhcp/dhcpd.conf
default-lease-time 86400;
max-lease-time 172800;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
option domain-name-servers 192.168.1.2, 192.168.1.6;
option domain-name “private.ckenko25.jp”;
option netbios-name-servers 192.168.1.2;
option netbios-node-type 2;
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.51 192.168.1.130;
}
xs35vl3のdhcp設定
devi /etc/dhcp/dhcpd.conf
fault-lease-time 86400;
max-lease-time 172800;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
option domain-name-servers 192.168.1.6, 192.168.1.2;
option domain-name “private.ckenko25.jp”;
option netbios-name-servers 192.168.1.6;
option netbios-node-type 2;
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.131 192.168.1.200;
}
コメント