DHCP サーバーの設定2019年9月3日 | |
はじめにDHCP サーバーの設定について。 環境Red Hat Enterprise Linux Server 7.3 DHCP サーバーの設定DHCP サーバーをインストール。 $ sudo yum install dhcp 設定ファイルの編集。 /etc/dhcp/dhcpd.conf
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.3 192.168.0.10;
option routers 192.168.0.1;
option domain-name-servers 192.168.0.1, 192.168.0.2;
}
サーバーの起動と自動起動有効化。 $ sudo systemctl start dhcpd $ sudo systemctl enable dhcpd | |
| PENGUINITIS | |