network:at-x510-28gtx_tips

差分

このページの2つのバージョン間の差分を表示します。

この比較画面にリンクする

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
次のリビジョン 両方とも次のリビジョン
network:at-x510-28gtx_tips [2019-06-11 15:13]
Decomo
network:at-x510-28gtx_tips [2020-04-20 10:36]
Decomo
行 70: 行 70:
 |  196 |  6221 | | |  196 |  6221 | |
 |  255 |  7814 | | |  255 |  7814 | |
 +
 +電源を切るとファン制御も無効になってしまうので、電源投入時に上記スクリプトを実行するトリガーを仕掛ける(動作未確認)
 +<code>
 +conf t
 +trigger 数値
 +type reboot
 +script 数値 fan.sh
 +active
 +</code>
 +''show run''でトリガーが追加されてるか確認し、コンフィグを保存する。
  
 ===== コマンドあれこれ ===== ===== コマンドあれこれ =====
行 159: 行 169:
 <code> <code>
 awplus(config)#interface vlan33 awplus(config)#interface vlan33
-awplus(config-if)#ip address 172.20.33.254/24+awplus(config-if)#ip address 172.16.33.254/24
 </code> </code>
 +
 +====== DHCP ======
 +
 +DHCPリレーの設定
 +
 +VLANインタフェース毎にサーバアドレスを指定してやる。
 +<code>
 +awplus(config)#interface vlan33
 +awplus(config-if)#ip dhcp-relay server-address 172.16.32.1
 +</code>
 +
 +====== DNS ======
 +
 +ネームサーバの指定。3アドレスまで追加可能。
 +<code>
 +awplus(config)#ip name-server 172.20.32.1
 +awplus(config)#ip name-server 1.1.1.1
 +awplus(config)#do show ip name-server
 +172.20.32.1
 +1.1.1.1
 +</code>
 +
 +DNSリレーの設定
 +<code>
 +awplus(config)#ip dns forwarding
 +</code>
 +
 +DNSキャッシュの設定
 +<code>
 +awplus(config)#ip dns forwarding cache size 500 time 1800
 +</code>
 +
 +===== 参考情報 =====
 +
 +  * [[https://twitter.com/yuutosi_hiyuu/status/1132533633489620998|ゆーとし氏によるファンまわりのツィート(Twitter)]]
  • network/at-x510-28gtx_tips.txt
  • 最終更新: 2021-05-11 20:03
  • by Decomo