## CentreCOM AR415S 設定例集 2.9 ## 125 BGP-4:2つのISPに対するマルチホーム(ASパス長の操作による負荷分散) ## ルーターBのコンフィグ SET PRI=0 MODE=TDM TDMSLOTS=1-24 CREATE TDM GROUP=isp2 INT=pri0 SLOTS=1-24 CREATE PPP=0 OVER=TDM-isp2 ENABLE IP ADD IP INT=eth0 IP=192.168.30.2 MASK=255.255.255.0 ADD IP INT=vlan1 IP=192.168.20.1 MASK=255.255.255.0 ADD IP INT=ppp0 IP=192.168.110.1 MASK=255.255.255.0 SET IP AUTONOMOUS=65030 ADD BGP PEER=192.168.110.2 REMOTEAS=65020 ADD BGP PEER=192.168.30.1 REMOTEAS=65030 NEXTHOPSELF=YES ADD IP ASPATHLIST=1 ENTRY=1 INCLUDE="^65030*$" ADD IP ASPATHLIST=2 ENTRY=1 INCLUDE="^$" ADD IP ROUTEMAP=add_myasn ENTRY=1 MATCH ASPATH=2 ADD IP ROUTEMAP=add_myasn ENTRY=1 SET ASPATH=65030,65030,65030 ADD BGP IMPORT=STATIC SET BGP PEER=192.168.110.2 OUTPATHFILTER=1 SET BGP PEER=192.168.30.1 INROUTEMAP=add_myasn ENABLE BGP PEER=192.168.110.2 ENABLE BGP PEER=192.168.30.1