設定例集_Rev.8.03, Rev.9.00, Rev.10.01対応

Similar documents
SRT/RTX/RT設定例集

設定例集

帯域を測ってみよう (適応型QoS/QoS連携/帯域検出機能)

SRT100 コマンド設定運用説明書

ヤマハルーターのCLI:Command Line Interface

RT300i/RT140x/RT105i 取扱説明書

RT300/140/105シリーズ 取扱説明書

SGX808 IPsec機能

MR1000 コマンド設定事例集

ヤマハ ルーター ファイアウォール機能~説明資料~

RTX/RTシリーズ コマンドリファレンス

RTX830 取扱説明書

NATディスクリプタ機能

橡sirahasi.PDF

owners.book

REMOTE ROUTERS RTA52i PDF

Win XP SP3 Japanese Ed. NCP IPSec client Hub L3 SW SRX100 Policy base VPN fe-0/0/0 vlan.0 Win 2003 SVR /

IP.dvi

ヤマハ ルーター ファイアウォール機能~説明資料~

RTX/RTシリーズ コマンドリファレンス

IP ICMP Redirec

Soliton Net’Attest EPS + AR router series L2TP+IPsec RADIUS 設定例

RTX1210 取扱説明書

RT300/140/105 シリーズ コマンドリファレンス

AMF Cloud ソリューション

RT57i・RTV700 コマンドリファレンス

FutureNet CS-SEILシリーズ コマンドリファレンス ver.1.82対応版

CS-SEIL-510/C コマンドリファレンス

Microsoft PowerPoint - Amazon VPCとのVPN接続.pptx

インターネットVPN_IPoE_IPv6_fqdn

Si-R30コマンドリファレンス

RTX/RTシリーズ コマンドリファレンス

RT107eセミナー用資料

クラウド接続 「Windows Azure」との接続

ScreenOS 5.0 ScreenOS 5.0 Deep Inspection VLAN NetScreen-25/-50/-204/-208 HA NetScreen-25 HA Lite NetScreen-25 NetScreen-50) ALG(Application Layer Gat

Dynamic VPN Dynamic VPN IPSec VPN PC SRX IPSec VPN SRX PC IPSec 2 Copyright 2010 Juniper Networks, Inc.

Si-R/Si-R brin シリーズ設定例


IPSEC-VPN IPsec(Security Architecture for Internet Protocol) IP SA(Security Association, ) SA IKE IKE 1 1 ISAKMP SA( ) IKE 2 2 IPSec SA( 1 ) IPs

AMFマルチテナントソリューション

Biz Box ルータ 「N1200」 コマンドリファレンス

untitled

TCP/IP Internet Week 2002 [2002/12/17] Japan Registry Service Co., Ltd. No.3 Internet Week 2002 [2002/12/17] Japan Registry Service Co., Ltd. No.4 2

RT107e 取扱説明書

Si-R30コマンドリファレンス

LAN

IPSEC(Si-RG)

RT58i Cmdref

IPSEC(Si-RGX)

RouteMagic Controller RMC-MP200 / MP Version

技術情報:Si-R/Si-R brinシリーズ設定例 「Oracle Cloud Infrastructure Classic」との接続

Si-R30取扱説明書

コマンドリファレンス

MR1000 Webリファレンス

アライドテレシス ディストリビューション・スイッチ AT-x600シリーズで実現するMicrosoft® NAP

FUJITSU Network SR-M コマンド設定事例集

untitled

AirMac ネットワーク構成の手引き

PBXマニュアル

2001年12月VPN&ブロードバンドソリューションフォーラム

対応するospf configure refreshコマンドまたはbgp configure refreshコマンドが実行されるようにした - 置き換え先のコマンド群にshow status ospfコマンドまたはshow status bgpコマンドが含まれていても ospf configure

SRX License

リング型IPカメラ監視ソリューション(マルチキャスト編)

iPhone/iPad/Android(TM) とベリサイン アイデンティティプロテクション(VIP)エンタープライズゲートウェイとの組み合わせによるL2TP+IPsecのワンタイムパスワード設定例

RouteMagic Controller( RMC ) 3.6 RMC RouteMagic RouteMagic Controller RouteMagic Controller MP1200 / MP200 Version 3.6 RouteMagic Controller Version 3

2008, 2009 TOSHIBA TEC CORPORATION All rights reserved

IOS ゾーン ベースのポリシー ファイアウォールを使用した IOS ルータでの AnyConnect VPN クライアントの設定例

WEB.dvi

アドレス プールの設定

C17.pdf

アライドテレシスコア スイッチ AT-SBx908 シリーズで実現する AMF-SBx908 ソリューション Solution No 主な目的 ネットワークの一元管理 共有化をしたい 既存ネットワークを再構築せずに 簡単に導入したい ネットワーク管理 運用にかかるコストを削減

RTA55i コマンドリファレンス

FUJITSU Network Si-R Si-Rシリーズ Si-R240B ご利用にあたって

Teradici Corporation # Canada Way, Burnaby, BC V5G 4X8 Canada p f Teradici Corporation Teradi

Configuring VPN from Proventia M Series Appliance to Cisco PIX 515E

IPCOMとWindows AzureのIPsec接続について

FW Migration Guide(ipsec2)

CS-SEIL-510/C ユーザーズガイド コマンドラインインターフェイス編

Microsoft Azure AR4050S, AR3050S, AR2050V 接続設定例

なって削除されるが invalid-route-reactivateオプションをonで指定している場合 優先度が高い経路が消滅したときに無効になっていたRIP 由来の経路を再有効化する [ ノート ] スタティック経路の優先度は10000で固定である invalid-route-reactivate

ScreenOS Copyright (C) 2005 NOX Co., Ltd. All Rights Reserved. Version1.00

perimeter gateway

2/ PPPoE AC(Access Concentrator) PPPoE PPPoE Ping FTP PP

リング型IPカメラ監視ソリューション

Si-R30取扱説明書

Agenda IPv4 over IPv6 MAP MAP IPv4 over IPv6 MAP packet MAP Protocol MAP domain MAP domain ASAMAP ASAMAP 2

FUJITSU Network Si-R Si-RシリーズSi-R220C ご利用にあたって

RouteMagic Controller RMC-MP200 / MP Version

Si-R180 ご利用にあたって

ISDN を経由した PPP コールバックの設定


株式会社スタッフ アンド ブレーン Rev. 1.0 ZyWALL USG シリーズ設定例 Android を利用した L2TP over IPSec VPN 接続 について 構成例 Android を利用した L2TP over IPSec VPN 接続 インターネット 社内環境 回線終端装置 (

コア・スイッチSBx8100 シリーズで実現するスター型冗長コアソリューション

YMS-VPN1_User_Manual

AMF & SESネットワーク

株式会社スタッフ アンド ブレーン Rev 1.0 次世代ファイアウォール USG シリーズ設定例 iphone を利用した L2TP over IPSec VPN 接続 について 構成例 iphone を利用した L2TP over IPSec VPN 接続 インターネット 社内環境 USG 回線

SR-Sシリーズ セキュアスイッチ コマンド設定事例集

FW Migration Guide(ipsec1)

試験問題での表記規格 標準の名称験午前Ⅱ 問題文中で共通に使用される表記ルール 各問題文中に注記がない限り, 次の表記ルールが適用されているものとする. JIS Q 9001 JIS Q JIS Q JIS Q JIS Q JIS Q 2700

PowerPoint Presentation

Transcription:

Network Equipment 設定例集 Rev.8.03, Rev.9.00, Rev.10.01 対応

2

3

4

5

6

7

8 help > help show command > show command console character administrator pp disable disconnect

9 pp enable save Password: login timer save cold start

10 cold start cold start cold start save

11 default gateway ip interface address LAN IP

12 # isdn local address bri1 03-1234-5678/Tokyo # ip lan1 address 172.16.112.215/24 # ip route 192.168.128.0/24 gateway pp 1 pp1# pp bind bri1 pp1# isdn remote address call 06-1111-9999/Osaka pp1# save # isdn local address bri1 06-1111-9999/Osaka # ip lan1 address 192.168.128.1/24 # ip route 172.16.112.0/24 gateway pp 1 pp1# pp bind bri1 pp1# isdn remote address call 03-1234-5678/Tokyo pp1# save

13 isdn local address ip lan1 address ip route pp select pp bind isdn remote address pp enable save

14 # isdn local address bri1 03-1234-5678/Tokyo # ip lan1 address 172.16.112.215/24 # ip route 192.168.128.0/24 gateway pp 1 pp1# pp bind bri1 pp1# ppp mp use on pp1# isdn remote address call 06-1111-9999/Osaka pp1# save # isdn local address bri1 06-1111-9999/Osaka # ip lan1 address 192.168.128.1/24 # ip route 172.16.112.0/24 gateway pp 1 pp1# pp bind bri1 pp1# ppp mp use on pp1# isdn remote address call 03-1234-5678/Tokyo pp1# save

15 isdn local address ip lan1 address ip route pp select pp bind ppp mp use isdn remote address pp enable save

16 # isdn local address bri1 03-1234-5678/Tokyo # ip lan1 address 192.168.127.215/24 # rip use on pp1# pp bind bri1 pp1# isdn remote address call 06-1111-9999/Osaka pp1# ip pp rip send on version 2 pp1# ip pp rip hold routing on pp1# save # isdn local address bri1 06-1111-9999/Osaka # ip lan1 address 192.168.128.1/24 # rip use on pp1# pp bind bri1 pp1# isdn remote address call 03-1234-5678/Tokyo pp1# ip pp rip send on version 2 pp1# ip pp rip hold routing on pp1# save pp1# connect 1 pp1# disconnect 1

17 isdn local address ip lan1 address rip use rip pp select pp bind isdn remote address ip pp rip send ip pp rip hold routing pp enable save isdn local address ip lan1 address rip use rip pp select pp bind isdn remote address ip pp rip send ip pp rip hold routing pp enable save connect disconnect

18 # isdn local address bri1 03-1234-5678/Tokyo # ip lan1 address 172.16.112.215/24 # ip route 192.168.128.0/24 gateway pp 2 # ip route 192.168.129.0/24 gateway pp 3 # pp select 2 pp2# pp bind bri1 pp2# isdn remote address call 06-1111-9999/Osaka pp2# pp enable 2 pp2# pp select 3 pp3# pp bind bri1 pp3# isdn remote address call 052-765-4321/Nagoya pp3# pp enable 3 pp3# save # isdn local address bri1 06-1111-9999/Osaka # ip lan1 address 192.168.128.1/24 # ip route 172.16.112.0/24 gateway pp 1 # ip route 192.168.129.0/24 gateway pp 3 pp1# pp bind bri1 pp1# isdn remote address call 03-1234-5678/Tokyo pp1# pp select 3 pp3# pp bind bri1 pp3# isdn remote address call 052-765-4321/Nagoya pp3# pp enable 3 pp3# save

19 # isdn local address bri1 052-765-4321/Nagoya # ip lan1 address 192.168.129.10/24 # ip route 172.16.112.0/24 gateway pp 1 # ip route 192.168.128.0/24 gateway pp 2 pp1# pp bind bri1 pp1# isdn remote address call 03-1234-5678/Tokyo pp1# pp select 2 pp2# pp bind bri1 pp2# isdn remote address call 06-1111-9999/Osaka pp2# pp enable 2 pp2# save isdn local address ip lan1 address ip route pp select pp bind isdn remote address pp enable pp select pp bind isdn remote address pp enable save

20 # isdn local address bri1 06-1111-9999/Osaka # ip lan1 address 192.168.128.1/24 # ip route default gateway pp 1 pp1# pp bind bri1 pp1# isdn remote address call 03-1234-5678/Tokyo pp1# save isdn local address ip lan1 address ip route pp select pp bind isdn remote address pp enable save

21 # isdn local address bri1 03-1234-5678/Tokyo # ip lan1 address 172.16.112.215/24 # ip route 192.168.128.0/24 gateway pp 1 pp1# pp bind bri1 pp1# isdn remote address call 06-1111-9999/Osaka pp1# save # isdn local address 06-1111-9999/Osaka # ip lan1 address 192.168.128.1 # ip route 172.16.112.0/24 gateway pp 2 pp1# pp bind bri1 pp1# isdn remote address call 0120-654321/Tokyo 03-1234-5678/Tokyo pp1# save

22 isdn local address ip lan1 address ip route pp select pp bind isdn remote address pp enable save isdn local address ip lan1 address ip route pp select pp bind isdn remote address pp enable save

23 # isdn local address bri1 03-1234-5678/Tokyo # ip lan1 address 172.16.112.215/24 # ip route 192.168.128.0/24 gateway pp 1 pp1# pp bind bri1 pp1# isdn callback request on pp1# isdn remote address call 06-1111-9999/Osaka pp1# save # isdn local address bri1 06-1111-9999/Osaka # ip lan1 address 192.168.128.1/24 # ip route 172.16.112.0/24 gateway pp 1 pp1# pp bind bri1 pp1# isdn callback permit on pp1# isdn remote address call 03-1234-5678/Tokyo pp1# save

24 isdn local address ip lan1 address ip route pp select pp bind isdn callback request isdn remote address pp enable save isdn local address ip lan1 address ip route pp select pp bind isdn callback permit isdn remote address pp enable save

25 # isdn local address bri1 03-1234-5678/Tokyo # ip lan1 address 172.16.112.1/24 # ip route 172.16.112.241 gateway pp 1 # ip route 172.16.112.242 gateway pp 1 # ip route 172.16.112.243 gateway pp 1 # ip lan1 proxyarp on pp1# pp bind bri1 pp1# isdn remote address call 06-1111-9999/Osaka pp1# save # isdn local address 06-1111-9999/Osaka # ip lan1 address 172.16.112.241/28 # ip route default gateway pp 1 pp1# pp bind bri1 pp1# isdn remote address call 03-1234-5678/Tokyo pp1# save

26 isdn local address ip lan1 address ip lan1 proxyarp ip route pp select pp bind isdn remote address pp enable save isdn local address ip lan1 address ip route pp select pp bind isdn remote address pp enable save

27 # isdn local address bri1 03-1234-5679/Tokyo # ip lan1 address 172.16.112.1/24 # ip route 172.16.112.241 gateway pp 1 # ip route 172.16.112.242 gateway pp 1 # ip route 172.16.112.243 gateway pp 1.. # ip route 172.16.112.254 gateway pp 2 # ip lan1 proxyarp on pp1# pp bind bri1 pp1# isdn remote address call 06-1111-9999/Osaka pp1# save

28 # isdn local address 03-1234-5679/Tokyo2 # ip lan1 address 172.16.112.2/24 # ip route 172.16.112.237 gateway pp 1 # Ip route 172.16.112.238 gateway pp 1 # ip lan1 proxyarp on pp1# isdn remote address call 052-765-4321/Nagoya pp1# pp bind bri1 pp1# save # isdn local address bri1 052-765-4321/Nagoya # ip lan1 address 172.16.112.237/30 # ip route default gateway pp 1 # pp bind bri1 pp1# isdn remote address call 03-1234-5679/Tokyo2 pp1# save # isdn local address 06-1111-9999/Osaka # ip lan1 address 172.16.112.241/28 # ip route default gateway pp 1 pp1# pp bind bri1 pp1# isdn remote address call 03-1234-5678/Tokyo pp1# save

29 isdn local address ip lan1 address ip lan1 proxyarp ip route pp select pp bind isdn remote address pp enable save

30 isdn local address ip lan1 address ip route pp select pp bind isdn remote address pp enable save

31 # isdn local address bri1 03-1234-5678/Tokyo # ip lan1 address 172.16.112.215/24 # ip lan1 proxyarp on pp1# pp bind bri1 pp1# isdn remote address call 06-1111-9999/Osaka pp1# ip pp remote address 172.16.112.216 pp1# save ip pp remote address isdn local address ip lan1 address ip lan1 proxyarp pp select pp bind isdn remote address

32 ip pp remote address pp enable save

33 # isdn local address bri1 03-1234-5678/Tokyo # ip lan1 address 172.16.112.215/24 # ip lan1 proxyarp on # pp select anonymous anonymous# pp bind bri1 anonymous# ip pp remote address pool 172.16.112.216 172.16.112.217 anonymous# pp auth request chap anonymous# pp auth username RT105i-A himitsu anonymous# pp enable anonymous anonymous# save isdn local address ip lan1 address ip lan1 proxyarp pp select pp bind ip pp remote address pool pp auth request pp auth username

34 pp enable save

35 # isdn local address bri1 03-1234-5678/Tokyo # ip lan1 address 172.16.112.215/24 # ip route default gateway pp 1 # nat descriptor type 1 masquerade pp1# pp bind bri1 pp1# isdn remote address call 06-1111-9999/Osaka pp1# pp auth accept pap chap pp1# pp auth myname RT105i-A himitsu pp1# ppp ipcp ipaddress on pp1# ip pp nat descriptor 1 pp1# save

36 isdn local address ip lan1 address ip route nat descriptor type pp select pp bind isdn remote address pp auth accept pp auth myname ppp ipcp ipaddress ip pp nat descriptor pp enable save

37

38 pp1# ip filter 1 pass 192.168.128.0/24 * pp1# ip pp secure filter out 1 pp1# save pp select ip filter * ip pp secure filter out save

39 pp1# ip filter 1 reject * 192.168.128.0/24 pp1# ip filter 2 pass * * pp1# ip pp secure filter out 1 2 pp1# save pp select ip filter * reject ip pp secure filter out save

40 pp1# ip filter 1 pass 192.168.128.0/24 * pp1# ip pp secure filter in 1 pp1# save pp select ip filter * ip pp secure filter in save

41 pp1# ip filter 1 reject * 192.168.128.0/24 pp1# ip filter 2 pass * * pp1# ip pp secure filter in 1 2 pp1# save pp select ip filter * reject ip pp secure filter in save

42 pp1# ip filter 1 pass * * established pp1# ip filter 2 pass * * tcp ftpdata * pp1# ip pp secure filter in 1 2 pp1# save pp select ip filter * established established ftpdata ip pp secure filter in save

43 pp1# ip filter 1 pass * * udp snmp * pp1# ip filter 2 pass * * udp * snmp pp1# ip pp secure filter in 1 2 pp1# ip pp secure filter out 1 2 pp1# save pp select ip filter * snmp ip pp secure filter save

44 pp1# ip filter 1 pass * * tcp telnet * pp1# ip filter 2 pass * * tcp * telnet pp1# ip pp secure filter in 1 2 pp1# ip pp secure filter out 1 2 pp1# save pp select ip filter * telnet ip pp secure filter save

45 pp1# ip filter 1 reject * * icmp pp1# ip filter 2 pass * * pp1# ip pp secure filter in 1 2 pp1# save pp select ip filter * icmp reject ip pp secure filter in save

46 pp1# ip filter 1 pass * * tcp * ftp pp1# ip filter 2 pass * * tcp ftp * pp1# ip pp secure filter out 1 pp1# ip pp secure filter in 2 pp1# save pp select ip filter * ftp ip pp secure filter out in save

47 pp1# ip filter 1 reject 192.168.128.* * pp1# ip filter 2 pass * * pp1# ip pp rip filter out 1 2 pp1# save pp select ip filter *reject ip pp rip filter out save

48 # line type bri1 l64 # ip lan1 address 192.168.1.241/28 # ip route default gateway pp 1 # ip filter 10 reject 192.168.1.0/24 * * * * # ip filter 11 pass * 192.168.1.0/24 icmp * * # ip filter 12 pass * 192.168.1.0/24 established ** # ip filter 13 pass * 192.168.1.0/24 tcp * ident # ip filter 14 pass * 192.168.1.0/24 tcp ftpdata * # ip filter 15 pass * 192.168.1.0/24 udp domain * # ip filter 16 pass * 192.168.1.240/28 tcp,udp * telnet,smtp, gopher,finger,www,nntp,ntp, 33434-33500 # ip filter source-route on # ip filter directed-broadcast on pp1# pp bind bri1 pp1# ip pp secure filter in 10 11 12 13 14 15 16 pp1# syslog host 192.168.1.242 pp1# syslog notice on pp1# save pp1# interface reset bri1

49 line type ip lan1 address ip route ip filter ip filter source-route ip filter directed-broadcast pp select pp bind ip pp secure filter in syslog host syslog notice save interface reset

50 # line type bri1 l64 # ip lan1 address 192.168.1.1/24 # ip route default gateway pp 1 # ip filter 10 reject 192.168.1.0/24 * * * * # ip filter 11 pass * 192.168.1.0/24 icmp * * # ip filter 12 pass * 192.168.1.0/24 established ** # ip filter 13 pass * 192.168.1.0/24 tcp * ident # ip filter 14 pass * 192.168.1.0/24 tcp ftpdata * # ip filter 15 pass * 192.168.1.0/24 udp domain * # ip filter 16 pass * 192.168.1.2 tcp,udp * smtp,gopher, finger,www,nntp,ntp,33434-33500 # ip filter source-route on # ip filter directed-broadcast on pp1# pp bind bri1 pp1# ip pp secure filter in 10 11 12 13 14 15 16 pp1# syslog host 192.168.1.3 pp1# syslog notice on pp1# save pp1# interface reset bri1

51 line type ip lan1 address ip route ip filter ip filter source-route ip filter directed-broadcast pp select pp bind ip pp secure filter in syslog host syslog notice save interface reset

52 pp1# ip filter 60 reject 10.0.0.0/24 * * * * pp1# ip filter 100 pass * 10.0.0.0/24 * * * pp1# ip pp secure filter in 60 100 pp1# save ip filter directed-broadcast #ip filter directed-broadcast on

53 ip filter 100 reject * * * * * ip pp secure filter in 100 ip pp secure filter out 1 ip pp secure filter out 1 dynamic 10 ip pp secure filter in dynamic 20 ip pp secure filter out dynamic 10

54 # ip filter dynamic 1 192.168.0.0/24 * ftp # ip filter dynamic 2 192.168.0.0/24 * tftp # ip filter dynamic 3 192.168.0.0/24 * tcp # ip filter dynamic 4 192.168.0.0/24 * udp # ip filter 1 pass 192.168.0.0/24 * tcp,udp # ip filter 100 reject * * * * * pp1# ip pp secure filter in 100 pp1# ip pp secure filter out 1 dynamic 1 2 3 4 # ip filter dynamic 1 192.168.0.0/24 * ftp # ip filter dynamic 2 192.168.0.0/24 * tftp # ip filter dynamic 3 192.168.0.0/24 * tcp # ip filter dynamic 4 192.168.0.0/24 * udp # ip filter 1 pass 192.168.0.0/24 * tcp,udp # ip filter 100 reject * * * * * pp1# ip pp secure filter in 100 pp1# ip pp secure filter out 1 dynamic 1 2 3 4

55 # ip filter dynamic 1 * 172.16.128.2 domain # ip filter 1 pass * * tcp * smtp,pop3 # ip filter 2 pass * * tcp * ident # ip filter dynamic 2 192.168.0.0/24 172.16.128.3 filter 1 in 2 # ip filter dynamic 3 192.168.0.0/24 * www # ip filter dynamic 4 192.168.0.0/24 * ftp # ip filter dynamic 5 192.168.0.0/24 * telnet # ip filter dynamic 10 192.168.0.0/24 * tcp syslog=off # ip filter dynamic 11 192.168.0.0/24 * udp syslog=off # ip filter 3 pass * 192.168.0.0/24 icmp * * # ip filter dynamic 20 * 192.168.0.2 domain # ip filter dynamic 21 * 192.168.0.3 www # ip filter 4 pass * 192.168.0.2 tcp * domain # ip filter 5 pass * 192.168.0.3 tcp * www # ip filter 6 pass * 192.168.0.3 tcp * smtp,pop3 # ip filter 7 pass * * tcp * ident # ip filter dynamic 22 * 192.168.0.3 filter 6 in 7 pp1# ip pp secure filter in 3 4 5 6 dynamic 20 21 22 pp1# ip pp secure filter out dynamic 1 2 3 4 5 10 11 # ip filter dynamic 1 * 172.16.128.2 domain # ip filter 1 pass * * tcp * smtp,pop3 # ip filter 2 pass * * tcp * ident # ip filter dynamic 2 192.168.0.0/24 172.16.128.3 filter 1 in 2 ip filter dynamicip filter ip filter dynamic 1 192.168.0.0/24 172.16.128.3 smtp ip filter dynamic 2 192.168.0.0/24 172.16.128.3 pop3 ip filter 1 pass 172.16.128.3 192.168.0.0/24 tcp * ident ip filter dynamic 20 172.16.128.3 192.168.0.0/24 filter 1 pp select 1 ip pp secure filter in 1 dynamic 20 ip pp secure filter out dynamic 1 2

56 # ip filter dynamic 3 192.168.0.0/24 * www # ip filter dynamic 4 192.168.0.0/24 * ftp # ip filter dynamic 5 192.168.0.0/24 * telnet # ip filter dynamic 10 192.168.0.0/24 * tcp syslog=off # ip filter dynamic 11 192.168.0.0/24 * udp syslog=off # ip filter 3 pass * 192.168.0.0/24 icmp * * # ip filter dynamic 20 * 192.168.0.2 domain # ip filter dynamic 21 * 192.168.0.3 www # ip filter 4 pass * 192.168.0.2 tcp * domain # ip filter 5 pass * 192.168.0.3 tcp * www # ip filter 6 pass * 192.168.0.3 tcp * smtp,pop3 # ip filter 7 pass * * tcp * ident # ip filter dynamic 22 * 192.168.0.3 filter 6 in 7 ip filter dynamic 20 * 192.168.0.3 smtp ip filter dynamic 21 * 192.168.0.3 pop3 ip filter 1 pass * 192.168.0.3 tcp * smtp,pop3 ip filter 2 pass * * tcp * ident ip filter dynamic 1 192.168.0.3 * filter 2 pp select 1 ip pp secure filter in 1 dynamic 20 21 ip pp secure filter out dynamic 1 pp1# ip pp secure filter in 3 4 5 6 dynamic 20 21 22 pp1# ip pp secure filter out dynamic 1 2 3 4 5 10 11

57 # ip filter 1 pass * * tcp * 6000 # ip filter 2 pass * * udp * 7001 # ip filter 3 pass * * udp * 7002 # ip filter dynamic 1 * 172.16.128.128 filter 1 in 3 out 2 # ip filter 100 reject * * * * * pp1# ip pp secure filter in 100 pp1# ip pp secure filter out dynamic 1 # ip filter 1 pass * * tcp * 6000 # ip filter 2 pass * * udp * 7001 # ip filter 3 pass * * udp * 7002 # ip filter dynamic 1 * 172.16.128.128 filter 1 in 3 out 2 # ip filter 100 reject * * * * * pp1# ip pp secure filter in 100 pp1# ip pp secure filter out dynamic 1

58 # line type bri1 l128 # ip lan1 address 192.168.1.241/28 # ip filter 1 reject 192.168.1.0/24 * * * * # ip filter 2 pass * * icmp * * # ip filter dynamic 20 * 192.168.1.240/28 telnet # ip filter dynamic 21 * 192.168.1.240/28 smtp # ip filter dynamic 22 * 192.168.1.240/28 www # ip filter dynamic 30 * 192.168.1.240/28 tcp # ip filter dynamic 31 * 192.168.1.240/28 udp # ip filter 3 reject * 192.168.1.240/28 established * telnet,smtp,gopher, finger,www,nntp,ntp # ip filter 4 pass * 192.168.1.240/28 tcp,udp * telnet,smtp,gopher, finger,www,nntp,ntp,33434-33500 # ip filter dynamic 1 * * domain # ip filter dynamic 2 * * www # ip filter dynamic 3 * * ftp # ip filter 5 pass * * tcp * smtp,pop3 # ip filter 6 pass * * tcp * ident # ip filter dynamic 4 * * filter 5 in 6 # ip filter dynamic 10 * * tcp # ip filter dynamic 11 * * udp # ip filter source-route on # ip filter directed-broadcast on pp1# pp bind bri1 pp1# ip pp secure filter in 1 2 3 4 dynamic 20 21 22 30 31 pp1# ip pp secure filter out dynamic 1 2 3 4 10 11 pp1# pp select none # ip route default gateway pp 1 # syslog host 192.168.1.242 # syslog notice on # save # interface reset bri1 # line type bri1 l128 # ip lan1 address 192.168.1.241/28 # ip filter 1 reject 192.168.1.0/24 * * * * # ip filter 2 pass * * icmp * * # ip filter dynamic 20 * 192.168.1.240/28 telnet # ip filter dynamic 21 * 192.168.1.240/28 smtp # ip filter dynamic 22 * 192.168.1.240/28 www # ip filter dynamic 30 * 192.168.1.240/28 tcp # ip filter dynamic 31 * 192.168.1.240/28 udp # ip filter 3 reject * 192.168.1.240/28 established * telnet,smtp,gopher, finger,www,nntp,ntp # ip filter 4 pass * 192.168.1.240/28 tcp,udp * telnet,smtp,gopher, finger,www,nntp,ntp,33434-33500

59 # ip filter dynamic 1 * * domain # ip filter dynamic 2 * * www # ip filter dynamic 3 * * ftp # ip filter 5 pass * * tcp * smtp,pop3 # ip filter 6 pass * * tcp * ident # ip filter dynamic 4 * * filter 5 in 6 ip filter dynamicip filter ip filter dynamic 1 * * smtp ip filter dynamic 2 * * pop3 ip filter 1 pass * * tcp * ident ip filter dynamic 20 * * filter 1 pp select 1 ip pp secure filter in 1 dynamic 20 ip pp secure filter out dynamic 1 2 # ip filter dynamic 10 * * tcp # ip filter dynamic 11 * * udp # ip filter source-route on # ip filter directed-broadcast on pp1# pp bind bri1 pp1# ip pp secure filter in 1 2 3 4 dynamic 20 21 22 30 31 pp1# ip pp secure filter out dynamic 1 2 3 4 10 11 pp1# pp select none # ip route default gateway pp 1 # syslog host 192.168.1.242 # syslog notice on # save # interface reset bri1 restart

60 # line type bri1 l128 # ip lan1 address 192.168.1.1/24 # ip filter 1 reject 192.168.1.0/24 * * * * # ip filter 2 pass * * icmp * * # ip filter dynamic 20 * 192.168.1.2 telnet # ip filter dynamic 21 * 192.168.1.2 smtp # ip filter dynamic 22 * 192.168.1.2 www # ip filter dynamic 30 * 192.168.1.2 tcp # ip filter dynamic 31 * 192.168.1.2 udp # ip filter 3 reject * 192.168.1.2 established * telnet,smtp,gopher, finger,www,nntp,ntp # ip filter 4 pass * 192.168.1.2 tcp,udp * telnet,smtp,gopher, finger,www,nntp,ntp,33434-33500 # ip filter dynamic 1 * * domain # ip filter dynamic 2 * * www # ip filter dynamic 3 * * ftp # ip filter 5 pass * * tcp * smtp,pop3 # ip filter 6 pass * * tcp * ident # ip filter dynamic 4 * * filter 5 in 6 # ip filter dynamic 10 * * tcp # ip filter dynamic 11 * * udp # ip filter source-route on # ip filter directed-broadcast on pp1# pp bind bri1 pp1# ip pp secure filter in 1 2 3 4 dynamic 20 21 22 30 31 pp1# ip pp secure filter out dynamic 1 2 3 4 10 11 pp1# pp select none # ip route default gateway pp 1 # syslog host 192.168.1.3 # syslog notice on # save # interface reset bri1 # line type bri1 l128 # ip lan1 address 192.168.1.1/24 # ip filter 1 reject 192.168.1.0/24 * * * * # ip filter 2 pass * * icmp * * # ip filter dynamic 20 * 192.168.1.2 telnet # ip filter dynamic 21 * 192.168.1.2 smtp # ip filter dynamic 22 * 192.168.1.2 www # ip filter dynamic 30 * 192.168.1.2 tcp # ip filter dynamic 31 * 192.168.1.2 udp # ip filter 3 reject * 192.168.1.2established * telnet,smtp,gopher,finger,www,nntp,ntp # ip filter 4 pass * 192.168.1.2 tcp,udp * telnet,smtp,gopher,finger,www,nntp,ntp,33434-33500

61 # ip filter dynamic 1 * * domain # ip filter dynamic 2 * * www # ip filter dynamic 3 * * ftp # ip filter 5 pass * * tcp * smtp,pop3 # ip filter 6 pass * * tcp * ident # ip filter dynamic 4 * * filter 5 in 6 ip filter dynamicip filter ip filter dynamic 1 * * smtp ip filter dynamic 2 * * pop3 ip filter 1 pass * * tcp * ident ip filter dynamic 20 * * filter 1 pp select 1 ip pp secure filter in 1 dynamic 20 ip pp secure filter out dynamic 1 2 # ip filter dynamic 10 * * tcp # ip filter dynamic 11 * * udp # ip filter source-route on # ip filter directed-broadcast on pp1# pp bind bri1 pp1# ip pp secure filter in 1 2 3 4 dynamic 20 21 22 30 31 pp1# ip pp secure filter out dynamic 1 2 3 4 10 11 pp1# pp select none # ip route default gateway pp 1 # syslog host 192.168.1.3 # syslog notice on # save # interface reset bri1 restart

62 pp1# ip pp intrusion detection in on pp1# ip pp intrusion detection in on reject=on reject # ip filter dynamic 1 * * ftp # ip filter dynamic 2 * * smtp pp1# ip pp secure filter in dynamic 1 2 pp1# ip pp intrusion detection in on

63 #ip policy filter 10 reject-log lan2 lan1 * * telnet #ip policy filter 11 pass-nolog lan1 lan2 * * ping #ip policy interface group 1 name=private local lan1 #ip policy service group 1 name=mail smtp pop3

64 #ip policy filter 10 pass-log local * * * * #ip policy filter 11 static-pass-log * lan1 * * * #ip policy filter 20 reject-nolog lan1 * * * * #ip policy filter 21 static-pass-nolog * local * * * #ip policy filter 22 pass-nolog * pp1 192.168.0.0/24 * tcp #ip policy filter 23 pass-nolog * pp1 192.168.0.0/24 * udp #ip policy filter 30 reject-nolog * * * * * #ip policy filter set 1 10 [11] 20 [21 22 23] 30 #ip policy filter set enable 1 #save #ip policy filter 10 pass-log local * * * * #ip policy filter 11 static-pass-log * lan1 * * * #ip policy filter 20 reject-nolog lan1 * * * * #ip policy filter 21 static-pass-nolog * local * * * #ip policy filter 22 pass-nolog * pp1 192.168.0.0/24 * tcp #ip policy filter 23 pass-nolog * pp1 192.168.0.0/24 * udp #ip policy filter 30 reject-nolog * * * * * #ip policy filter set 1 10 [11] 20 [21 22 23] 30

65 #ip policy filter set enable 1 #save

66 #ip policy interface group 1 name=private local lan1 #ip policy service group 1 name=mail pop3 smtp #ip policy filter 10 pass-nolog local * * * * #ip policy filter 11 static-pass-nolog * lan1 * * * #ip policy filter 100 reject-nolog lan1 * * * * #ip policy filter 110 static-pass-nolog * 1 * * * #ip policy filter 120 reject-nolog * * 192.168.0.0/24 * * #ip policy filter 121 pass-log * * * 172.16.128.2 dns #ip policy filter 122 pass-log * * * * www #ip policy filter 123 pass-log * * * 172.16.128.3 1 #ip policy filter 200 reject-nolog * * * * * #ip policy filter set 1 name="internet Access" 10 [11] 100 [110 120 [121 122 123]] 200 #ip policy filter set enable 1 #save #ip policy interface group 1 name=private local lan1 #ip policy service group 1 name=mail pop3 smtp #ip policy filter 10 pass-nolog local * * * * #ip policy filter 11 static-pass-nolog * lan1 * * * #ip policy filter 100 reject-nolog lan1 * * * * #ip policy filter 110 static-pass-nolog * 1 * * * #ip policy filter 120 reject-nolog * * 192.168.0.0/24 * *

67 #ip policy filter 121 pass-log * * * 172.16.128.2 dns #ip policy filter 122 pass-log * * * * www #ip policy filter 123 pass-log * * * 172.16.128.3 1 #ip policy filter 200 reject-nolog * * * * * #ip policy filter set 1 name="internet Access" 10 [11] 100 [110 120 [121 122 123]] 200 #ip policy filter set enable 1 #save

68 #ip inbound filter 1 reject-nolog * * tcp,udp * 135 #ip inbound filter 2 reject-nolog * * tcp,udp 135 * #ip inbound filter 3 reject-nolog * * tcp,udp * netbios_ns-netbios_ssn #ip inbound filter 4 reject-nolog * * tcp,udp netbios_ns-netbios_ssn * #ip inbound filter 5 reject-nolog * * tcp,udp * 445 #ip inbound filter 6 reject-nolog * * tcp,udp 445 * #ip inbound filter 7 pass-nolog * * * * * #pp select 1 pp1#ip pp inbound filter list 1 2 3 4 5 6 7 pp1#pp select none #ip policy interface group 1 name=private local lan1 #ip policy address group 1 name=private 192.168.0.0/24 192.168.1.0/24 #ip policy service group 1 name="mail" pop3 smtp #ip policy service group 2 name="http Access" www ftp #ip policy filter 100 pass-nolog local * * * * #ip policy filter 110 static-pass-nolog * lan1 * * * #ip policy filter 200 reject-nolog lan1 * * * * #ip policy filter 210 static-pass-nolog * 1 * * * #ip policy filter 211 static-pass-log * * * * http #ip policy filter 220 pass-nolog * * * * dns #ip policy filter 230 pass-nolog * * * 172.16.0.1 ntp #ip policy filter 240 reject-nolog * pp1 1 * * #ip policy filter 241 pass-log * * * * 1 #ip policy filter 242 pass-log * * * * 2 #ip policy filter 300 reject-nolog pp1 * * * * #ip policy filter 310 reject-nolog * lan1 * * * #ip policy filter 311 pass-log * * * 192.168.0.5 2 #ip policy filter 400 reject-nolog * * * * * #ip policy filter set 1 name="internet Access" 100 [110] 200 [210 [211] 220 230 240 [241 242]] 300 [310 [311]] 400 #ip policy filter set enable 1 #save

69 #ip inbound filter 1 reject-nolog * * tcp,udp * 135 #ip inbound filter 2 reject-nolog * * tcp,udp 135 * #ip inbound filter 3 reject-nolog * * tcp,udp * netbios_ns-netbios_ssn #ip inbound filter 4 reject-nolog * * tcp,udp netbios_ns-netbios_ssn * #ip inbound filter 5 reject-nolog * * tcp,udp * 445 #ip inbound filter 6 reject-nolog * * tcp,udp 445 * #ip inbound filter 7 pass-nolog * * * * * #pp select 1 pp1#ip pp inbound filter list 1 2 3 4 5 6 7 pp1#pp select none #ip policy interface group 1 name=private local lan1 #ip policy address group 1 name=private 192.168.0.0/24 192.168.1.0/24 #ip policy service group 1 name="mail" pop3 smtp #ip policy service group 2 name="http Access" www ftp #ip policy filter 100 pass-nolog local * * * * #ip policy filter 110 static-pass-nolog * lan1 * * * #ip policy filter 200 reject-nolog lan1 * * * * #ip policy filter 210 static-pass-nolog * 1 * * * #ip policy filter 211 static-pass-log * * * * http #ip policy filter 220 pass-nolog * * * * dns

70 #ip policy filter 230 pass-nolog * * * 172.16.0.1 ntp #ip policy filter 240 reject-nolog * pp1 1 * * #ip policy filter 241 pass-log * * * * 1 #ip policy filter 242 pass-log * * * * 2 #ip policy filter 300 reject-nolog pp1 * * * * #ip policy filter 310 reject-nolog * lan1 * * * #ip policy filter 311 pass-log * * * 192.168.0.5 2 #ip policy filter 400 reject-nolog * * * * * #ip policy filter set 1 name="internet Access" 100 [110] 200 [210 [211] 220 230 240 [241 242]] 300 [310 [311]] 400 #ip policy filter set enable 1 #save

71 PAP CHAP

72 pp1# pp auth request pap pp1# pp auth username RT105i-A himitsu pp1# save pp1# pp auth accept pap pp1# pp auth myname RT105i-A himitsu pp1# save

73 pp1# pp auth request pap pp1# pp auth accept pap pp1# pp auth myname RT105i-A himitsu pp1# pp auth username RT105i-A himitsu pp1# save pp1# pp auth request chap pp1# pp auth username RT105i-A himitsu pp1# save pp1# pp auth accept chap pp1# pp auth myname RT105i-A himitsu pp1# save

74 pp1# pp auth request chap pp1# pp auth accept chap pp1# pp auth myname RT105i-A himitsu pp1# pp auth username RT105i-A himitsu pp1# save

75

76 # isdn local address bri1 03-1234-5678/Tokyo # ip lan1 address 192.168.1.130/28 # ip route 192.168.1.144/28 gateway pp 1 # dhcp scope 1 192.168.1.129-192.168.1.142/28 except 192.168.1.130 # dhcp service server pp1# pp bind bri1 pp1# isdn remote address call 06-1111-9999/Osaka pp1# save # isdn local address bri1 06-1111-9999/Osaka # ip lan1 address 192.168.1.150/28 # ip route 192.168.1.128/28 gateway pp 1 pp1# pp bind bri1 pp1# isdn remote address call 03-1234-5678/Tokyo pp1# save

77 isdn local address ip lan1 address ip route dhcp scope gateway expire, maxexpire dhcp service pp select pp bind isdn remote address pp enable save isdn local address ip lan1 address ip route pp select pp bind isdn remote address pp enable save

78 # isdn local address bri1 03-1234-5678/Tokyo # ip lan1 address 192.168.1.1/24 # ip route 192.168.2.0/24 gateway pp 1 # dhcp scope 1 192.168.1.2-192.168.1.64/24 except 192.168.1.7 # dhcp scope 2 192.168.2.1-192.168.2.32/24 except 192.168.2.8 gateway 192.168.2.8 # dhcp scope bind 1 192.168.1.5 aa:aa:aa:aa:aa:aa # dhcp scope bind 1 192.168.1.6. ethernet bb:bb:bb:bb:bb:bb # dhcp scope bind 2 192.168.2.5. ethernet cc:cc:cc:cc:cc:cc # dns server 192.168.1.7 # dhcp service server pp1# pp bind bri1 pp1# isdn remote address call 06-1111-9999/Osaka pp1# save

79 # isdn local address bri1 06-1111-9999/Osaka # ip lan1 address 192.168.2.8/24 # ip route 192.168.1.0/24 gateway pp 1 # dhcp relay server 192.168.1.1 # dhcp service relay pp1# pp bind bri1 pp1# isdn remote address call 03-1234-5678/Tokyo pp1# save

80 isdn local address ip lan1 address ip route dhcp scope gateway expire, maxexpire dhcp scope bind dns server dhcp service pp select pp bind isdn remote address pp enable save isdn local address ip lan1 address ip route dhcp relay server dhcp service pp select isdn remote address pp enable save

81 # ip lan1 address 192.168.0.1/24 # ip lan2 address dhcp # nat descriptor type 1 masquerade # nat descriptor address outer 1 primary # ip lan2 nat descriptor 1 # ip route default gateway dhcp lan2 # save # ip lan1 address 192.168.0.1/24 # ip lan2 address dhcp # nat descriptor type 1 masquerade # nat descriptor address outer 1 primary # ip lan2 nat descriptor 1 # ip route default gateway dhcp lan2 # save

82 # isdn local address bri1 0387654321 # ip lan1 address 192.168.0.1/24 # ip lan1 proxyarp on pp1# pp bind bri1 pp1# isdn remote address call 0312345678 pp1# ip pp remote address dhcpc lan1 pp1# save # isdn local address bri1 0312345678 # ip lan1 address 192.168.1.1/24 # ip route default gateway pp 1 # nat descriptor type 1 masquerade pp1# pp bind bri1 pp1# ip pp nat descriptor 1 pp1# isdn remote address call 0387654321 pp1# ppp ipcp ipaddress on pp1# save # isdn local address bri1 0387654321 # ip lan1 address 192.168.0.1/24 # ip lan1 proxyarp on pp1# pp bind bri1 pp1# isdn remote address call 0312345678

83 pp1# ip pp remote address dhcpc lan1 # isdn local address bri1 0312345678 # ip lan1 address 192.168.1.1/24 # ip route default gateway pp 1 # nat descriptor type 1 masquerade pp1# pp bind bri1 pp1# ip pp nat descriptor 1 pp1# isdn remote address call 0387654321 pp1# ppp ipcp ipaddress on pp1# save

84

85 # isdn local address bri1 03-1234-5678/Tokyo # ip lan1 address 172.16.112.215/24 # ip route 192.168.128.1 gateway pp 1 # ip route 192.168.128.0/24 gateway tunnel 1 # ipsec ike pre-shared-key 1 text himitsu # ipsec ike remote address 1 192.168.128.1 # ipsec sa policy 101 1 esp des-cbc md5-hmac pp1# pp bind bri1 pp1# isdn remote address call 06-1111-9999/Osaka pp1# tunnel select 1 tunnel1# ipsec tunnel 101 tunnel1# tunnel enable 1 tunnel1# ipsec auto refresh on tunnel1# save

86 # isdn local address bri1 06-1111-9999/Osaka # ip lan1 address 192.168.128.1/24 # ip route 172.16.112.215 gateway pp 1 # ip route 172.16.112.0/24 gateway tunnel 1 # ipsec ike pre-shared-key 1 text himitsu # ipsec ike remote address 1 172.16.112.215 # ipsec sa policy 101 1 esp des-cbc md5-hmac pp1# pp bind bri1 pp1# isdn remote address call 03-1234-5678/Tokyo pp1# tunnel select 1 tunnel1# ipsec tunnel 101 tunnel1# tunnel enable 1 tunnel1# ipsec auto refresh on tunnel1# save isdn local address ip lan1 address ip route ip route ipsec ike pre-shared-key ipsec ike remote address ipsec sa policy pp select pp bind isdn remote address pp enable tunnel select ipsec tunnel

87 tunnel enable ipsec auto refresh save isdn remote address ip lan1 address ip route ip route ipsec ike pre-shared-key ipsec ike remote address ipsec sa policy pp select pp bind isdn remote address pp enable tunnel select ipsec tunnel tunnel enable ipsec auto refresh save

88 # isdn local address bri1 03-1234-5678/Tokyo # ip lan1 address 172.16.112.215/24 # ip route 192.168.128.0/24 gateway pp 1 # ipsec ike pre-shared-key 1 text himitsu # ipsec ike remote address 1 192.168.128.1 # ipsec sa policy 102 1 esp des-cbc sha-hmac # ipsec transport 1 102 tcp * telnet # ipsec transport 2 102 tcp telnet * # security class 1 on on #pp select 1 pp1# pp bind bri1 pp1# isdn remote address call 06-1111-9999/Osaka pp1# ipsec auto refresh on pp1# save

89 # isdn local address bri1 06-1111-9999/Osaka # ip lan1 address 192.168.128.1/24 # ip route 172.16.112.0/24 gateway pp 1 # ipsec ike pre-shared-key 1 text himitsu # ipsec ike remote address 1 172.16.112.215 # ipsec sa policy 102 1 esp des-cbc sha-hmac # ipsec transport 1 102 tcp * telnet # ipsec transport 2 102 tcp telnet * # security class 1 on on pp1# isdn remote address call 03-1234-5678/Tokyo pp1# ipsec auto refresh on pp1# save isdn local address ip lan1 address ip route ipsec ike pre-shared-key ipsec ike remote address ipsec sa policy ipsec transport security class pp select pp bind isdn remote address pp enable ipsec auto refresh save

90 isdn remote address ip lan1 address ip route ipsec ike pre-shared-key ipsec ike remote address ipsec sa policy ipsec transport security class pp select pp bind isdn remote address pp enable ipsec auto refresh save

91

92 # line type bri1 l128 # ip lan1 address 172.16.128.17/28 # ip lan1 secondary address 192.168.0.1/24 # nat descriptor type 1 nat-masquerade # nat descriptor address outer 1 172.16.128.18-172.16.128.30 # nat descriptor address inner 1 192.168.0.1-192.168.0.254 pp1# pp bind bri1 pp1# ip pp nat descriptor 1 pp1# ip pp address 172.16.0.2/30 pp1# ip pp remote address 172.16.0.1 pp1# ip route default gateway pp 1 pp1# pp select none # ipsec ike pre-shared-key 1 text secret # ipsec ike remote address 1 any # ipsec ike remote name 1 routerb # ipsec sa policy 101 1 esp des-cbc md5-hmac # tunnel select 1 tunnel1# ip route 192.168.1.0/24 gateway tunnel 1 tunnel1# ipsec tunnel 101 tunnel1# tunnel enable 1 tunnel1# ipsec auto refresh on tunnel1# tunnel select none # save # interface reset bri1 # ip lan1 address 192.168.1.1/24 # nat descriptor type 1 masquerade # nat descriptor masquerade static 1 1 192.168.1.1 udp 500 # nat descriptor masquerade static 1 2 192.168.1.1 esp * pp1# pp bind bri1 pp1# ip pp nat descriptor 1 pp1# isdn remote address call 0312345678 pp1# pp auth accept chap pp1# pp auth myname userb passb pp1# ppp ipcp ipaddress on pp1# ip route default gateway pp 1 pp1# pp select none # ipsec ike local address 1 192.168.1.1 # ipsec ike local name 1 routerb # ipsec ike remote address 1 172.16.0.2 # ipsec ike pre-shared-key 1 text secret # ipsec sa policy 101 1 esp des-cbc md5-hmac # tunnel select 1 tunnel1# ip route 192.168.0.0/24 gateway tunnel 1 tunnel1# ipsec tunnel 101 tunnel1# tunnel enable 1 tunnel1# ipsec auto refresh on tunnel1# tunnel select none # save

93 # line type bri1 l128 # ip lan1 address 172.16.128.17/28 # ip lan1 secondary address 192.168.0.1/24 # nat descriptor type 1 nat-masquerade # nat descriptor address outer 1 172.16.128.18-172.16.128.30 # nat descriptor address inner 1 192.168.0.1-192.168.0.254 pp1# pp bind bri1 pp1# ip pp nat descriptor 1 pp1# ip pp address 172.16.0.2/30 pp1# ip pp remote address 172.16.0.1 ipsec ike remote address 172.16.128.17 pp1# ip route default gateway pp 1 pp1# pp select none # ipsec ike pre-shared-key 1 text secret # ipsec ike remote address 1 any # ipsec ike remote name 1 routerb # ipsec sa policy 101 1 esp des-cbc md5-hmac # tunnel select 1 tunnel1# ip route 192.168.1.0/24 gateway tunnel 1 tunnel1# ipsec tunnel 101 tunnel1# tunnel enable 1 tunnel1# ipsec auto refresh on tunnel1# tunnel select none # save # interface reset bri1

94 # ip lan1 address 192.168.1.1/24 # nat descriptor type 1 masquerade # nat descriptor masquerade static 1 1 192.168.1.1 udp 500 # nat descriptor masquerade static 1 2 192.168.1.1 esp * pp1# pp bind bri1 pp1# ip pp nat descriptor 1 pp1# isdn remote address call 0312345678 pp1# pp auth accept chap pp1# pp auth myname userb passb pp1# ppp ipcp ipaddress on pp1# ip route default gateway pp 1 pp1# pp select none # ipsec ike local address 1 192.168.1.1 # ipsec ike local name 1 routerb # ipsec ike remote address 1 172.16.0.2 # ipsec ike pre-shared-key 1 text secret # ipsec sa policy 101 1 esp des-cbc md5-hmac # tunnel select 1 tunnel1# ip route 192.168.0.0/24 gateway tunnel 1 tunnel1# ipsec tunnel 101 tunnel1# tunnel enable 1 tunnel1# ipsec auto refresh on tunnel1# tunnel select none # save

95

96 # ip lan1 address 192.168.0.1/24 # ip lan2 address 192.168.1.1/24 # save ip lan1 address ip lan2 address save

97 # line type bri1 l128 # ip lan1 address 10.0.0.33/28 # ip lan2 address 192.168.0.1/24 # dns server 10.0.0.34 # dns domain rtpro.yamaha.co.jp # dhcp scope 1 10.0.0.35-10.0.0.45/28 # dhcp scope 2 192.168.0.2-192.168.0.254/24 # dhcp service server pp1# pp bind bri1 pp1# ip route default gateway pp 1 pp1# nat descriptor type 1 masquerade pp1# nat descriptor address outer 1 10.0.0.46 pp1# nat descriptor address inner 1 192.168.0.1-192.168.0.254 pp1# ip pp nat descriptor 1 pp1# save pp1# interface reset bri1

98 line type ip lan1 address ip lan2 address dns server dns domain dhcp scope dhcp service pp select pp bind ip route nat descriptor type nat descriptor address outer nat descriptor address inner ip pp nat descriptor pp enable save interface reset bri1 restart

99

100 # ip lan1 address 192.168.0.1/24 # ip lan2 address 10.0.0.68/24 # ip lan2 nat descriptor 1 # nat descriptor type 1 nat # nat descriptor address outer 1 10.0.0.200-10.0.0.203 # nat descriptor address inner 1 192.168.0.1-192.168.0.254 # dhcp service server # dhcp scope 1 192.168.0.2-192.168.0.254/24 # save ip lan1 address ip lan2 address ip lan2 nat descriptor nat descriptor type

101 nat descriptor address outer nat descriptor address inner dhcp service dhcp scope save

102 # ip lan1 address 192.168.0.1/24 # ip lan2 address 10.0.0.68/24 # ip lan2 nat descriptor 1 # nat descriptor type 1 nat # nat descriptor address outer 1 10.0.0.200 # nat descriptor address inner 1 192.168.0.64 # nat descriptor static 1 1 10.0.0.200=192.168.0.64 16 # dhcp service server # dhcp scope 1 192.168.0.2-192.168.0.254/24 # save

103 ip lan1 address ip lan2 address ip lan2 nat descriptor nat descriptor type nat descriptor address outer nat descriptor address inner nat descriptor static dhcp service dhcp scope save

104 # ip lan1 address 192.168.0.1/24 # ip lan2 address 10.0.0.68/24 # ip lan2 nat descriptor 1 # nat descriptor type 1 masquerade # nat descriptor address outer 1 10.0.0.33 # dhcp service server # dhcp scope 1 192.168.0.2-192.168.0.254/24 # save ip lan1 address ip lan2 address ip lan2 nat descriptor nat descriptor type nat descriptor address outer

105 dhcp service dhcp scope save

106 # line type bri1 l128 # ip lan1 address 192.168.0.1/24 # nat descriptor type 1 nat-masquerade # nat descriptor address outer 1 10.0.0.200-10.0.0.203 # nat descriptor address inner 1 192.168.0.1-192.168.0.254 pp1# pp bind bri1 pp1# ip route default gateway pp 1 pp1# ip pp nat descriptor 1 pp1# pp select none # dhcp service server # dhcp scope 1 192.168.0.2-192.168.0.254/24 # save # interface reset bri1 line type ip lan1 address

107 nat descriptor type nat descriptor address outer nat descriptor address inner pp select ip route ip pp nat descriptor pp enable dhcp service dhcp scope save interface reset restart

108 # ip lan1 address 10.0.0.68/24 # ip lan1 secondary address 192.168.0.1/24 # ip lan1 nat descriptor 1 # nat descriptor type 1 masquerade # nat descriptor address outer 1 primary # nat descriptor address inner 1 10.0.0.68 192.168.0.2-192.168.0.254 # save ip lan1 address ip lan1 secondary address ip lan1 nat descriptor nat descriptor type nat descriptor address outer nat descriptor address inner save

109

110 # line type bri1 l128 # ospf use on # ospf area backbone # ip lan1 address 192.168.1.1/24 # ip lan1 ospf area backbone pp1# pp bind bri1 pp1# ip pp address 192.168.255.253/29 pp1# ip pp ospf area backbone pp1# ppp ipcp ipaddress on pp1# pp select none # save # interface reset bri1 # ospf configure refresh

111 # line type bri1 l128 # ospf use on # ospf area backbone # ip lan1 address 192.168.2.1/24 # ip lan1 ospf area backbone pp1# pp bind bri1 pp1# ip pp address 192.168.255.254/29 pp1# ip pp ospf area backbone pp1# ppp ipcp ipaddress on pp1# pp select none # save # interface reset bri1 # ospf configure refresh line type ospf use ospf area ip lan1 address ip lan1 ospf area lan1 pp select pp bind ip pp address ip pp ospf area ppp ipcp ipaddress pp enable save interface reset ospf configure refresh

112 # line type bri1 l128 # ospf use on # ospf area backbone # ip lan1 address 192.168.1.1/24 # ip lan1 ospf area backbone pp1# pp bind bri1 pp1# ip pp address 192.168.255.253/29 pp1# ip pp ospf area backbone pp1# ppp ipcp ipaddress on pp1# pp select none # save # interface reset bri1 # ospf configure refresh

113 # line type bri1 1128 # ospf use on # ospf area backbone # ospf area 1 # ip lan1 address 192.168.2.1/24 # ip lan1 ospf area 1 pp1# pp bind bri1 pp1# ip pp address 192.168.255.254/29 pp1# ip pp ospf area backbone pp1# ppp ipcp ipaddress on pp1# pp select none # save # interface reset bri1 # ospf configure refresh line type ospf use ospf area ip lan1 address ip lan1 ospf area pp select pp bind ip pp address ip pp ospf area ppp ipcp ipaddress pp enable save interface reset ospf configure refresh

114 # line type bri1 l128 # ospf use on # ospf area backbone # ip lan1 address 192.168.1.1/24 # ip lan1 ospf area backbone pp1# pp bind bri1 pp1# pp encapsulation fr pp1# ip pp address 192.168.255.1/24 pp1# ip pp ospf area backbone type=point-to-multipoint pp1# pp select none # save # interface reset bri1 # ospf configure refresh

115 # line type bri1 l128 # ospf use on # ospf area backbone # ip lan1 address 192.168.2.1/24 # ip lan1 ospf area backbone pp1# pp bind bri1 pp1# pp encapsulation fr pp1# ip pp address 192.168.255.2/24 pp1# ip pp ospf area backbone type=point-to-multipoint pp1# pp select none # save # interface reset bri1 # ospf configure refresh # line type bri1 l128 # ospf use on # ospf area backbone # ip lan1 address 192.168.3.1/24 # ip lan1 ospf area backbone pp1# pp bind bri1 pp1# pp encapsulation fr pp1# ip pp address 192.168.255.3/24 pp1# ip pp ospf area backbone type=point-to-multipoint pp1# pp select none # save # interface reset bri1 # ospf configure refresh

116 # line type bri1 l128 # ospf use on # ospf area backbone # ip lan1 address 192.168.4.1/24 # ip lan1 ospf area backbone pp1# pp bind bri1 pp1# pp encapsulation fr pp1# ip pp address 192.168.255.4/24 pp1# ip pp ospf area backbone type=point-to-multipoint pp1# pp select none # save # interface reset bri1 # ospf configure refresh line type ospf use ospf area ip lan1 address ip lan1 ospf area pp select pp bind pp encapsulation ip pp address ip pp ospf area pp enable save interface reset ospf configure refresh

117 # pri leased channel 1/1 1 24 # ip route default gateway pp 1 # rip use on # ospf use on # ospf area backbone # ospf import from static # ospf import from rip # ip lan1 address 192.168.1.1/24 # ip lan1 ospf area backbone passive # ip lan2 address 192.168.2.1/24 # ip lan2 ospf area backbone # ip lan2 rip send off # ip lan2 rip receive off pp1# pp bind pri1/1 pp1# ospf configure refresh pri leased channel ip route rip use ospf use ospf area ospf import from ospf import from ip lan1 address ip lan1 ospf area ip lan2 address ip lan2 ospf area ip lan2 rip send

118 ip lan2 rip receive pp select pp bind pp enable

119

120 # ipv6 lan1 address fec0:12ab:34cd:1::1/64 # ipv6 prefix 1 fec0:12ab:34cd:1::/64 # ipv6 lan1 rtadv send 1 pp1# pp bind bri1 pp1# isdn remote address call 0387654321 pp1# pp select none # ipv6 route default gateway pp 1 # save # ipv6 lan1 address fec0:12ab:34cd:2::2/64 # ipv6 prefix 1 fec0:12ab:34cd:2::/64 # ipv6 lan1 rtadv send 1 pp1# pp bind bri1 pp1# isdn remote address call 0312345678 pp1# pp select none # ipv6 route fec0:12ab:34cd:1::/64 gateway pp 1 # ipv6 route default gateway fe80::2a0:deff:fe00:1%1 # save

121 # ipv6 lan1 address fec0:12ab:34cd:1::1/64 # ipv6 prefix 1 fec0:12ab:34cd:1::/64 # ipv6 lan1 rtadv send 1 pp1# pp bind bri1 pp1# isdn remote address call 0387654321 pp1# pp select none # ipv6 route default gateway pp 1 # save # ipv6 prefix 1 fec0:12ab:34cd:2::/64 # ipv6 lan1 rtadv send 1 pp1# pp bind bri1 pp1# isdn remote address call 0312345678 pp1# pp select none # ipv6 route fec0:12ab:34cd:1::/64 gateway pp 1 # ipv6 route default gateway fe80::2a0:deff:fe00:1%1 # save

122 # line type bri1 l128 # ipv6 lan1 address fec0:12ab:34cd:1::1/64 # ipv6 prefix 1 fec0:12ab:34cd:1::/64 # ipv6 lan1 rtadv send 1 # ipv6 rip use on pp1# pp bind bri1 pp1# ipv6 pp rip connect send interval pp1# pp select none # save # interface reset bri1 # line type bri1 l128 # ipv6 lan1 address fec0:12ab:34cd:2::2/64 # ipv6 prefix 1 fec0:12ab:34cd:2::/64 # ipv6 lan1 rtadv send 1 # ipv6 rip use on pp1# pp bind bri1 pp1# ipv6 pp rip connect send interval pp1# pp select none # save # interface reset bri1

123 # line type bri1 l128 # ipv6 lan1 address fec0:12ab:34cd:1::1/64 # ipv6 prefix 1 fec0:12ab:34cd:1::/64 # ipv6 lan1 rtadv send 1 # ipv6 rip use on pp1# pp bind bri1 pp1# ipv6 pp rip connect send interval pp1# pp select none # save # interface reset bri1 restart # line type bri1 l128 # ipv6 lan1 address fec0:12ab:34cd:2::2/64 # ipv6 prefix 1 fec0:12ab:34cd:2::/64 # ipv6 lan1 rtadv send 1 # ipv6 rip use on pp1# pp bind bri1 pp1# ipv6 pp rip connect send interval pp1# pp select none # save # interface reset bri1 restart

124 # line type bri1 l128 # ipv6 lan1 address fec0:12ab:34cd:1::1/64 # ipv6 prefix 1 fec0:12ab:34cd:1::/64 # ipv6 lan1 rtadv send 1 pp1# pp bind bri1 pp1# ip pp address 192.168.128.1/24 pp1# ip pp remote address 192.168.128.2 pp1# tunnel select 1 tunnel1# tunnel encapsulation ipip tunnel1# tunnel endpoint address 192.168.128.1 192.168.0.1 tunnel1# tunnel enable 1 tunnel1# tunnel select none # ipv6 route default gateway tunnel 1 # ip route 192.168.0.0/24 gateway pp 1 # save # interface reset bri1

125 # line type bri1 l128 # ip lan1 address 192.168.0.2/24 pp1# pp bind bri1 pp1# ip pp address 192.168.128.2/24 pp1# ip pp remote address 192.168.128.1 pp1# pp select none # save # interface reset bri1 # ip lan1 address 192.168.0.1/24 # ipv6 lan2 address fec0:12ab:34cd:2::2/64 # ipv6 prefix 1 fec0:12ab:34cd:2::/64 # ipv6 lan2 rtadv send 1 # tunnel select 1 tunnel1# tunnel encapsulation ipip tunnel1# tunnel endpoint address 192.168.0.1 192.168.128.1 tunnel1# tunnel enable 1 tunnel1# tunnel select none # ipv6 route fec0:12ab:34cd:1::/64 gateway tunnel 1 # ipv6 route default gateway fe80::2a0:deff:fe00:1%2 # ip route 192.168.128.0/24 gateway 192.168.0.2 # save # line type bri1 l128 # ipv6 lan1 address fec0:12ab:34cd:1::1/64 # ipv6 prefix 1 fec0:12ab:34cd:1::/64 # ipv6 lan1 rtadv send 1 pp1# pp bind bri1 pp1# ip pp address 192.168.128.1/24 pp1# ip pp remote address 192.168.128.2 pp1# tunnel select 1 tunnel1# tunnel encapsulation ipip tunnel1# tunnel endpoint address 192.168.128.1 192.168.0.1 tunnel1# tunnel enable 1 tunnel1# tunnel select none

126 # ipv6 route default gateway tunnel 1 # ip route 192.168.0.0/24 gateway pp 1 # save # interface reset bri1 restart # line type bri1 l128 # ip lan1 address 192.168.0.2/24 pp1# pp bind bri1 pp1# ip pp address 192.168.128.2/24 pp1# ip pp remote address 192.168.128.1 pp1# pp select none # save # interface reset bri1 restart # ip lan1 address 192.168.0.1/24 # ipv6 lan2 address fec0:12ab:34cd:2::2/64 # ipv6 prefix 1 fec0:12ab:34cd:2::/64 # ipv6 lan2 rtadv send 1 # tunnel select 1 tunnel1# tunnel encapsulation ipip tunnel1# tunnel endpoint address 192.168.0.1 192.168.128.1 tunnel1# tunnel enable 1 tunnel1# tunnel select none # ipv6 route fec0:12ab:34cd:1::/64 gateway tunnel 1

127 # ipv6 route default gateway fe80::2a0:deff:fe00:1%2 # ip route 192.168.128.0/24 gateway 192.168.0.2 # save

128

129 # isdn local address bri1 0312345678 # ip lan1 address 192.168.0.1/24 # ip lan1 vrrp 1 192.168.0.1 pp1# pp bind bri1 pp1# isdn remote address call 0387654321 pp1# pp select none # ip route 192.168.1.0/24 gateway pp 1 # save # isdn local address bri1 0312345679 # ip lan1 address 192.168.0.2/24 # ip lan1 vrrp 1 192.168.0.1 pp1# pp bind bri1 pp1# isdn remote address call 0387654321 pp1# pp select none # ip route 192.168.1.0/24 gateway pp 1 # save

130 # isdn local address bri1 0387654321 # ip lan1 address 192.168.1.1/24 pp1# pp bind bri1 pp1# isdn remote address call 0312345678 0312345679 pp1# pp select none # ip route 192.168.0.0/24 gateway pp 1 # save # isdn local address bri1 0312345678 # ip lan1 address 192.168.0.1/24 # ip lan1 vrrp 1 192.168.0.1 pp1# pp bind bri1 pp1# isdn remote address call 0387654321 pp1# pp select none # ip route 192.168.1.0/24 gateway pp 1 # save # isdn local address bri1 0312345679 # ip lan1 address 192.168.0.2/24 # ip lan1 vrrp 1 192.168.0.1 pp1# pp bind bri1 pp1# isdn remote address call 0387654321 pp1# pp select none # ip route 192.168.1.0/24 gateway pp 1 # save

131 # isdn local address bri1 0387654321 # ip lan1 address 192.168.1.1/24 pp1# pp bind bri1 pp1# isdn remote address call 0312345678 0312345679 pp1# pp select none # ip route 192.168.0.0/24 gateway pp 1 # save

132 # line type bri1 l128 # ip lan1 address 192.168.0.1/24 # rip use on # ip lan1 rip send off # ip lan1 rip receive off # ip lan1 vrrp 1 192.168.0.1 # ip lan1 vrrp shutdown trigger 1 pp 1 pp1# pp bind bri1 pp1# pp keepalive use lcp-echo pp1# ip pp rip connect send interval pp1# pp select none # ip route 192.168.1.0/24 gateway pp 1 # save # interface reset bri1

133 # isdn local address bri1 0312345678 # ip lan1 address 192.168.0.2/24 # rip use on # ip lan1 rip send off # ip lan1 rip receive off # ip lan1 vrrp 1 192.168.0.1 pp1# pp bind bri1 pp1# isdn remote address call 0312348765 pp1# ip pp rip connect send interval pp1# ip pp rip hop out 2 pp1# pp select none # ip route 192.168.1.0/24 gateway pp 1 # save # line type bri1 l128 # ip lan1 address 192.168.1.1/24 # rip use on pp1# pp bind bri1 pp1# pp keepalive use lcp-echo pp1# pp select none # save # interface reset bri1 # isdn local address bri1 0312348765 # ip lan1 address 192.168.1.2/24 # rip use on pp1# pp bind bri1 pp1# isdn remote address call 0312345678 pp1# pp select none # save # line type bri1 l128 # ip lan1 address 192.168.0.1/24 # rip use on # ip lan1 rip send off # ip lan1 rip receive off # ip lan1 vrrp 1 192.168.0.1