LoginSignup
16
22

More than 3 years have passed since last update.

YAMAHAルータでDHCPサーバー設定と、固定IPアドレスの割当

Last updated at Posted at 2015-05-17

参考

設定例

dhcp service server
dhcp server rfc2131 compliant except remain-silent

# IPの範囲
dhcp scope 1 192.168.11.11-192.168.11.200/24
# 固定IP
dhcp scope bind 1 192.168.11.190 00:a0:de:01:23:45
# DNSサーバーを指定
dhcp scope option 1 dns=176.103.130.132,176.103.130.134

設定

  • 00:a0:de:01:23:45 の端末に 192.168.11.190を割り振りたい場合
dhcp scope bind 1 192.168.11.190 00:a0:de:01:23:45

bind 1はDHCPのスコープ番号。

なおDHCPサーバの配布範囲外の場合以下エラーが出て設定ができない。

Error: IP address is not in the scope range

16
22
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
16
22