FutureNet

NXR,VXRシリーズ

WANインタフェース編

7. モバイル設定(ローカル5G編)

7-1. NXR-610X5G ローカル5G接続設定

NXR-610X5G Rev2の内蔵通信モジュールを使用してローカル5Gに接続するための設定例です。

 

【対象機種】NXR-610X5G Rev2(2025/5現在)
最新の対応状況は、各製品の更新履歴やユーザーズガイドをご確認ください。

 

コンテンツ
構成図 設定例 設定例解説 端末の設定例 補足 付録

 

【 構成図 】

  • 既存機器のキャリア設定を変更する場合は、こちらをご参照ください。
  • NXR-610X5G Rev1におけるローカル5Gの利用については、こちらをご参照ください。

 

【 設定例 】

nxr610x# configure terminal
nxr610x(config)# interface ethernet 0
nxr610x(config-if)# ip address 192.168.10.1/24
nxr610x(config-if)# exit
nxr610x(config)# interface wwan 0
nxr610x(config-wwan)# ip masquerade
nxr610x(config-wwan)# ip tcp adjust-mss auto
nxr610x(config-wwan)# wwan username <WWAN接続用ユーザID> password <WWAN接続用パスワード>
nxr610x(config-wwan)# wwan authentication chap
nxr610x(config-wwan)# mobile apn <APN> cid 1 pdp-type ip
nxr610x(config-wwan)# exit
nxr610x(config)# mobile error-recovery-reset
nxr610x(config)# mobile 1 carrier auto
nxr610x(config)# mobile 1 rat nr5g
nxr610x(config)# mobile 1 fix-band nr5g 79
nxr610x(config)# exit
nxr610x# clear mobile 1
nxr610x# configure terminal
nxr610x(config)# dns
nxr610x(config-dns)# service enable
nxr610x(config-dns)# exit
nxr610x(config)# exit
nxr610x# save config

 

【 設定例解説 】

1. <LAN側(ethernet0)インタフェース設定>
nxr610x(config)# interface ethernet 0
nxr610x(config-if)# ip address 192.168.10.1/24

 ethernet0インタフェースにIPアドレスを設定します。

 

2. <WAN側(wwan0)インタフェース設定>
nxr610x(config)# interface wwan 0

wwan0インタフェースの設定モードに移行します。

※ 初期状態ではDHCPクライアントが有効となっています。

nxr610x(config-wwan)# ip masquerade

IPマスカレードを有効にします。

nxr610x(config-wwan)# ip tcp adjust-mss auto

TCP MSS調整機能を自動設定にします。

nxr610x(config-wwan)# wwan username <WWAN接続用ユーザID> password <WWAN接続用パスワード>

WWAN接続に使用するユーザIDおよびパスワードを設定します。

nxr610x(config-wwan)# wwan authentication chap

WWAN接続に使用する認証方式を指定します。

nxr610x(config-wwan)# mobile apn <APN> cid 1 pdp-type ip

 WWAN接続に必要なAPN、CID、およびPDPタイプを設定します。

 

3. <モバイルエラーリカバリー設定>
nxr610x(config)# mobile error-recovery-reset

通信モジュールに重大な障害が発生したと判断された場合に、自動的にリセットを実行するよう設定します。

 

4. <モバイルキャリア設定>
nxr610x(config)# mobile 1 carrier auto

mobile1で使用するキャリアを自動選択に設定します。
※ この設定は、「clear mobile 1」コマンドを実行後に有効となります。

 

5. <通信方式(RAT)設定>
nxr610x(config)# mobile 1 rat nr5g

 無線アクセス技術(RAT)としてNR(5G)を指定します。

 

6. <バンド固定設定>
nxr610x(config)# mobile 1 fix-band nr5g 79

NR(5G)の使用バンドを、ローカル5Gで用いられるn79に固定します。

 

7. <DNS設定>
nxr610x(config)# dns
nxr610x(config-dns)# service enable

DNSサービスを有効にします。

 

8. <設定の保存>
nxr610x# save config

現在の設定内容を保存します。

 

【 端末の設定例 】

IPアドレス 192.168.10.100
サブネットマスク 255.255.255.0
デフォルトゲートウェイ 192.168.10.1
DNSサーバ

 

【 補足 】

〔キャリア設定の変更〕

キャリアを変更する場合は、以下の手順で設定します。

 

1. <WWANの切断>
nxr610x# clear wwan 0

WWANインタフェースが接続中の場合は、回線を切断します。

 

2. <wwan auto-connect設定の一時削除>
nxr610x# configure terminal
nxr610x(config)# interface wwan 0
nxr610x(config-wwan)# no wwan auto-connect
nxr610x(config-wwan)# exit

wwan auto-connect設定が有効な場合は、設定を一時的に無効にします。

 

3. <SIMの差し替え>

ここで、新しいキャリアのSIMカードに差し替えます。

 

4. <キャリア設定の変更>
nxr610x(config)# mobile 1 carrier <新しいキャリア>
nxr610x(config)# exit

新しいキャリアを指定します。
なお、この時点ではキャリア設定は反映されていません。

 

5. <キャリア設定の反映>
nxr610x# clear mobile 1

キャリア設定を反映させるため、内蔵通信モジュールをリセットします。

 

6. <アカウントなど接続情報の変更>
nxr610x# configure terminal
nxr610x(config)# interface wwan 0
nxr610x(config-wwan)# wwan username <WWAN接続用ユーザID> password <WWAN接続用パスワード>
nxr610x(config-wwan)# mobile apn <APN> cid 1 pdp-type ip

新しいキャリアの接続情報(ユーザID、パスワード、APNなど)を設定します。

 

7. <wwan auto-connectの再設定>
nxr610x(config-wwan)# wwan auto-connect
nxr610x(config-wwan)# exit

wwan auto-connect設定が有効であった場合は、再び有効に設定します。

 

【 付録 】