アンナンバード接続
■説明
IP8/IP16サービスの環境でパソコンにグローバルIPアドレスを割り当てて使用する設定例を紹介します。
アンナンバード接続を行うことで、同一ポート番号を使用した同一サーバの公開をすることが可能です。
(例:TCP80番ポートを使用して、複数のWEBサーバを公開する)
IP8/IP16 サービスなど、プロバイダから複数のグローバルIPアドレスが割り当てられている場合は、LAN型接続を選択します。
LAN型接続では、通常、本製品WAN側のIPアドレスは設定せずにLAN側のIPアドレスを設定します(アンナンバード設定)。
プロバイダとの契約で IP8:202.xx.xx.48/29 を利用できる場合の設定例です。
※show config 実行時と「管理コマンド・設定(設定メンテナンス)」で初期値のパラメータは表示されません。
■設定内容・・・テキストファイルのダウンロードはこちら
ip address 202.xx.xx.49/29
ip dhcp server off
ip filter 59 reject out * 169.254.0.0/16 * wanany
ip filter 60 reject dns qtype 6
ip filter 61 restrict out * * tcpfin * * wanany
ip filter 62 restrict out * * NETBIOS wanany
ip filter 63 restrict out * * tcp_udp 137-139 * wanany
ip filter 64 restrict out * * udp 137 53 wanany
ip route 0.0.0.0/0/1 remote 0 static
ip rip off
ipsec mode off
ipv6 common filter 1 pass in * * NDP_NS ether1 nolog
ipv6 common filter 2 pass out * * NDP_NS ether1 nolog
ipv6 common filter 3 pass in * * NDP_NA ether1 nolog
ipv6 common filter 4 pass out * * NDP_NA ether1 nolog
ipv6 common filter 5 pass in * * NDP_NS ether2 nolog
ipv6 common filter 6 pass out * * NDP_NS ether2 nolog
ipv6 common filter 7 pass in * * NDP_NA ether2 nolog
ipv6 common filter 8 pass out * * NDP_NA ether2 nolog
ipv6 common filter 9 pass in * * NDP_RS ether1 nolog
ipv6 common filter 10 pass out * * NDP_RA ether1 nolog
ipv6 common filter 11 pass in * * NDP_RS ether2 nolog
ipv6 common filter 12 pass out * * NDP_RA ether2 nolog
remote 0 disconnect idle 0
remote 0 mode lan
remote 0 pppoe keepalive on
remote 0 pppoe always on
remote 0 send id XXXX@XXXX.omron.co.jp
remote 0 send password XXXX |
|
■解説
ip address 202.xx.xx.49/29
ルータのIPアドレスを202.xx.xx.49に設定します
ip route 0.0.0.0/0/1 remote 0 static
remote 0 をスタティックルートに設定します
remote 0 disconnect idle 0
自動切断しない設定にします
remote 0 mode lan
IP8/IP16環境でアンナンバード接続するためにLAN型接続を設定します
remote 0 pppoe keepalive on
セッションキープアライブ機能をオンに設定します
remote 0 pppoe always on
PPPoE セッションキープアライブ拡張機能を使用します
remote 0 send id XXXX@XXXX.omron.co.jp
PPPoEサーバに送信するユーザID(XXXX@XXXX.omron.co.jp)
remote 0 send password XXXX
PPPoEサーバに送信するパスワード(XXXX) |
|