ビジネスサポートポータルアカウントでログイン
コマンドラインインタフェースを使用したネットワークの設定方法  

コマンドラインインタフェースを使用したネットワークの設定方法

    • 更新日:
    • 30 Dec 2019
    • 製品/バージョン:
    • InterScan Messaging Security Virtual Appliance 8.2
    • InterScan Messaging Security Virtual Appliance 8.5
    • InterScan Messaging Security Virtual Appliance 9.0
    • InterScan Messaging Security Virtual Appliance 9.1
    • OS:
    • Virtual Appliance すべて
概要
管理コンソールの設定ウィザード以外で InterScan Messaging Security Virtual Appliance (以下、IMSVA) のサーバのネットワーク設定を変更することはできますか。
詳細
Public

概要

IMSVA のネットワーク設定を変更するには、設定ウィザード(参考情報:設定ウィザード)から設定するか、コマンドラインインタフェース (CLI) を使用して設定します。ここでは CLI による設定方法を説明します。
CLI でネットワークの設定(参考情報:コマンドラインインタフェースの使用)を行うには特権モードに入る必要があります。
コマンド実行後、IMSVA のサービスとネットワークサービスが再起動されます。

設定手順

ホスト名の変更 (configure network hostname)

IMSVA サーバのホスト名を変更するには configure network hostname {ホスト名 (FQDN)} を実行します。
設定例:
# configure network hostname mail.example.com
現在のホスト名または変更後のホスト名を確認するには show network hostname コマンドを実行します。
# show network hostname
mail.example.com

IPアドレスの変更 (configure network interface)

IPv4 のIPアドレスを変更するには configure network interface ipv4 {ネットワークインタフェース} {IPアドレス} {サブネットマスク} を実行します。
設定例:
# configure network interface ipv4 eth0 172.16.2.100 255.255.240.0
現在のIPアドレスまたは変更後のホスト名を確認するには show network interface を実行します。
# show network interface
eth0 Link encap:Ethernet HWaddr 00:0C:29:1C:81:81

inet addr:172.16.2.100 Bcast:172.16.15.255 Mask:255.255.240.0
inet6 addr: fe80::20c:29ff:fe1c:8181/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1027995 errors:0 dropped:0 overruns:0 frame:0
TX packets:704005 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:101424523 (96.7 MiB) TX bytes:61356234 (58.5 MiB)
Base address:0x2000 Memory:fd5c0000-fd5e0000

eth1 Link encap:Ethernet HWaddr 00:0C:29:1C:81:8B
inet addr:192.168.2.85 Bcast:192.168.3.255 Mask:255.255.252.0
inet6 addr: fe80::20c:29ff:fe1c:818b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:143137 errors:0 dropped:0 overruns:0 frame:0
TX packets:55604 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:11181601 (10.6 MiB) TX bytes:48177752 (45.9 MiB)
Base address:0x2040 Memory:fd5a0000-fd5c0000

デフォルトゲートウェイの変更 (configure network route default)

IPv4 のデフォルトゲートウェイを変更するには configure network route ipv4 default {デフォルトゲートウェイ} を実行します。
設定例:
# configure network route ipv4 default 172.16.15.255
現在のデフォルトゲートウェイを確認するには show network route default ipv4 を実行します。
# show network route default ipv4
172.16.0.1

スタティックルートの追加 (configure network route add)

IPv4 のスタティックルートを追加するには configure network route ipv4 add {IPアドレス/プレフィックス} {ネクストホップのIPアドレス} {ネットワークインタフェース} を実行します。
設定例:
# configure network route ipv4 add 192.168.1.0/24 172.16.0.1 eth0
現在の経路情報または変更後の経路情報を確認するには show network route を実行します。
# show network route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 172.16.0.1 255.255.255.0 UG 0 0 0 eth0
192.168.0.0 0.0.0.0 255.255.252.0 U 0 0 0 eth1
172.16.0.0 0.0.0.0 255.255.240.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
0.0.0.0 172.16.0.1 0.0.0.0 UG 0 0 0 eth0

スタティックルートの削除 (configure network route del)

既存の IPv4 のスタティックルートを削除するには configure network route ipv4 del {IPアドレス/プレフィックス} {ネクストホップのIPアドレス} {ネットワークインタフェース} を実行します。
設定例:
# configure network route ipv4 del 192.168.1.0/24 172.16.0.1 eth0

DNS の変更 (configure network dns)

IPv4 の DNS を変更するには configure network dns ipv4 {プライマリ DNS} {セカンダリ DNS} を実行します。
設定例:
# configure network dns ipv4 192.168.0.2 172.16.0.2
現在の DNS 設定を確認するには show network dns コマンドを実行します。
# show network dns
nameserver1 192.168.0.2
nameserver2 172.16.0.2
 
Premium
Internal
Partner
評価:
カテゴリ:
機能/仕様; 動作トラブル; 操作方法/設定
Solution Id:
1104339
ご提案/ご意見
このソリューションはお役に立ちましたか?

フィードバックありがとうございました!


*こちらに技術的なご質問などをいただきましてもご返答する事ができません.

何卒ご了承いただきますようお願いいたします.


To help us improve the quality of this article, please leave your email here so we can clarify further your feedback, if neccessary:
We will not send you spam or share your email address.

*This form is automated system. General questions, technical, sales, and product-related issues submitted through this form will not be answered.


ユーザーガイド