<前頁 次頁> << >> ↓ 目次 (番号順 (詳細)・ 回線別 (詳細)・ 機能別 (詳細))
CentreCOM ARX640S 設定例集 5.1.5 #34
広域Ethernetで接続された2つの拠点間でトラフィックの制御を行います。この例では、ルーターとして本製品をセンター側(ルーターA)、拠点側(ルーターB)に設置するネットワーク構成を例に解説します。
WAN側物理インターフェース | gigabitEthernet 0 | gigabitEthernet 0 |
WAN側IPアドレス | 172.16.0.1/24 | 172.16.0.2/24 |
LAN側(vlan1)IPアドレス | 192.168.10.1/24 | 192.168.20.1/24 |
ルーターAの設定 |
interface gigabitEthernet 0 ↓ ip address 172.16.0.1/24 ↓ no shutdown ↓
interface vlan 1 ↓ ip address 192.168.10.1/24 ↓
router rip ↓ network 172.16.0.0/24 ↓ network 192.168.10.0/24 ↓ passive-interface vlan 1 ↓
sqos enable ↓
access-list ip extended acl1 ↓ permit ip host 192.168.10.254 192.168.20.0/24 ↓
class-map class1 ↓ match ip access-group acl1 ↓
policy-map wan0-out ↓ class class1 ↓ bandwidth-percent 10 borrow ↓
interface gigabitEthernet 0 ↓ service-policy output wan0-out ↓ sqos output-bandwidth 10 mega-bps ↓
copy running-config startup-config ↓
ルーターBの設定 |
interface gigabitEthernet 0 ↓ ip address 172.16.0.2/24 ↓ no shutdown ↓
interface vlan 1 ↓ ip address 192.168.20.1/24 ↓
router rip ↓ network 172.16.0.0/24 ↓ network 192.168.20.0/24 ↓ passive-interface vlan 1 ↓
sqos enable ↓
access-list ip extended acl1 ↓ permit ip 192.168.20.0/24 host 192.168.10.254 ↓
class-map class1 ↓ match ip access-group acl1 ↓
policy-map wan0-out ↓ class class1 ↓ bandwidth-percent 10 borrow ↓
interface gigabitEthernet 0 ↓ service-policy output wan0-out ↓ sqos output-bandwidth 10 mega-bps ↓
copy running-config startup-config ↓
まとめ |
ルーターAのコンフィグ
! service password-encryption ! clock timezone JST 9 ! ! sqos enable ! class-map class1 match ip access-group acl1 ! policy-map wan0-out class class1 bandwidth-percent 10 borrow ! interface gigabitEthernet 0 ip address 172.16.0.1/24 no shutdown service-policy output wan0-out sqos output-bandwidth 10 mega-bps ! interface gigabitEthernet 1 shutdown ! interface gigabitEthernet 2 no shutdown ! interface gigabitEthernet 3 no shutdown ! interface gigabitEthernet 4 no shutdown ! interface gigabitEthernet 5 no shutdown ! interface loop 0 shutdown ! interface loop 1 shutdown ! interface vlan 1 ip address 192.168.10.1/24 no shutdown ! router rip network 172.16.0.0/24 network 192.168.10.0/24 passive-interface vlan 1 ! access-list ip extended acl1 permit ip host 192.168.10.254 192.168.20.0/24 ! ! ! ! end |
ルーターBのコンフィグ
! service password-encryption ! clock timezone JST 9 ! ! sqos enable ! class-map class1 match ip access-group acl1 ! policy-map wan0-out class class1 bandwidth-percent 10 borrow ! interface gigabitEthernet 0 ip address 172.16.0.2/24 no shutdown service-policy output wan0-out sqos output-bandwidth 10 mega-bps ! interface gigabitEthernet 1 shutdown ! interface gigabitEthernet 2 no shutdown ! interface gigabitEthernet 3 no shutdown ! interface gigabitEthernet 4 no shutdown ! interface gigabitEthernet 5 no shutdown ! interface loop 0 shutdown ! interface loop 1 shutdown ! interface vlan 1 ip address 192.168.20.1/24 no shutdown ! router rip network 172.16.0.0/24 network 192.168.20.0/24 passive-interface vlan 1 ! access-list ip extended acl1 permit ip 192.168.20.0/24 host 192.168.10.254 ! ! ! ! end |
(C) 2011-2014 アライドテレシスホールディングス株式会社
PN: 613-001568 Rev.E