dhcp-serverを小さなWebスタジオにインストールするタスクを設定します。私がそれを解決したときのメモ:
タスクは、Linux(debian)にDHCPサーバーをインストールすることでした。
LAN:32件
ドメインコントローラー-Windows 2003
LAMP実稼働サーバー-Debian
プリントサーバー-debian
1Cサーバー-Debian
バックアップサーバー-debian
合計:5戦闘車両
標準のDHCP3-serverを置き換える実験としてdnsmasqゲートウェイを使用することが決定されました
インストール:
root @ gw:#apt-get install dnsmasq<your editor> /etc/dnsmasq.confを開きます
構成ファイルは美しく文書化されています:
# — ( — bind ) port=0 bogus-priv # # eth0 — WAN # eth1 — LAN interface =eth1 # dhcp-range=10.15.0.2,10.15.0.253,12h # : dhcp-host=00:00:00:00:00:00, 10.0.0.1 # gw — dhcp-host=00:00:00:00:00:00, 10.0.1.1 # PDC — dhcp-host=00:00:00:00:00:00, 10.0.1.2 # dhcp-host=00:00:00:00:00:00, 10.0.1.3 # WI-FI dhcp-host=00:00:00:00:00:00, 10.0.1.4 # - dhcp-host=00:00:00:00:00:00, 10.0.0. 5 # # dhcp-host=00:00:00:00:00:00,10.15.0.01 # dhcp-host=00:00:00:00:00:00,10.15.0.02 # . dhcp-host=00:00:00:00:00:00,10.15.0.03 # dhcp-host=00:00:00:00:00:00,10.15.0.04 # dhcp-host=00:00:00:00:00:00,10.15.0.05 # . # ( RFC 2132) dhcp-option=1,255.240.0.0 # dhcp-option=2,10800 # dhcp-option=3,10.0.0.1 # dhcp-option=42,1.0.0.1 # dhcp-option=44,10.0.1.1 # WINS dhcp-option=46,8 # WINS. - 1 8. 1 2 4 8 dhcp-boot=pxelinux.0,10.0.0.1 # dhcp-leasefile=/ var /log/dnsmasq/dnsmasq.leases # dhcp-authoritative log-dhcp #
# — ( — bind ) port=0 bogus-priv # # eth0 — WAN # eth1 — LAN interface =eth1 # dhcp-range=10.15.0.2,10.15.0.253,12h # : dhcp-host=00:00:00:00:00:00, 10.0.0.1 # gw — dhcp-host=00:00:00:00:00:00, 10.0.1.1 # PDC — dhcp-host=00:00:00:00:00:00, 10.0.1.2 # dhcp-host=00:00:00:00:00:00, 10.0.1.3 # WI-FI dhcp-host=00:00:00:00:00:00, 10.0.1.4 # - dhcp-host=00:00:00:00:00:00, 10.0.0. 5 # # dhcp-host=00:00:00:00:00:00,10.15.0.01 # dhcp-host=00:00:00:00:00:00,10.15.0.02 # . dhcp-host=00:00:00:00:00:00,10.15.0.03 # dhcp-host=00:00:00:00:00:00,10.15.0.04 # dhcp-host=00:00:00:00:00:00,10.15.0.05 # . # ( RFC 2132) dhcp-option=1,255.240.0.0 # dhcp-option=2,10800 # dhcp-option=3,10.0.0.1 # dhcp-option=42,1.0.0.1 # dhcp-option=44,10.0.1.1 # WINS dhcp-option=46,8 # WINS. - 1 8. 1 2 4 8 dhcp-boot=pxelinux.0,10.0.0.1 # dhcp-leasefile=/ var /log/dnsmasq/dnsmasq.leases # dhcp-authoritative log-dhcp #
# — ( — bind ) port=0 bogus-priv # # eth0 — WAN # eth1 — LAN interface =eth1 # dhcp-range=10.15.0.2,10.15.0.253,12h # : dhcp-host=00:00:00:00:00:00, 10.0.0.1 # gw — dhcp-host=00:00:00:00:00:00, 10.0.1.1 # PDC — dhcp-host=00:00:00:00:00:00, 10.0.1.2 # dhcp-host=00:00:00:00:00:00, 10.0.1.3 # WI-FI dhcp-host=00:00:00:00:00:00, 10.0.1.4 # - dhcp-host=00:00:00:00:00:00, 10.0.0. 5 # # dhcp-host=00:00:00:00:00:00,10.15.0.01 # dhcp-host=00:00:00:00:00:00,10.15.0.02 # . dhcp-host=00:00:00:00:00:00,10.15.0.03 # dhcp-host=00:00:00:00:00:00,10.15.0.04 # dhcp-host=00:00:00:00:00:00,10.15.0.05 # . # ( RFC 2132) dhcp-option=1,255.240.0.0 # dhcp-option=2,10800 # dhcp-option=3,10.0.0.1 # dhcp-option=42,1.0.0.1 # dhcp-option=44,10.0.1.1 # WINS dhcp-option=46,8 # WINS. - 1 8. 1 2 4 8 dhcp-boot=pxelinux.0,10.0.0.1 # dhcp-leasefile=/ var /log/dnsmasq/dnsmasq.leases # dhcp-authoritative log-dhcp #
# — ( — bind ) port=0 bogus-priv # # eth0 — WAN # eth1 — LAN interface =eth1 # dhcp-range=10.15.0.2,10.15.0.253,12h # : dhcp-host=00:00:00:00:00:00, 10.0.0.1 # gw — dhcp-host=00:00:00:00:00:00, 10.0.1.1 # PDC — dhcp-host=00:00:00:00:00:00, 10.0.1.2 # dhcp-host=00:00:00:00:00:00, 10.0.1.3 # WI-FI dhcp-host=00:00:00:00:00:00, 10.0.1.4 # - dhcp-host=00:00:00:00:00:00, 10.0.0. 5 # # dhcp-host=00:00:00:00:00:00,10.15.0.01 # dhcp-host=00:00:00:00:00:00,10.15.0.02 # . dhcp-host=00:00:00:00:00:00,10.15.0.03 # dhcp-host=00:00:00:00:00:00,10.15.0.04 # dhcp-host=00:00:00:00:00:00,10.15.0.05 # . # ( RFC 2132) dhcp-option=1,255.240.0.0 # dhcp-option=2,10800 # dhcp-option=3,10.0.0.1 # dhcp-option=42,1.0.0.1 # dhcp-option=44,10.0.1.1 # WINS dhcp-option=46,8 # WINS. - 1 8. 1 2 4 8 dhcp-boot=pxelinux.0,10.0.0.1 # dhcp-leasefile=/ var /log/dnsmasq/dnsmasq.leases # dhcp-authoritative log-dhcp #
# — ( — bind ) port=0 bogus-priv # # eth0 — WAN # eth1 — LAN interface =eth1 # dhcp-range=10.15.0.2,10.15.0.253,12h # : dhcp-host=00:00:00:00:00:00, 10.0.0.1 # gw — dhcp-host=00:00:00:00:00:00, 10.0.1.1 # PDC — dhcp-host=00:00:00:00:00:00, 10.0.1.2 # dhcp-host=00:00:00:00:00:00, 10.0.1.3 # WI-FI dhcp-host=00:00:00:00:00:00, 10.0.1.4 # - dhcp-host=00:00:00:00:00:00, 10.0.0. 5 # # dhcp-host=00:00:00:00:00:00,10.15.0.01 # dhcp-host=00:00:00:00:00:00,10.15.0.02 # . dhcp-host=00:00:00:00:00:00,10.15.0.03 # dhcp-host=00:00:00:00:00:00,10.15.0.04 # dhcp-host=00:00:00:00:00:00,10.15.0.05 # . # ( RFC 2132) dhcp-option=1,255.240.0.0 # dhcp-option=2,10800 # dhcp-option=3,10.0.0.1 # dhcp-option=42,1.0.0.1 # dhcp-option=44,10.0.1.1 # WINS dhcp-option=46,8 # WINS. - 1 8. 1 2 4 8 dhcp-boot=pxelinux.0,10.0.0.1 # dhcp-leasefile=/ var /log/dnsmasq/dnsmasq.leases # dhcp-authoritative log-dhcp #
# — ( — bind ) port=0 bogus-priv # # eth0 — WAN # eth1 — LAN interface =eth1 # dhcp-range=10.15.0.2,10.15.0.253,12h # : dhcp-host=00:00:00:00:00:00, 10.0.0.1 # gw — dhcp-host=00:00:00:00:00:00, 10.0.1.1 # PDC — dhcp-host=00:00:00:00:00:00, 10.0.1.2 # dhcp-host=00:00:00:00:00:00, 10.0.1.3 # WI-FI dhcp-host=00:00:00:00:00:00, 10.0.1.4 # - dhcp-host=00:00:00:00:00:00, 10.0.0. 5 # # dhcp-host=00:00:00:00:00:00,10.15.0.01 # dhcp-host=00:00:00:00:00:00,10.15.0.02 # . dhcp-host=00:00:00:00:00:00,10.15.0.03 # dhcp-host=00:00:00:00:00:00,10.15.0.04 # dhcp-host=00:00:00:00:00:00,10.15.0.05 # . # ( RFC 2132) dhcp-option=1,255.240.0.0 # dhcp-option=2,10800 # dhcp-option=3,10.0.0.1 # dhcp-option=42,1.0.0.1 # dhcp-option=44,10.0.1.1 # WINS dhcp-option=46,8 # WINS. - 1 8. 1 2 4 8 dhcp-boot=pxelinux.0,10.0.0.1 # dhcp-leasefile=/ var /log/dnsmasq/dnsmasq.leases # dhcp-authoritative log-dhcp #
# — ( — bind ) port=0 bogus-priv # # eth0 — WAN # eth1 — LAN interface =eth1 # dhcp-range=10.15.0.2,10.15.0.253,12h # : dhcp-host=00:00:00:00:00:00, 10.0.0.1 # gw — dhcp-host=00:00:00:00:00:00, 10.0.1.1 # PDC — dhcp-host=00:00:00:00:00:00, 10.0.1.2 # dhcp-host=00:00:00:00:00:00, 10.0.1.3 # WI-FI dhcp-host=00:00:00:00:00:00, 10.0.1.4 # - dhcp-host=00:00:00:00:00:00, 10.0.0. 5 # # dhcp-host=00:00:00:00:00:00,10.15.0.01 # dhcp-host=00:00:00:00:00:00,10.15.0.02 # . dhcp-host=00:00:00:00:00:00,10.15.0.03 # dhcp-host=00:00:00:00:00:00,10.15.0.04 # dhcp-host=00:00:00:00:00:00,10.15.0.05 # . # ( RFC 2132) dhcp-option=1,255.240.0.0 # dhcp-option=2,10800 # dhcp-option=3,10.0.0.1 # dhcp-option=42,1.0.0.1 # dhcp-option=44,10.0.1.1 # WINS dhcp-option=46,8 # WINS. - 1 8. 1 2 4 8 dhcp-boot=pxelinux.0,10.0.0.1 # dhcp-leasefile=/ var /log/dnsmasq/dnsmasq.leases # dhcp-authoritative log-dhcp #
# — ( — bind ) port=0 bogus-priv # # eth0 — WAN # eth1 — LAN interface =eth1 # dhcp-range=10.15.0.2,10.15.0.253,12h # : dhcp-host=00:00:00:00:00:00, 10.0.0.1 # gw — dhcp-host=00:00:00:00:00:00, 10.0.1.1 # PDC — dhcp-host=00:00:00:00:00:00, 10.0.1.2 # dhcp-host=00:00:00:00:00:00, 10.0.1.3 # WI-FI dhcp-host=00:00:00:00:00:00, 10.0.1.4 # - dhcp-host=00:00:00:00:00:00, 10.0.0. 5 # # dhcp-host=00:00:00:00:00:00,10.15.0.01 # dhcp-host=00:00:00:00:00:00,10.15.0.02 # . dhcp-host=00:00:00:00:00:00,10.15.0.03 # dhcp-host=00:00:00:00:00:00,10.15.0.04 # dhcp-host=00:00:00:00:00:00,10.15.0.05 # . # ( RFC 2132) dhcp-option=1,255.240.0.0 # dhcp-option=2,10800 # dhcp-option=3,10.0.0.1 # dhcp-option=42,1.0.0.1 # dhcp-option=44,10.0.1.1 # WINS dhcp-option=46,8 # WINS. - 1 8. 1 2 4 8 dhcp-boot=pxelinux.0,10.0.0.1 # dhcp-leasefile=/ var /log/dnsmasq/dnsmasq.leases # dhcp-authoritative log-dhcp #
# — ( — bind ) port=0 bogus-priv # # eth0 — WAN # eth1 — LAN interface =eth1 # dhcp-range=10.15.0.2,10.15.0.253,12h # : dhcp-host=00:00:00:00:00:00, 10.0.0.1 # gw — dhcp-host=00:00:00:00:00:00, 10.0.1.1 # PDC — dhcp-host=00:00:00:00:00:00, 10.0.1.2 # dhcp-host=00:00:00:00:00:00, 10.0.1.3 # WI-FI dhcp-host=00:00:00:00:00:00, 10.0.1.4 # - dhcp-host=00:00:00:00:00:00, 10.0.0. 5 # # dhcp-host=00:00:00:00:00:00,10.15.0.01 # dhcp-host=00:00:00:00:00:00,10.15.0.02 # . dhcp-host=00:00:00:00:00:00,10.15.0.03 # dhcp-host=00:00:00:00:00:00,10.15.0.04 # dhcp-host=00:00:00:00:00:00,10.15.0.05 # . # ( RFC 2132) dhcp-option=1,255.240.0.0 # dhcp-option=2,10800 # dhcp-option=3,10.0.0.1 # dhcp-option=42,1.0.0.1 # dhcp-option=44,10.0.1.1 # WINS dhcp-option=46,8 # WINS. - 1 8. 1 2 4 8 dhcp-boot=pxelinux.0,10.0.0.1 # dhcp-leasefile=/ var /log/dnsmasq/dnsmasq.leases # dhcp-authoritative log-dhcp #
# — ( — bind ) port=0 bogus-priv # # eth0 — WAN # eth1 — LAN interface =eth1 # dhcp-range=10.15.0.2,10.15.0.253,12h # : dhcp-host=00:00:00:00:00:00, 10.0.0.1 # gw — dhcp-host=00:00:00:00:00:00, 10.0.1.1 # PDC — dhcp-host=00:00:00:00:00:00, 10.0.1.2 # dhcp-host=00:00:00:00:00:00, 10.0.1.3 # WI-FI dhcp-host=00:00:00:00:00:00, 10.0.1.4 # - dhcp-host=00:00:00:00:00:00, 10.0.0. 5 # # dhcp-host=00:00:00:00:00:00,10.15.0.01 # dhcp-host=00:00:00:00:00:00,10.15.0.02 # . dhcp-host=00:00:00:00:00:00,10.15.0.03 # dhcp-host=00:00:00:00:00:00,10.15.0.04 # dhcp-host=00:00:00:00:00:00,10.15.0.05 # . # ( RFC 2132) dhcp-option=1,255.240.0.0 # dhcp-option=2,10800 # dhcp-option=3,10.0.0.1 # dhcp-option=42,1.0.0.1 # dhcp-option=44,10.0.1.1 # WINS dhcp-option=46,8 # WINS. - 1 8. 1 2 4 8 dhcp-boot=pxelinux.0,10.0.0.1 # dhcp-leasefile=/ var /log/dnsmasq/dnsmasq.leases # dhcp-authoritative log-dhcp #
# — ( — bind ) port=0 bogus-priv # # eth0 — WAN # eth1 — LAN interface =eth1 # dhcp-range=10.15.0.2,10.15.0.253,12h # : dhcp-host=00:00:00:00:00:00, 10.0.0.1 # gw — dhcp-host=00:00:00:00:00:00, 10.0.1.1 # PDC — dhcp-host=00:00:00:00:00:00, 10.0.1.2 # dhcp-host=00:00:00:00:00:00, 10.0.1.3 # WI-FI dhcp-host=00:00:00:00:00:00, 10.0.1.4 # - dhcp-host=00:00:00:00:00:00, 10.0.0. 5 # # dhcp-host=00:00:00:00:00:00,10.15.0.01 # dhcp-host=00:00:00:00:00:00,10.15.0.02 # . dhcp-host=00:00:00:00:00:00,10.15.0.03 # dhcp-host=00:00:00:00:00:00,10.15.0.04 # dhcp-host=00:00:00:00:00:00,10.15.0.05 # . # ( RFC 2132) dhcp-option=1,255.240.0.0 # dhcp-option=2,10800 # dhcp-option=3,10.0.0.1 # dhcp-option=42,1.0.0.1 # dhcp-option=44,10.0.1.1 # WINS dhcp-option=46,8 # WINS. - 1 8. 1 2 4 8 dhcp-boot=pxelinux.0,10.0.0.1 # dhcp-leasefile=/ var /log/dnsmasq/dnsmasq.leases # dhcp-authoritative log-dhcp #
# — ( — bind ) port=0 bogus-priv # # eth0 — WAN # eth1 — LAN interface =eth1 # dhcp-range=10.15.0.2,10.15.0.253,12h # : dhcp-host=00:00:00:00:00:00, 10.0.0.1 # gw — dhcp-host=00:00:00:00:00:00, 10.0.1.1 # PDC — dhcp-host=00:00:00:00:00:00, 10.0.1.2 # dhcp-host=00:00:00:00:00:00, 10.0.1.3 # WI-FI dhcp-host=00:00:00:00:00:00, 10.0.1.4 # - dhcp-host=00:00:00:00:00:00, 10.0.0. 5 # # dhcp-host=00:00:00:00:00:00,10.15.0.01 # dhcp-host=00:00:00:00:00:00,10.15.0.02 # . dhcp-host=00:00:00:00:00:00,10.15.0.03 # dhcp-host=00:00:00:00:00:00,10.15.0.04 # dhcp-host=00:00:00:00:00:00,10.15.0.05 # . # ( RFC 2132) dhcp-option=1,255.240.0.0 # dhcp-option=2,10800 # dhcp-option=3,10.0.0.1 # dhcp-option=42,1.0.0.1 # dhcp-option=44,10.0.1.1 # WINS dhcp-option=46,8 # WINS. - 1 8. 1 2 4 8 dhcp-boot=pxelinux.0,10.0.0.1 # dhcp-leasefile=/ var /log/dnsmasq/dnsmasq.leases # dhcp-authoritative log-dhcp #
# — ( — bind ) port=0 bogus-priv # # eth0 — WAN # eth1 — LAN interface =eth1 # dhcp-range=10.15.0.2,10.15.0.253,12h # : dhcp-host=00:00:00:00:00:00, 10.0.0.1 # gw — dhcp-host=00:00:00:00:00:00, 10.0.1.1 # PDC — dhcp-host=00:00:00:00:00:00, 10.0.1.2 # dhcp-host=00:00:00:00:00:00, 10.0.1.3 # WI-FI dhcp-host=00:00:00:00:00:00, 10.0.1.4 # - dhcp-host=00:00:00:00:00:00, 10.0.0. 5 # # dhcp-host=00:00:00:00:00:00,10.15.0.01 # dhcp-host=00:00:00:00:00:00,10.15.0.02 # . dhcp-host=00:00:00:00:00:00,10.15.0.03 # dhcp-host=00:00:00:00:00:00,10.15.0.04 # dhcp-host=00:00:00:00:00:00,10.15.0.05 # . # ( RFC 2132) dhcp-option=1,255.240.0.0 # dhcp-option=2,10800 # dhcp-option=3,10.0.0.1 # dhcp-option=42,1.0.0.1 # dhcp-option=44,10.0.1.1 # WINS dhcp-option=46,8 # WINS. - 1 8. 1 2 4 8 dhcp-boot=pxelinux.0,10.0.0.1 # dhcp-leasefile=/ var /log/dnsmasq/dnsmasq.leases # dhcp-authoritative log-dhcp #
# — ( — bind ) port=0 bogus-priv # # eth0 — WAN # eth1 — LAN interface =eth1 # dhcp-range=10.15.0.2,10.15.0.253,12h # : dhcp-host=00:00:00:00:00:00, 10.0.0.1 # gw — dhcp-host=00:00:00:00:00:00, 10.0.1.1 # PDC — dhcp-host=00:00:00:00:00:00, 10.0.1.2 # dhcp-host=00:00:00:00:00:00, 10.0.1.3 # WI-FI dhcp-host=00:00:00:00:00:00, 10.0.1.4 # - dhcp-host=00:00:00:00:00:00, 10.0.0. 5 # # dhcp-host=00:00:00:00:00:00,10.15.0.01 # dhcp-host=00:00:00:00:00:00,10.15.0.02 # . dhcp-host=00:00:00:00:00:00,10.15.0.03 # dhcp-host=00:00:00:00:00:00,10.15.0.04 # dhcp-host=00:00:00:00:00:00,10.15.0.05 # . # ( RFC 2132) dhcp-option=1,255.240.0.0 # dhcp-option=2,10800 # dhcp-option=3,10.0.0.1 # dhcp-option=42,1.0.0.1 # dhcp-option=44,10.0.1.1 # WINS dhcp-option=46,8 # WINS. - 1 8. 1 2 4 8 dhcp-boot=pxelinux.0,10.0.0.1 # dhcp-leasefile=/ var /log/dnsmasq/dnsmasq.leases # dhcp-authoritative log-dhcp #
# — ( — bind ) port=0 bogus-priv # # eth0 — WAN # eth1 — LAN interface =eth1 # dhcp-range=10.15.0.2,10.15.0.253,12h # : dhcp-host=00:00:00:00:00:00, 10.0.0.1 # gw — dhcp-host=00:00:00:00:00:00, 10.0.1.1 # PDC — dhcp-host=00:00:00:00:00:00, 10.0.1.2 # dhcp-host=00:00:00:00:00:00, 10.0.1.3 # WI-FI dhcp-host=00:00:00:00:00:00, 10.0.1.4 # - dhcp-host=00:00:00:00:00:00, 10.0.0. 5 # # dhcp-host=00:00:00:00:00:00,10.15.0.01 # dhcp-host=00:00:00:00:00:00,10.15.0.02 # . dhcp-host=00:00:00:00:00:00,10.15.0.03 # dhcp-host=00:00:00:00:00:00,10.15.0.04 # dhcp-host=00:00:00:00:00:00,10.15.0.05 # . # ( RFC 2132) dhcp-option=1,255.240.0.0 # dhcp-option=2,10800 # dhcp-option=3,10.0.0.1 # dhcp-option=42,1.0.0.1 # dhcp-option=44,10.0.1.1 # WINS dhcp-option=46,8 # WINS. - 1 8. 1 2 4 8 dhcp-boot=pxelinux.0,10.0.0.1 # dhcp-leasefile=/ var /log/dnsmasq/dnsmasq.leases # dhcp-authoritative log-dhcp #
# — ( — bind ) port=0 bogus-priv # # eth0 — WAN # eth1 — LAN interface =eth1 # dhcp-range=10.15.0.2,10.15.0.253,12h # : dhcp-host=00:00:00:00:00:00, 10.0.0.1 # gw — dhcp-host=00:00:00:00:00:00, 10.0.1.1 # PDC — dhcp-host=00:00:00:00:00:00, 10.0.1.2 # dhcp-host=00:00:00:00:00:00, 10.0.1.3 # WI-FI dhcp-host=00:00:00:00:00:00, 10.0.1.4 # - dhcp-host=00:00:00:00:00:00, 10.0.0. 5 # # dhcp-host=00:00:00:00:00:00,10.15.0.01 # dhcp-host=00:00:00:00:00:00,10.15.0.02 # . dhcp-host=00:00:00:00:00:00,10.15.0.03 # dhcp-host=00:00:00:00:00:00,10.15.0.04 # dhcp-host=00:00:00:00:00:00,10.15.0.05 # . # ( RFC 2132) dhcp-option=1,255.240.0.0 # dhcp-option=2,10800 # dhcp-option=3,10.0.0.1 # dhcp-option=42,1.0.0.1 # dhcp-option=44,10.0.1.1 # WINS dhcp-option=46,8 # WINS. - 1 8. 1 2 4 8 dhcp-boot=pxelinux.0,10.0.0.1 # dhcp-leasefile=/ var /log/dnsmasq/dnsmasq.leases # dhcp-authoritative log-dhcp #
# — ( — bind ) port=0 bogus-priv # # eth0 — WAN # eth1 — LAN interface =eth1 # dhcp-range=10.15.0.2,10.15.0.253,12h # : dhcp-host=00:00:00:00:00:00, 10.0.0.1 # gw — dhcp-host=00:00:00:00:00:00, 10.0.1.1 # PDC — dhcp-host=00:00:00:00:00:00, 10.0.1.2 # dhcp-host=00:00:00:00:00:00, 10.0.1.3 # WI-FI dhcp-host=00:00:00:00:00:00, 10.0.1.4 # - dhcp-host=00:00:00:00:00:00, 10.0.0. 5 # # dhcp-host=00:00:00:00:00:00,10.15.0.01 # dhcp-host=00:00:00:00:00:00,10.15.0.02 # . dhcp-host=00:00:00:00:00:00,10.15.0.03 # dhcp-host=00:00:00:00:00:00,10.15.0.04 # dhcp-host=00:00:00:00:00:00,10.15.0.05 # . # ( RFC 2132) dhcp-option=1,255.240.0.0 # dhcp-option=2,10800 # dhcp-option=3,10.0.0.1 # dhcp-option=42,1.0.0.1 # dhcp-option=44,10.0.1.1 # WINS dhcp-option=46,8 # WINS. - 1 8. 1 2 4 8 dhcp-boot=pxelinux.0,10.0.0.1 # dhcp-leasefile=/ var /log/dnsmasq/dnsmasq.leases # dhcp-authoritative log-dhcp #
# — ( — bind ) port=0 bogus-priv # # eth0 — WAN # eth1 — LAN interface =eth1 # dhcp-range=10.15.0.2,10.15.0.253,12h # : dhcp-host=00:00:00:00:00:00, 10.0.0.1 # gw — dhcp-host=00:00:00:00:00:00, 10.0.1.1 # PDC — dhcp-host=00:00:00:00:00:00, 10.0.1.2 # dhcp-host=00:00:00:00:00:00, 10.0.1.3 # WI-FI dhcp-host=00:00:00:00:00:00, 10.0.1.4 # - dhcp-host=00:00:00:00:00:00, 10.0.0. 5 # # dhcp-host=00:00:00:00:00:00,10.15.0.01 # dhcp-host=00:00:00:00:00:00,10.15.0.02 # . dhcp-host=00:00:00:00:00:00,10.15.0.03 # dhcp-host=00:00:00:00:00:00,10.15.0.04 # dhcp-host=00:00:00:00:00:00,10.15.0.05 # . # ( RFC 2132) dhcp-option=1,255.240.0.0 # dhcp-option=2,10800 # dhcp-option=3,10.0.0.1 # dhcp-option=42,1.0.0.1 # dhcp-option=44,10.0.1.1 # WINS dhcp-option=46,8 # WINS. - 1 8. 1 2 4 8 dhcp-boot=pxelinux.0,10.0.0.1 # dhcp-leasefile=/ var /log/dnsmasq/dnsmasq.leases # dhcp-authoritative log-dhcp #
# — ( — bind ) port=0 bogus-priv # # eth0 — WAN # eth1 — LAN interface =eth1 # dhcp-range=10.15.0.2,10.15.0.253,12h # : dhcp-host=00:00:00:00:00:00, 10.0.0.1 # gw — dhcp-host=00:00:00:00:00:00, 10.0.1.1 # PDC — dhcp-host=00:00:00:00:00:00, 10.0.1.2 # dhcp-host=00:00:00:00:00:00, 10.0.1.3 # WI-FI dhcp-host=00:00:00:00:00:00, 10.0.1.4 # - dhcp-host=00:00:00:00:00:00, 10.0.0. 5 # # dhcp-host=00:00:00:00:00:00,10.15.0.01 # dhcp-host=00:00:00:00:00:00,10.15.0.02 # . dhcp-host=00:00:00:00:00:00,10.15.0.03 # dhcp-host=00:00:00:00:00:00,10.15.0.04 # dhcp-host=00:00:00:00:00:00,10.15.0.05 # . # ( RFC 2132) dhcp-option=1,255.240.0.0 # dhcp-option=2,10800 # dhcp-option=3,10.0.0.1 # dhcp-option=42,1.0.0.1 # dhcp-option=44,10.0.1.1 # WINS dhcp-option=46,8 # WINS. - 1 8. 1 2 4 8 dhcp-boot=pxelinux.0,10.0.0.1 # dhcp-leasefile=/ var /log/dnsmasq/dnsmasq.leases # dhcp-authoritative log-dhcp #
# — ( — bind ) port=0 bogus-priv # # eth0 — WAN # eth1 — LAN interface =eth1 # dhcp-range=10.15.0.2,10.15.0.253,12h # : dhcp-host=00:00:00:00:00:00, 10.0.0.1 # gw — dhcp-host=00:00:00:00:00:00, 10.0.1.1 # PDC — dhcp-host=00:00:00:00:00:00, 10.0.1.2 # dhcp-host=00:00:00:00:00:00, 10.0.1.3 # WI-FI dhcp-host=00:00:00:00:00:00, 10.0.1.4 # - dhcp-host=00:00:00:00:00:00, 10.0.0. 5 # # dhcp-host=00:00:00:00:00:00,10.15.0.01 # dhcp-host=00:00:00:00:00:00,10.15.0.02 # . dhcp-host=00:00:00:00:00:00,10.15.0.03 # dhcp-host=00:00:00:00:00:00,10.15.0.04 # dhcp-host=00:00:00:00:00:00,10.15.0.05 # . # ( RFC 2132) dhcp-option=1,255.240.0.0 # dhcp-option=2,10800 # dhcp-option=3,10.0.0.1 # dhcp-option=42,1.0.0.1 # dhcp-option=44,10.0.1.1 # WINS dhcp-option=46,8 # WINS. - 1 8. 1 2 4 8 dhcp-boot=pxelinux.0,10.0.0.1 # dhcp-leasefile=/ var /log/dnsmasq/dnsmasq.leases # dhcp-authoritative log-dhcp #
# — ( — bind ) port=0 bogus-priv # # eth0 — WAN # eth1 — LAN interface =eth1 # dhcp-range=10.15.0.2,10.15.0.253,12h # : dhcp-host=00:00:00:00:00:00, 10.0.0.1 # gw — dhcp-host=00:00:00:00:00:00, 10.0.1.1 # PDC — dhcp-host=00:00:00:00:00:00, 10.0.1.2 # dhcp-host=00:00:00:00:00:00, 10.0.1.3 # WI-FI dhcp-host=00:00:00:00:00:00, 10.0.1.4 # - dhcp-host=00:00:00:00:00:00, 10.0.0. 5 # # dhcp-host=00:00:00:00:00:00,10.15.0.01 # dhcp-host=00:00:00:00:00:00,10.15.0.02 # . dhcp-host=00:00:00:00:00:00,10.15.0.03 # dhcp-host=00:00:00:00:00:00,10.15.0.04 # dhcp-host=00:00:00:00:00:00,10.15.0.05 # . # ( RFC 2132) dhcp-option=1,255.240.0.0 # dhcp-option=2,10800 # dhcp-option=3,10.0.0.1 # dhcp-option=42,1.0.0.1 # dhcp-option=44,10.0.1.1 # WINS dhcp-option=46,8 # WINS. - 1 8. 1 2 4 8 dhcp-boot=pxelinux.0,10.0.0.1 # dhcp-leasefile=/ var /log/dnsmasq/dnsmasq.leases # dhcp-authoritative log-dhcp #
# — ( — bind ) port=0 bogus-priv # # eth0 — WAN # eth1 — LAN interface =eth1 # dhcp-range=10.15.0.2,10.15.0.253,12h # : dhcp-host=00:00:00:00:00:00, 10.0.0.1 # gw — dhcp-host=00:00:00:00:00:00, 10.0.1.1 # PDC — dhcp-host=00:00:00:00:00:00, 10.0.1.2 # dhcp-host=00:00:00:00:00:00, 10.0.1.3 # WI-FI dhcp-host=00:00:00:00:00:00, 10.0.1.4 # - dhcp-host=00:00:00:00:00:00, 10.0.0. 5 # # dhcp-host=00:00:00:00:00:00,10.15.0.01 # dhcp-host=00:00:00:00:00:00,10.15.0.02 # . dhcp-host=00:00:00:00:00:00,10.15.0.03 # dhcp-host=00:00:00:00:00:00,10.15.0.04 # dhcp-host=00:00:00:00:00:00,10.15.0.05 # . # ( RFC 2132) dhcp-option=1,255.240.0.0 # dhcp-option=2,10800 # dhcp-option=3,10.0.0.1 # dhcp-option=42,1.0.0.1 # dhcp-option=44,10.0.1.1 # WINS dhcp-option=46,8 # WINS. - 1 8. 1 2 4 8 dhcp-boot=pxelinux.0,10.0.0.1 # dhcp-leasefile=/ var /log/dnsmasq/dnsmasq.leases # dhcp-authoritative log-dhcp #
# — ( — bind ) port=0 bogus-priv # # eth0 — WAN # eth1 — LAN interface =eth1 # dhcp-range=10.15.0.2,10.15.0.253,12h # : dhcp-host=00:00:00:00:00:00, 10.0.0.1 # gw — dhcp-host=00:00:00:00:00:00, 10.0.1.1 # PDC — dhcp-host=00:00:00:00:00:00, 10.0.1.2 # dhcp-host=00:00:00:00:00:00, 10.0.1.3 # WI-FI dhcp-host=00:00:00:00:00:00, 10.0.1.4 # - dhcp-host=00:00:00:00:00:00, 10.0.0. 5 # # dhcp-host=00:00:00:00:00:00,10.15.0.01 # dhcp-host=00:00:00:00:00:00,10.15.0.02 # . dhcp-host=00:00:00:00:00:00,10.15.0.03 # dhcp-host=00:00:00:00:00:00,10.15.0.04 # dhcp-host=00:00:00:00:00:00,10.15.0.05 # . # ( RFC 2132) dhcp-option=1,255.240.0.0 # dhcp-option=2,10800 # dhcp-option=3,10.0.0.1 # dhcp-option=42,1.0.0.1 # dhcp-option=44,10.0.1.1 # WINS dhcp-option=46,8 # WINS. - 1 8. 1 2 4 8 dhcp-boot=pxelinux.0,10.0.0.1 # dhcp-leasefile=/ var /log/dnsmasq/dnsmasq.leases # dhcp-authoritative log-dhcp #
# — ( — bind ) port=0 bogus-priv # # eth0 — WAN # eth1 — LAN interface =eth1 # dhcp-range=10.15.0.2,10.15.0.253,12h # : dhcp-host=00:00:00:00:00:00, 10.0.0.1 # gw — dhcp-host=00:00:00:00:00:00, 10.0.1.1 # PDC — dhcp-host=00:00:00:00:00:00, 10.0.1.2 # dhcp-host=00:00:00:00:00:00, 10.0.1.3 # WI-FI dhcp-host=00:00:00:00:00:00, 10.0.1.4 # - dhcp-host=00:00:00:00:00:00, 10.0.0. 5 # # dhcp-host=00:00:00:00:00:00,10.15.0.01 # dhcp-host=00:00:00:00:00:00,10.15.0.02 # . dhcp-host=00:00:00:00:00:00,10.15.0.03 # dhcp-host=00:00:00:00:00:00,10.15.0.04 # dhcp-host=00:00:00:00:00:00,10.15.0.05 # . # ( RFC 2132) dhcp-option=1,255.240.0.0 # dhcp-option=2,10800 # dhcp-option=3,10.0.0.1 # dhcp-option=42,1.0.0.1 # dhcp-option=44,10.0.1.1 # WINS dhcp-option=46,8 # WINS. - 1 8. 1 2 4 8 dhcp-boot=pxelinux.0,10.0.0.1 # dhcp-leasefile=/ var /log/dnsmasq/dnsmasq.leases # dhcp-authoritative log-dhcp #
# — ( — bind ) port=0 bogus-priv # # eth0 — WAN # eth1 — LAN interface =eth1 # dhcp-range=10.15.0.2,10.15.0.253,12h # : dhcp-host=00:00:00:00:00:00, 10.0.0.1 # gw — dhcp-host=00:00:00:00:00:00, 10.0.1.1 # PDC — dhcp-host=00:00:00:00:00:00, 10.0.1.2 # dhcp-host=00:00:00:00:00:00, 10.0.1.3 # WI-FI dhcp-host=00:00:00:00:00:00, 10.0.1.4 # - dhcp-host=00:00:00:00:00:00, 10.0.0. 5 # # dhcp-host=00:00:00:00:00:00,10.15.0.01 # dhcp-host=00:00:00:00:00:00,10.15.0.02 # . dhcp-host=00:00:00:00:00:00,10.15.0.03 # dhcp-host=00:00:00:00:00:00,10.15.0.04 # dhcp-host=00:00:00:00:00:00,10.15.0.05 # . # ( RFC 2132) dhcp-option=1,255.240.0.0 # dhcp-option=2,10800 # dhcp-option=3,10.0.0.1 # dhcp-option=42,1.0.0.1 # dhcp-option=44,10.0.1.1 # WINS dhcp-option=46,8 # WINS. - 1 8. 1 2 4 8 dhcp-boot=pxelinux.0,10.0.0.1 # dhcp-leasefile=/ var /log/dnsmasq/dnsmasq.leases # dhcp-authoritative log-dhcp #
# — ( — bind ) port=0 bogus-priv # # eth0 — WAN # eth1 — LAN interface =eth1 # dhcp-range=10.15.0.2,10.15.0.253,12h # : dhcp-host=00:00:00:00:00:00, 10.0.0.1 # gw — dhcp-host=00:00:00:00:00:00, 10.0.1.1 # PDC — dhcp-host=00:00:00:00:00:00, 10.0.1.2 # dhcp-host=00:00:00:00:00:00, 10.0.1.3 # WI-FI dhcp-host=00:00:00:00:00:00, 10.0.1.4 # - dhcp-host=00:00:00:00:00:00, 10.0.0. 5 # # dhcp-host=00:00:00:00:00:00,10.15.0.01 # dhcp-host=00:00:00:00:00:00,10.15.0.02 # . dhcp-host=00:00:00:00:00:00,10.15.0.03 # dhcp-host=00:00:00:00:00:00,10.15.0.04 # dhcp-host=00:00:00:00:00:00,10.15.0.05 # . # ( RFC 2132) dhcp-option=1,255.240.0.0 # dhcp-option=2,10800 # dhcp-option=3,10.0.0.1 # dhcp-option=42,1.0.0.1 # dhcp-option=44,10.0.1.1 # WINS dhcp-option=46,8 # WINS. - 1 8. 1 2 4 8 dhcp-boot=pxelinux.0,10.0.0.1 # dhcp-leasefile=/ var /log/dnsmasq/dnsmasq.leases # dhcp-authoritative log-dhcp #
# — ( — bind ) port=0 bogus-priv # # eth0 — WAN # eth1 — LAN interface =eth1 # dhcp-range=10.15.0.2,10.15.0.253,12h # : dhcp-host=00:00:00:00:00:00, 10.0.0.1 # gw — dhcp-host=00:00:00:00:00:00, 10.0.1.1 # PDC — dhcp-host=00:00:00:00:00:00, 10.0.1.2 # dhcp-host=00:00:00:00:00:00, 10.0.1.3 # WI-FI dhcp-host=00:00:00:00:00:00, 10.0.1.4 # - dhcp-host=00:00:00:00:00:00, 10.0.0. 5 # # dhcp-host=00:00:00:00:00:00,10.15.0.01 # dhcp-host=00:00:00:00:00:00,10.15.0.02 # . dhcp-host=00:00:00:00:00:00,10.15.0.03 # dhcp-host=00:00:00:00:00:00,10.15.0.04 # dhcp-host=00:00:00:00:00:00,10.15.0.05 # . # ( RFC 2132) dhcp-option=1,255.240.0.0 # dhcp-option=2,10800 # dhcp-option=3,10.0.0.1 # dhcp-option=42,1.0.0.1 # dhcp-option=44,10.0.1.1 # WINS dhcp-option=46,8 # WINS. - 1 8. 1 2 4 8 dhcp-boot=pxelinux.0,10.0.0.1 # dhcp-leasefile=/ var /log/dnsmasq/dnsmasq.leases # dhcp-authoritative log-dhcp #
# — ( — bind ) port=0 bogus-priv # # eth0 — WAN # eth1 — LAN interface =eth1 # dhcp-range=10.15.0.2,10.15.0.253,12h # : dhcp-host=00:00:00:00:00:00, 10.0.0.1 # gw — dhcp-host=00:00:00:00:00:00, 10.0.1.1 # PDC — dhcp-host=00:00:00:00:00:00, 10.0.1.2 # dhcp-host=00:00:00:00:00:00, 10.0.1.3 # WI-FI dhcp-host=00:00:00:00:00:00, 10.0.1.4 # - dhcp-host=00:00:00:00:00:00, 10.0.0. 5 # # dhcp-host=00:00:00:00:00:00,10.15.0.01 # dhcp-host=00:00:00:00:00:00,10.15.0.02 # . dhcp-host=00:00:00:00:00:00,10.15.0.03 # dhcp-host=00:00:00:00:00:00,10.15.0.04 # dhcp-host=00:00:00:00:00:00,10.15.0.05 # . # ( RFC 2132) dhcp-option=1,255.240.0.0 # dhcp-option=2,10800 # dhcp-option=3,10.0.0.1 # dhcp-option=42,1.0.0.1 # dhcp-option=44,10.0.1.1 # WINS dhcp-option=46,8 # WINS. - 1 8. 1 2 4 8 dhcp-boot=pxelinux.0,10.0.0.1 # dhcp-leasefile=/ var /log/dnsmasq/dnsmasq.leases # dhcp-authoritative log-dhcp #
# — ( — bind ) port=0 bogus-priv # # eth0 — WAN # eth1 — LAN interface =eth1 # dhcp-range=10.15.0.2,10.15.0.253,12h # : dhcp-host=00:00:00:00:00:00, 10.0.0.1 # gw — dhcp-host=00:00:00:00:00:00, 10.0.1.1 # PDC — dhcp-host=00:00:00:00:00:00, 10.0.1.2 # dhcp-host=00:00:00:00:00:00, 10.0.1.3 # WI-FI dhcp-host=00:00:00:00:00:00, 10.0.1.4 # - dhcp-host=00:00:00:00:00:00, 10.0.0. 5 # # dhcp-host=00:00:00:00:00:00,10.15.0.01 # dhcp-host=00:00:00:00:00:00,10.15.0.02 # . dhcp-host=00:00:00:00:00:00,10.15.0.03 # dhcp-host=00:00:00:00:00:00,10.15.0.04 # dhcp-host=00:00:00:00:00:00,10.15.0.05 # . # ( RFC 2132) dhcp-option=1,255.240.0.0 # dhcp-option=2,10800 # dhcp-option=3,10.0.0.1 # dhcp-option=42,1.0.0.1 # dhcp-option=44,10.0.1.1 # WINS dhcp-option=46,8 # WINS. - 1 8. 1 2 4 8 dhcp-boot=pxelinux.0,10.0.0.1 # dhcp-leasefile=/ var /log/dnsmasq/dnsmasq.leases # dhcp-authoritative log-dhcp #
# — ( — bind ) port=0 bogus-priv # # eth0 — WAN # eth1 — LAN interface =eth1 # dhcp-range=10.15.0.2,10.15.0.253,12h # : dhcp-host=00:00:00:00:00:00, 10.0.0.1 # gw — dhcp-host=00:00:00:00:00:00, 10.0.1.1 # PDC — dhcp-host=00:00:00:00:00:00, 10.0.1.2 # dhcp-host=00:00:00:00:00:00, 10.0.1.3 # WI-FI dhcp-host=00:00:00:00:00:00, 10.0.1.4 # - dhcp-host=00:00:00:00:00:00, 10.0.0. 5 # # dhcp-host=00:00:00:00:00:00,10.15.0.01 # dhcp-host=00:00:00:00:00:00,10.15.0.02 # . dhcp-host=00:00:00:00:00:00,10.15.0.03 # dhcp-host=00:00:00:00:00:00,10.15.0.04 # dhcp-host=00:00:00:00:00:00,10.15.0.05 # . # ( RFC 2132) dhcp-option=1,255.240.0.0 # dhcp-option=2,10800 # dhcp-option=3,10.0.0.1 # dhcp-option=42,1.0.0.1 # dhcp-option=44,10.0.1.1 # WINS dhcp-option=46,8 # WINS. - 1 8. 1 2 4 8 dhcp-boot=pxelinux.0,10.0.0.1 # dhcp-leasefile=/ var /log/dnsmasq/dnsmasq.leases # dhcp-authoritative log-dhcp #
# — ( — bind ) port=0 bogus-priv # # eth0 — WAN # eth1 — LAN interface =eth1 # dhcp-range=10.15.0.2,10.15.0.253,12h # : dhcp-host=00:00:00:00:00:00, 10.0.0.1 # gw — dhcp-host=00:00:00:00:00:00, 10.0.1.1 # PDC — dhcp-host=00:00:00:00:00:00, 10.0.1.2 # dhcp-host=00:00:00:00:00:00, 10.0.1.3 # WI-FI dhcp-host=00:00:00:00:00:00, 10.0.1.4 # - dhcp-host=00:00:00:00:00:00, 10.0.0. 5 # # dhcp-host=00:00:00:00:00:00,10.15.0.01 # dhcp-host=00:00:00:00:00:00,10.15.0.02 # . dhcp-host=00:00:00:00:00:00,10.15.0.03 # dhcp-host=00:00:00:00:00:00,10.15.0.04 # dhcp-host=00:00:00:00:00:00,10.15.0.05 # . # ( RFC 2132) dhcp-option=1,255.240.0.0 # dhcp-option=2,10800 # dhcp-option=3,10.0.0.1 # dhcp-option=42,1.0.0.1 # dhcp-option=44,10.0.1.1 # WINS dhcp-option=46,8 # WINS. - 1 8. 1 2 4 8 dhcp-boot=pxelinux.0,10.0.0.1 # dhcp-leasefile=/ var /log/dnsmasq/dnsmasq.leases # dhcp-authoritative log-dhcp #
# — ( — bind ) port=0 bogus-priv # # eth0 — WAN # eth1 — LAN interface =eth1 # dhcp-range=10.15.0.2,10.15.0.253,12h # : dhcp-host=00:00:00:00:00:00, 10.0.0.1 # gw — dhcp-host=00:00:00:00:00:00, 10.0.1.1 # PDC — dhcp-host=00:00:00:00:00:00, 10.0.1.2 # dhcp-host=00:00:00:00:00:00, 10.0.1.3 # WI-FI dhcp-host=00:00:00:00:00:00, 10.0.1.4 # - dhcp-host=00:00:00:00:00:00, 10.0.0. 5 # # dhcp-host=00:00:00:00:00:00,10.15.0.01 # dhcp-host=00:00:00:00:00:00,10.15.0.02 # . dhcp-host=00:00:00:00:00:00,10.15.0.03 # dhcp-host=00:00:00:00:00:00,10.15.0.04 # dhcp-host=00:00:00:00:00:00,10.15.0.05 # . # ( RFC 2132) dhcp-option=1,255.240.0.0 # dhcp-option=2,10800 # dhcp-option=3,10.0.0.1 # dhcp-option=42,1.0.0.1 # dhcp-option=44,10.0.1.1 # WINS dhcp-option=46,8 # WINS. - 1 8. 1 2 4 8 dhcp-boot=pxelinux.0,10.0.0.1 # dhcp-leasefile=/ var /log/dnsmasq/dnsmasq.leases # dhcp-authoritative log-dhcp #
# — ( — bind ) port=0 bogus-priv # # eth0 — WAN # eth1 — LAN interface =eth1 # dhcp-range=10.15.0.2,10.15.0.253,12h # : dhcp-host=00:00:00:00:00:00, 10.0.0.1 # gw — dhcp-host=00:00:00:00:00:00, 10.0.1.1 # PDC — dhcp-host=00:00:00:00:00:00, 10.0.1.2 # dhcp-host=00:00:00:00:00:00, 10.0.1.3 # WI-FI dhcp-host=00:00:00:00:00:00, 10.0.1.4 # - dhcp-host=00:00:00:00:00:00, 10.0.0. 5 # # dhcp-host=00:00:00:00:00:00,10.15.0.01 # dhcp-host=00:00:00:00:00:00,10.15.0.02 # . dhcp-host=00:00:00:00:00:00,10.15.0.03 # dhcp-host=00:00:00:00:00:00,10.15.0.04 # dhcp-host=00:00:00:00:00:00,10.15.0.05 # . # ( RFC 2132) dhcp-option=1,255.240.0.0 # dhcp-option=2,10800 # dhcp-option=3,10.0.0.1 # dhcp-option=42,1.0.0.1 # dhcp-option=44,10.0.1.1 # WINS dhcp-option=46,8 # WINS. - 1 8. 1 2 4 8 dhcp-boot=pxelinux.0,10.0.0.1 # dhcp-leasefile=/ var /log/dnsmasq/dnsmasq.leases # dhcp-authoritative log-dhcp #
クライアントは、ローカルネットワークとWi-Fiの両方から10.15.0.X範囲のアドレスを受け取ります。
リンク:
dnsmasqドキュメントDHCP標準DHCPオプションWINSDHCP