この例は、1.のRIPをOSPFに置き換えた設定例です。 また、経路集約や、受信経路に対するフィルタリングの設定を追加しています。
| +------+-------+ | ISP router | AS 8000 +------+-------+ | 172.16.0.1 | | 1.5Mbit/s 専用線 | | 172.16.0.2 +------+-------+ | RT1 | AS 64001 +------+-------+ | 192.168.0.1/16 | -------+---------- 192.168.0.0/16
# # LANの設定 # ip lan1 address 192.168.0.1/16 # # WANの設定 # line type pri1 l128 pp select 1 pp bind pri1 ip pp remote address 172.16.0.1 ip pp local address 172.16.0.2 pp enable 1 # # OSPFの設定 # ospf use on ospf router id 172.16.0.2 ip lan1 ospf area backbone pp select 1 ip pp ospf area backbone pp enable 1 # # BGPの設定 # bgp use on bgp autonomous-system 64001 bgp neighbor 1 8000 172.16.0.1 bgp router id 172.16.0.2 bgp aggregate filter 1 ospf include 192.168.0.0/16 bgp aggregate 192.168.0.0/16 filter 1 bgp import filter 1 include 192.168.0.0/16 bgp import filter 2 reject include 192.168.0.0/16 bgp import filter 3 include all bgp import 8000 aggregate filter 1 bgp import 8000 ospf filter 2 3 bgp export filter 1 include 10.0.0.0/8 bgp export 8000 filter 1