# # ゲスト用の無線ネットワークを設定 : ルーター コマンド設定 + 無線LANアクセスポイント Web GUI設定 # # # ルーター # # # LANインターフェースの設定 # ip lan1 address 192.168.100.1/24 ip lan2 address 192.168.200.1/24 # # WANインターフェースの設定 (LAN3ポートを使用) # ip route default gateway pp 1 pp select 1 pp always-on on pppoe use lan3 pp auth accept pap chap pp auth myname (ISPに接続するID) (ISPに接続するパスワード) ppp lcp mru on 1454 ppp ipcp ipaddress on ppp ipcp msext on ppp ccp type none ip pp mtu 1454 ip pp secure filter in 1020 1021 1022 1030 1031 1032 2000 ip pp secure filter out 1010 1011 1012 1013 1014 1015 3000 dynamic 100 101 102 103 104 105 106 107 ip pp nat descriptor 1 pp enable 1 # # VLANの設定 # vlan lan2/1 802.1q vid=201 name=VLAN201 ip lan2/1 address 192.168.201.1/24 ip lan2/1 secure filter in 9000 9001 3000 ip lan2/1 secure filter out 9002 9003 3000 # # フィルターの設定 # ip filter source-route on ip filter directed-broadcast on ip filter 1010 reject * * udp,tcp 135 * ip filter 1011 reject * * udp,tcp * 135 ip filter 1012 reject * * udp,tcp netbios_ns-netbios_ssn * ip filter 1013 reject * * udp,tcp * netbios_ns-netbios_ssn ip filter 1014 reject * * udp,tcp 445 * ip filter 1015 reject * * udp,tcp * 445 ip filter 1020 reject 192.168.100.0/24 * ip filter 1021 reject 192.168.200.0/24 * ip filter 1022 reject 192.168.201.0/24 * ip filter 1030 pass * 192.168.100.0/24 icmp ip filter 1031 pass * 192.168.200.0/24 icmp ip filter 1032 pass * 192.168.201.0/24 icmp ip filter 2000 reject * * ip filter 3000 pass * * ip filter 9000 reject 192.168.201.0/24 192.168.100.0/24 ip filter 9001 reject 192.168.201.0/24 192.168.200.0/24 ip filter 9002 reject 192.168.100.0/24 192.168.201.0/24 ip filter 9003 reject 192.168.200.0/24 192.168.201.0/24 ip filter dynamic 100 * * ftp ip filter dynamic 101 * * www ip filter dynamic 102 * * domain ip filter dynamic 103 * * smtp ip filter dynamic 104 * * pop3 ip filter dynamic 105 * * submission ip filter dynamic 106 * * tcp ip filter dynamic 107 * * udp # # NATの設定 # nat descriptor type 1 masquerade # # DHCPの設定 # dhcp service server dhcp server rfc2131 compliant except remain-silent dhcp scope 1 192.168.100.2-192.168.100.191/24 dhcp scope 2 192.168.200.2-192.168.200.191/24 dhcp scope 3 192.168.201.2-192.168.201.191/24 # # DNSの設定 # dns server (ISPより指定されたDNSサーバーのIPアドレス) dns private address spoof on # # スイッチの設定 # switch control use lan2 on