お問い合わせフォーム
====ETHERNET===================== 172.16.0.0/16 === | | LAN IP: 172.16.0.1 +-------+--------+ | Ethernet0 | | | | Router A | | | | Ethernet1 | +-------+--------+ | WAN IP | ====INTERNET/WAN================= ##ImageStreamルータ側設定例## ##Bフレッツの場合 ##SAND --Configuration Menu -- 3.Network interface configuration ! interface Ethernet0 description LANIP ip address 172.16.0.1 255.255.0.0 ! interface Ethernet1 description to_flets no ip address ! interface ADSL0 protocol pppoe ppp chap hostname プロバイダID password xxxxxx ip address negotiated adsl device Ethernet1 ! ip route 0.0.0.0 0.0.0.0 ADSL0 ! end ##SAND --Configuration Menu -- 4.Firewall and QoS Configuration -- 2.Firewall(iptables),(instated) --1.Configure Firewall rules iptables -t nat -A POSTROUTING -s 172.16.0.0/16 -o ppp+ -j MASQUERADE ##有線ブロードネットワークスGATE-02 /30の場合 ##SAND --Configuration Menu -- 3.Network interface configuration ! interface Ethernet0 description LANIP ip address 172.16.0.1 255.255.0.0 ! interface Ethernet1 description WANIP ip address xxx.xxx.xxx.xxx 255.255.255.252 #割り当てられたIPアドレス ! ip route add default via xxx.xxx.xxx.xxo #default gatewayのIPアドレス ! end ##SAND --Configuration Menu -- 4.Firewall and QoS Configuration -- 2.Firewall(iptables),(instated) --1.Configure Firewall rules iptables -t nat -A POSTROUTING -s 172.16.0.0/16 -o eth1 -j SNAT --to xxx.xxx.xxx.xxx #割り当てられたIPアドレス