サポートの方に教えてもらったまんまっす。

とりあえず 2.19 で公開って感じで・・


configureモードから以下を入力


ip route 0.0.0.0/0 ppp 0


ip access-list ppp0_forward-in permit any 192.168.2.19 tcp any 80
ip access-list ppp0_forward-in permit any 192.168.2.19 tcp any 21
ip access-list ppp0_forward-in permit any 192.168.2.19 tcp any 22
ip access-list ppp0_forward-in permit any 192.168.2.18 tcp any 21
ip access-list ppp0_forward-in permit any 192.168.2.18 tcp any 22
ip access-list ppp0_forward-in permit any 192.168.2.20 tcp any 21
ip access-list ppp0_forward-in permit any 192.168.2.20 tcp any 22

ip dnat ppp0_dnat tcp any any 211.117.117.118 80 192.168.2.19 80
ip dnat ppp0_dnat tcp any any 211.117.117.118 21 192.168.2.19 21
ip dnat ppp0_dnat tcp any any 211.117.117.118 22 192.168.2.19 22
ip dnat ppp0_dnat tcp any any 211.117.117.118 1081 192.168.2.18 21
ip dnat ppp0_dnat tcp any any 211.117.117.118 1082 192.168.2.18 22
ip dnat ppp0_dnat tcp any any 211.117.117.118 10022 192.168.2.20 22
ip dnat ppp0_dnat tcp any any 211.117.117.118 1021 192.168.2.20 21


(211.117.117.118は架空のアドレスです。)


これでばっちり繋がってますよ!!






configureモードで


dhcp-server bind サーバのMACアドレス 192.168.2.18
dhcp-server bind サーバのMACアドレス 192.168.2.19
dhcp-server bind サーバのMACアドレス 192.168.2.20

と入力


% restart dhcp-server to apply this setting.


と、入力する度に表示される。


再起動の必要なし!!




http://192.168.2.1:880/ でGUIに移動


の前に、コンソールから

“http-server enable”コマンドを実行して、HTTP サーバを起動します(マニュアル参照)


システム設定 - 設定情報 - 設定の保存


で、現在の設定情報を XML なりでバックアップ入手・・


どうしても、httpで繋がらない場合で

IPアドレスが解決できていない場合

PCのTCP/IPの設定を無理やり、NXR130/Cにあわせる必要あり。


コントロールパネル - ネットワーク接続 - ローカルエリア接続 - プロパティ



TCP/IPのプロパティで

IPアドレスを設定


192.168.2.3

255.255.255.0

192.168.2.1


ってな感じ。


ログイン後、まず

“configure terminal”コマンドで、CONFIGURATION モードに移行


interface ppp 0

を入力し、ppp 0 の interface node に移行し、以下を入力


ip address ***.***.***.***/32
no ip redirects
ip tcp adjust-mss auto
ip access-group forward-in ppp0_forward-in
ip masquerade
ip dnat ppp0_dnat
ip spi-filter
ppp authentication pap
ppp username *******@******* password *********


exit

でCONFIGURATION モードに戻る


interface ethernet 0

を入力し ethernet 0 の interface node に移行し

以下を入力
ip address 192.168.2.1/24


exit

でCONFIGURATION モードに戻る


interface ethernet 1

を入力し ethernet 1 の interface node に移行し

以下を入力
no ip address
pppoe-client ppp 0


exit

でCONFIGURATION モードに戻る


interface ethernet 2

を入力し ethernet 1 の interface node に移行し

以下を入力
no ip address


とりあえず使うのは、0と1の穴だけ。


exit

でCONFIGURATION モードに戻る


dns

を入力し dns node に移行し
interlinkからもらったDNSサーバのアドレスを入力


service enable
address ***.***.***.***

address ***.***.***.***


exit

でCONFIGURATION モードに戻る


syslog

を入力し syslog node に移行し
以下を入力
local enable


exit

でCONFIGURATION モードに戻る


dhcp-server 1

を入力し dhcp-server node に移行し

以下を入力(デフォルトIPを 192.168.2.1 にするので・・)


network 192.168.2.0/24 range 192.168.2.2 192.168.2.3
gateway 192.168.2.1
dns-server 192.168.2.1



exit

を二回で

ログイン直後のnodeに戻って


ping で接続確認 .. はいいんですが・・


ping ip ***.***.***.*** (*は伏字)


止まらないorz


CTRL + Z でも止まらん


CTRL + X + C で、やっと止まった・・


まあ、いいんですけど・・


次回は、各サーバの"bind"に挑戦



コンソールからLANケーブルで


"RJ-45/D-sub9ピン変換アダプタ(クロス)"(付属)

+

"ELECOM UC-SGT"(別売)

[ ドライバ http://www.elecom.co.jp/support/download/cable/usb/ucsgtwin/index.html ]


でPCのUSBに接続。


事前に「コントロールパネル - システム - ハードウェア - デバイスマネージャー - ポート」で

UC-SGTがどのポートを利用しているかを確認。


TeraTerm

(http://hp.vector.co.jp/authors/VA002416/ )

を起動


「Serial」を選び、事前に調査したポートを指定し「OK」をクリック


コレだけじゃ接続しないので

「Setup」 -> 「Serial Port」

で、"Baud rate"を"115200"に変更

「OK」をクリック


[ENTER]で


Century Systems NXR-130 Series 5.1.0

nxr130 login:


と表示される。