お世話になります。
OSはubuntu 15.04です。
dhcpサーバーは、isc-dhcp-server をインストールしました。
LANカード(enp4s0)と無線LAN(wlxcce1d54fea6e)とで2つのインターフェースがあります。
enp4s0 は無線ルーターから取得したアドレス 192.168.11.7 が割り振られています。
root@hoge:/etc/dhcp# ifconfig
enp4s0 Link encap:イーサネット ハードウェアアドレス xx:xx:xx:xx:xx:xx
inetアドレス:192.168.11.7 ブロードキャスト:192.168.11.255 マスク:255.255.255.0
lo Link encap:ローカルループバック
inetアドレス:127.0.0.1 マスク:255.0.0.0
wlxcce1d54fea6e Link encap:イーサネット ハードウェアアドレス xx:xx:xx:xx:xx:xx
inetアドレス:192.168.126.1 ブロードキャスト:192.168.126.255 マスク:255.255.255.0
inet6アドレス: xx:xx:xx:xx:xx:xx/xx 範囲:リンク
wlxcce1d54fea6e のみに ネットワークアドレスを割り当てたいと考えています。
isc-dhcp-server を起動すると、wlxcce1d54fea6e へのネットワークアドレスの割り当ては出来ていますが、下記のエラーが消えません。
root@hoge:/etc/dhcp# service isc-dhcp-server status
● isc-dhcp-server.service - ISC DHCP IPv4 server
Loaded: loaded (/lib/systemd/system/isc-dhcp-server.service; enabled; vendor preset: enabled)
Active: active (running) since 木 2016-05-05 18:48:30 JST; 5min ago
Docs: man:dhcpd(8)
Process: 2360 ExecStartPre=/bin/chown dhcpd:dhcpd /run/dhcp-server (code=exited, status=0/SUCCESS)
Main PID: 2363 (dhcpd)
CGroup: /system.slice/isc-dhcp-server.service
mq2363 dhcpd -user dhcpd -group dhcpd -f -4 -pf /run/dhcp-server/dhcpd.pid -cf /etc/dhcp/dhcpd.conf
5月 05 18:48:30 hoge sh[2363]: ** Ignoring requests on enp4s0. If this is not what
5月 05 18:48:30 hoge sh[2363]: you want, please write a subnet declaration
5月 05 18:48:30 hoge sh[2363]: in your dhcpd.conf file for the network segment
5月 05 18:48:30 hoge sh[2363]: to which interface enp4s0 is attached. **
5月 05 18:48:30 hoge sh[2363]: Sending on Socket/fallback/fallback-net
「dhcpd.confファイルにサブネット宣言を書いてください」と書かれていますが、enp4s0 にdhcpを割り振る必要はありません。
dhcpd.confに enp4s0 のネットワーク割り当てを止める命令をご教授下さい。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/05/05 11:43