Updated on 2011.11.28

3Gモバイル接続

3Gモバイル端末を利用したインターネット接続

3Gモバイル端末をインターネット接続やWANのアクセス回線として利用できます。山間部や川沿い、海沿いなどの有線回線が届かない拠点や、回線敷設の難しいビルのショップテナントでもネットワークに接続できます。また、モバイルなら回線敷設工事も不要なので、建設現場の事務所やマンションのモデルルームなどの、短期間で移転する拠点にも最適です。

有線のブロードバンドが届かない拠点での高速モバイルの活用

有線のブロードバンドが届かない拠点での高速モバイルの活用

ビル内の配管や回線の引き込みが困難なテナントでの利用にも最適

ビル内の配管や回線の引き込みが困難なテナントでの利用にも最適

IIJモバイルサービス/タイプDを利用したインターネット接続の設定例


hostname "SEIL"
timezone "Japan"
environment login-timer 300
ppp add IIJmobile-typeD keepalive 300 ipcp enable ipcp-address on ipcp-dns on ipv6cp disable authentication-method chap identifier example1234567890@iijmobile.jp passphrase PassWord tcp-mss auto
dialup-device access-point add IIJmobile cid 2 apn iijmobile.jp pdp-type ip
dialup-device foma0 connect-to IIJmobile
interface lan0 media auto
interface lan0 add 192.168.0.1/24
interface lan1 media auto
interface lan1 queue normal
interface lan2 media auto
interface ppp0 over foma0
interface ppp0 ppp-configuration IIJmobile-typeD
bridge disable
bridge ip-bridging on
bridge ipv6-bridging on
route add default ppp0
route dynamic rip disable
route dynamic ospf disable
route dynamic redistribute static-to-rip disable
route dynamic redistribute static-to-ospf disable
route dynamic redistribute ospf-to-rip disable
route dynamic redistribute rip-to-ospf disable
route dynamic redistribute connected-to-rip enable
route dynamic redistribute connected-to-ospf enable
route dynamic pim-sparse disable
route6 dynamic ripng disable
route6 dynamic redistribute static-to-ripng disable
route6 dynamic redistribute connected-to-ripng enable
route6 dynamic pim-sparse disable
nat timeout 900
nat logging off
nat upnp off
nat upnp interface lan1
nat napt add private 192.168.0.0-192.168.0.255 interface ppp0
dhcp disable
dhcp mode server
dhcp interface lan0 enable
dhcp interface lan0 pool 192.168.0.2 253
dhcp interface lan0 dns add 192.168.0.1
dhcp6 client disable
dhcp6 client interface lan0
dns forwarder enable
dns forwarder add ipcp
ntp disable
cbq link-bandwidth 100Mbps
snmp disable
snmp community "public"
snmp trap disable
syslog debug-level off
syslog remote off
translator timeout 300
resolver enable
resolver address add ipcp-auto
rtadvd disable
httpd disable
sshd hostkey rsa1 none
sshd hostkey rsa auto
sshd hostkey dsa auto
sshd disable
telnetd disable
vendor OEM

設定解説

ppp add IIJmobile-typeD keepalive 300 ipcp enable ipcp-address on ipcp-dns on ipv6cp disable authentication-method chap identifier example1234567890@iijmobile.jp passphrase PassWord tcp-mss auto
PPP接続アカウントやPPPパスワードなど、ISP接続情報をPPP接続パラメータとして設定します。ここでは、IPアドレスとDNSサーバアドレスを自動取得するためにIPCPのアドレスオプション(ipcp-address)とDNSオプション(ipcp-dns)を有効にしています。
dialup-device access-point add IIJmobile cid 2 apn iijmobile.jp pdp-type ip dialup-device foma0 connect-to IIJmobile
ダイアルアップデバイス(モバイル端末)と接続先アクセスポイントの設定です。ここでは、モバイル端末のcid 2に本設定のAPN情報を登録しています。また、IIJモバイル/タイプD(NTTドコモFOMA®網利用)を利用するため、dialup-deviceとしてfoma0を用いています。
interface lan0 media auto
interface lan0 add 192.168.0.1/24
LAN側インタフェースの設定です。メディアタイプはautoに設定しています。
interface ppp0 over foma0 interface ppp0 ppp-configuration IIJmobile-typeD
WAN側インタフェースの設定です。USB経由の物理インタフェース foma0にてppp接続するため、ppp0インタフェースに物理インタフェース foma0を関連付けています。また、接続に利用するPPP設定として先ほど設定した"IIJmobile-typeD"を関連付けています。
route add default pppoe0
デフォルト経路の設定です。
nat napt add private 192.168.0.0-192.168.0.255 interface pppoe0
LAN内で用いているプライベートIPアドレス(192.168.0.0~192.168.0.255)を、インターネット上で用いられるグローバルIPアドレス(SEILのWAN側インタフェースのアドレス)に変換するNAPTの設定です。
dhcp enable
dhcp mode server
dhcp interface lan0 enable
dhcp interface lan0 expire 24
dhcp interface lan0 pool 192.168.0.2 253
dhcp interface lan0 dns add 192.168.0.1
LAN内の端末に自動的にIPアドレスを割り当てるDHCPサーバ機能の設定です。
dns forwarder enable
dns forwarder add ipcp
端末からSEIL宛てに送信されたDNSパケットを指定のDNSサーバへ中継するDNS中継機能の設定です。DNSサーバへのアクセスを集約することができます。
resolver enable
resolver address add ipcp-auto
SEILのコマンドのパラメータとしてURLやホスト名を使用する際、SEIL自身が名前解決を行うリゾルバ機能の設定です。
httpd disable
sshd disable
telnetd disable
本設定はSEILの設定・管理をコンソールポートのみで行うことを想定しているため、Webユーザインタフェースやtelnet, Secure Shellによる接続を無効にしています。

※本設定例には、管理パスワードの設定やIPフィルタ等のセキュリティ設定は含まれておりません。

IIJモバイルサービス/タイプEを利用したインターネット接続の設定例


hostname "SEIL"
timezone "Japan"
environment login-timer 300
ppp add IIJmobile-typeE keepalive 300 ipcp enable ipcp-address on ipcp-dns on ipv6cp disable authentication-method chap identifier example1234567890@iijmobile.jp passphrase PassWord tcp-mss auto
dialup-device access-point add IIJmobile cid 2 apn iijmobile.jp pdp-type ip
dialup-device emobile0 connect-to IIJmobile
interface lan0 media auto
interface lan0 add 192.168.0.1/24
interface lan1 media auto
interface lan1 queue normal
interface lan2 media auto
interface ppp0 over emobile0
interface ppp0 ppp-configuration IIJmobile-typeE
bridge disable
bridge ip-bridging on
bridge ipv6-bridging on
route add default ppp0
route dynamic rip disable
route dynamic ospf disable
route dynamic redistribute static-to-rip disable
route dynamic redistribute static-to-ospf disable
route dynamic redistribute ospf-to-rip disable
route dynamic redistribute rip-to-ospf disable
route dynamic redistribute connected-to-rip enable
route dynamic redistribute connected-to-ospf enable
route dynamic pim-sparse disable
route6 dynamic ripng disable
route6 dynamic redistribute static-to-ripng disable
route6 dynamic redistribute connected-to-ripng enable
route6 dynamic pim-sparse disable
nat timeout 900
nat logging off
nat upnp off
nat upnp interface lan1
nat napt add private 192.168.0.0-192.168.0.255 interface ppp0
dhcp disable
dhcp mode server
dhcp interface lan0 enable
dhcp interface lan0 pool 192.168.0.2 253
dhcp interface lan0 dns add 192.168.0.1
dhcp6 client disable
dhcp6 client interface lan0
dns forwarder enable
dns forwarder add ipcp
ntp disable
cbq link-bandwidth 100Mbps
snmp disable
snmp community "public"
snmp trap disable
syslog debug-level off
syslog remote off
translator timeout 300
resolver enable
resolver address add ipcp-auto
rtadvd disable
httpd disable
sshd hostkey rsa1 none
sshd hostkey rsa auto
sshd hostkey dsa auto
sshd disable
telnetd disable
vendor OEM

設定解説

ppp add IIJmobile-typeD keepalive 300 ipcp enable ipcp-address on ipcp-dns on ipv6cp disable authentication-method chap identifier example1234567890@iijmobile.jp passphrase PassWord tcp-mss auto
PPP接続アカウントやPPPパスワードなど、ISP接続情報をPPP接続パラメータとして設定します。ここでは、IPアドレスとDNSサーバアドレスを自動取得するためにIPCPのアドレスオプション(ipcp-address)とDNSオプション(ipcp-dns)を有効にしています。
dialup-device access-point add IIJmobile cid 2 apn iijmobile.jp pdp-type ip dialup-device emobile0 connect-to IIJmobile
ダイアルアップデバイス(モバイル端末)と接続先アクセスポイントの設定です。ここでは、モバイル端末のcid 2に本設定のAPN情報を登録しています。また、IIJモバイル/タイプE(イー・モバイル網利用)を利用するため、dialup-deviceとしてemobile0を用いています。
interface lan0 media auto
interface lan0 add 192.168.0.1/24
LAN側インタフェースの設定です。メディアタイプはautoに設定しています。
interface ppp0 over emobile0 interface ppp0 ppp-configuration IIJmobile-typeE
WAN側インタフェースの設定です。USB経由の物理インタフェース emobile0にてppp接続するため、ppp0インタフェースに物理インタフェース emobile0を関連付けています。また、接続に利用するPPP設定として先ほど設定した"IIJmobile-typeE"を関連付けています。
route add default pppoe0
デフォルト経路の設定です。
nat napt add private 192.168.0.0-192.168.0.255 interface pppoe0
LAN内で用いているプライベートIPアドレス(192.168.0.0~192.168.0.255)を、インターネット上で用いられるグローバルIPアドレス(SEILのWAN側インタフェースのアドレス)に変換するNAPTの設定です。
dhcp enable
dhcp mode server
dhcp interface lan0 enable
dhcp interface lan0 expire 24
dhcp interface lan0 pool 192.168.0.2 253
dhcp interface lan0 dns add 192.168.0.1
LAN内の端末に自動的にIPアドレスを割り当てるDHCPサーバ機能の設定です。
dns forwarder enable
dns forwarder add ipcp
端末からSEIL宛てに送信されたDNSパケットを指定のDNSサーバへ中継するDNS中継機能の設定です。DNSサーバへのアクセスを集約することができます。
resolver enable
resolver address add ipcp-auto
SEILのコマンドのパラメータとしてURLやホスト名を使用する際、SEIL自身が名前解決を行うリゾルバ機能の設定です。
httpd disable
sshd disable
telnetd disable
本設定はSEILの設定・管理をコンソールポートのみで行うことを想定しているため、Webユーザインタフェースやtelnet, Secure Shellによる接続を無効にしています。

※本設定例には、管理パスワードの設定やIPフィルタ等のセキュリティ設定は含まれておりません。

このページの先頭へ