ISC-DHCP DHCP Failover設定
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
]
開始行:
目次~
#contents
**概要 [#b68dbfc7]
ISC DHCPのDHCP Failover Protocolを使用したFailover構成の...
DHCP 2台によるFailover構成を組むことができるが、設定は個...
**構成 [#w3070d91]
DHCPはPrimary / Secondry構成となり、dhcpd.confは専用の設...
**Primary設定 [#c8a02e4b]
-/etc/dhcp/dhcpd.conf
## ---------------------------------
## dhcpd.conf (primary)
## ---------------------------------
## Date : 2016/04/04
## Network :
##
## Global setting
ddns-update-style none;
not authoritative;
log-facility local6;
## Failover setting
failover peer "【Failoverルール名】" {
primary;
address 【Primary Server IPaddress】;
port 519;
peer address 【Secondry Server IPaddress】;
peer port 520;
max-response-delay 60;
max-unacked-updates 10;
mclt 300;
split 128;
load balance max seconds 3;
}
include "/etc/dhcp/conf.d/dynamic-lease.conf";
include "/etc/dhcp/conf.d/static-lease.conf";
# EOF
**Secondry設定 [#o0487043]
-/etc/dhcp/dhcpd.conf
## ---------------------------------
## dhcpd.conf (secondry)
## ---------------------------------
## Date : 2016/04/04
## Network :
##
## Global setting
ddns-update-style none;
authoritative;
log-facility local6;
## Failover setting
failover peer "【Failoverルール名】" {
secondary;
address 【Secondry Server IPaddress】;
port 519;
peer address 【Primary Server IPaddress】;
peer port 520;
max-response-delay 60;
max-unacked-updates 10;
load balance max seconds 3;
}
include "/etc/dhcp/conf.d/dynamic-lease.conf";
include "/etc/dhcp/conf.d/static-lease.conf";
# EOF
**動的リースの設定 [#e2743835]
-/etc/dhcp/conf.d/dynamic-lease.conf
## ---------------------------------
## dhcpd.conf (dynamic-lease)
## ---------------------------------
## Date : 2016/04/11
## Network :
##
## -------------------------
## Dynamic Lease setting
## -------------------------
subnet 【ネットワークアドレス】 netmask 【ネットマスク】 {
pool {
failover peer "【Failoverルール名】";
## IPaddress lease range
range 【開始アドレス】【終了アドレス】;
## IPaddress lease time(Default)
default-lease-time 3600;
## IPaddress lease time(Max)
max-lease-time 259200;
## IPaddress segment rooter address
option routers 【デフォルトゲートウェイ】;
## Domain name
option domain-name "【ドメイン名】";
option domain-name-servers 【DNS1】, 【DNS2】,【DNS3】;
## Access control
allow unknown-clients;
#deny unknown-clients;
}
}
# EOF
**動作ログ [#i2b4032d]
-Primary (/var/log/dhcpd/dhcpd.log)
[TIMESTAMP] dhcp01 dhcpd: Internet Systems Consortium DH...
[TIMESTAMP] dhcp01 dhcpd: Copyright 2004-2010 Internet S...
[TIMESTAMP] dhcp01 dhcpd: All rights reserved.
[TIMESTAMP] dhcp01 dhcpd: For info, please visit https:/...
[TIMESTAMP] dhcp01 dhcpd: Wrote 11 leases to leases file.
[TIMESTAMP] dhcp01 dhcpd: Listening on LPF/eth0/00:50:56...
[TIMESTAMP] dhcp01 dhcpd: Sending on LPF/eth0/00:50:56...
[TIMESTAMP] dhcp01 dhcpd: Sending on Socket/fallback/f...
[TIMESTAMP] dhcp01 dhcpd: failover peer localnet: I move...
-Secondry (/var/log/dhcpd/dhcpd.log)
[TIMESTAMP] dhcp02 dhcpd: Internet Systems Consortium DH...
[TIMESTAMP] dhcp02 dhcpd: Copyright 2004-2010 Internet S...
[TIMESTAMP] dhcp02 dhcpd: All rights reserved.
[TIMESTAMP] dhcp02 dhcpd: For info, please visit https:/...
[TIMESTAMP] dhcp02 dhcpd: Wrote 11 leases to leases file.
[TIMESTAMP] dhcp02 dhcpd: Listening on LPF/eth0/00:50:56...
[TIMESTAMP] dhcp02 dhcpd: Sending on LPF/eth0/00:50:56...
[TIMESTAMP] dhcp02 dhcpd: Sending on Socket/fallback/f...
[TIMESTAMP] dhcp02 dhcpd: failover peer localnet: I move...
**参考 [#ya093934]
[[[Linux][DHCP] ISC DHCPの冗長化設定:http://kometchtech.b...
~
[[DHCPサーバの2重化(failover)の設定:http://unixservermem...
~
終了行:
目次~
#contents
**概要 [#b68dbfc7]
ISC DHCPのDHCP Failover Protocolを使用したFailover構成の...
DHCP 2台によるFailover構成を組むことができるが、設定は個...
**構成 [#w3070d91]
DHCPはPrimary / Secondry構成となり、dhcpd.confは専用の設...
**Primary設定 [#c8a02e4b]
-/etc/dhcp/dhcpd.conf
## ---------------------------------
## dhcpd.conf (primary)
## ---------------------------------
## Date : 2016/04/04
## Network :
##
## Global setting
ddns-update-style none;
not authoritative;
log-facility local6;
## Failover setting
failover peer "【Failoverルール名】" {
primary;
address 【Primary Server IPaddress】;
port 519;
peer address 【Secondry Server IPaddress】;
peer port 520;
max-response-delay 60;
max-unacked-updates 10;
mclt 300;
split 128;
load balance max seconds 3;
}
include "/etc/dhcp/conf.d/dynamic-lease.conf";
include "/etc/dhcp/conf.d/static-lease.conf";
# EOF
**Secondry設定 [#o0487043]
-/etc/dhcp/dhcpd.conf
## ---------------------------------
## dhcpd.conf (secondry)
## ---------------------------------
## Date : 2016/04/04
## Network :
##
## Global setting
ddns-update-style none;
authoritative;
log-facility local6;
## Failover setting
failover peer "【Failoverルール名】" {
secondary;
address 【Secondry Server IPaddress】;
port 519;
peer address 【Primary Server IPaddress】;
peer port 520;
max-response-delay 60;
max-unacked-updates 10;
load balance max seconds 3;
}
include "/etc/dhcp/conf.d/dynamic-lease.conf";
include "/etc/dhcp/conf.d/static-lease.conf";
# EOF
**動的リースの設定 [#e2743835]
-/etc/dhcp/conf.d/dynamic-lease.conf
## ---------------------------------
## dhcpd.conf (dynamic-lease)
## ---------------------------------
## Date : 2016/04/11
## Network :
##
## -------------------------
## Dynamic Lease setting
## -------------------------
subnet 【ネットワークアドレス】 netmask 【ネットマスク】 {
pool {
failover peer "【Failoverルール名】";
## IPaddress lease range
range 【開始アドレス】【終了アドレス】;
## IPaddress lease time(Default)
default-lease-time 3600;
## IPaddress lease time(Max)
max-lease-time 259200;
## IPaddress segment rooter address
option routers 【デフォルトゲートウェイ】;
## Domain name
option domain-name "【ドメイン名】";
option domain-name-servers 【DNS1】, 【DNS2】,【DNS3】;
## Access control
allow unknown-clients;
#deny unknown-clients;
}
}
# EOF
**動作ログ [#i2b4032d]
-Primary (/var/log/dhcpd/dhcpd.log)
[TIMESTAMP] dhcp01 dhcpd: Internet Systems Consortium DH...
[TIMESTAMP] dhcp01 dhcpd: Copyright 2004-2010 Internet S...
[TIMESTAMP] dhcp01 dhcpd: All rights reserved.
[TIMESTAMP] dhcp01 dhcpd: For info, please visit https:/...
[TIMESTAMP] dhcp01 dhcpd: Wrote 11 leases to leases file.
[TIMESTAMP] dhcp01 dhcpd: Listening on LPF/eth0/00:50:56...
[TIMESTAMP] dhcp01 dhcpd: Sending on LPF/eth0/00:50:56...
[TIMESTAMP] dhcp01 dhcpd: Sending on Socket/fallback/f...
[TIMESTAMP] dhcp01 dhcpd: failover peer localnet: I move...
-Secondry (/var/log/dhcpd/dhcpd.log)
[TIMESTAMP] dhcp02 dhcpd: Internet Systems Consortium DH...
[TIMESTAMP] dhcp02 dhcpd: Copyright 2004-2010 Internet S...
[TIMESTAMP] dhcp02 dhcpd: All rights reserved.
[TIMESTAMP] dhcp02 dhcpd: For info, please visit https:/...
[TIMESTAMP] dhcp02 dhcpd: Wrote 11 leases to leases file.
[TIMESTAMP] dhcp02 dhcpd: Listening on LPF/eth0/00:50:56...
[TIMESTAMP] dhcp02 dhcpd: Sending on LPF/eth0/00:50:56...
[TIMESTAMP] dhcp02 dhcpd: Sending on Socket/fallback/f...
[TIMESTAMP] dhcp02 dhcpd: failover peer localnet: I move...
**参考 [#ya093934]
[[[Linux][DHCP] ISC DHCPの冗長化設定:http://kometchtech.b...
~
[[DHCPサーバの2重化(failover)の設定:http://unixservermem...
~
ページ名: