ATMルータの設定例
ATM専用線サービスによる2拠点LAN間接続
ATM-R-1の設定(vp_shaper利用)
- interface ether ip_address=192.168.1.1/24
- interface atm_u_1 vpvc=0/32 ip_unnumbered
- interface atm_d_1 vpvc=0/32
- ip_route 192.168.2.0/24 atm_u_1 2
- vp_shaper vp=0 pcr=6
- vc_priority vpvc=0/32 group=1 priority=1 pcr=6 mcr=6 tagging=no_tagging
ATM R 2の設定(vp_shaper利用)
- interface ether ip_address=192.168.2.1/24
- interface atm_u_1 vpvc=0/33 ip_unnumbered
- interface atm_d_1 vpvc=0/33
- ip_route 192.168.1.0/24 atm_u_1 2
- vp_shaper vp=0 pcr=6
- vc_priority vpvc=0/33 group=1 priority=1 pcr=6 mcr=6 tagging=no_tagging
ATM-R-1の設定(vc_shaper利用)
- interface ether ip_address=192.168.1.1/24
- interface atm_u_1 vpvc=0/32 ip_unnumbered
- interface atm_d_1 vpvc=0/32
- ip_route 192.168.2.0/24 atm_u_1 2
- vc_shaper vpvc=0/32 pcr=6 mcr=6 tagging=no_tagging
ATM R 2の設定(vc_shaper利用)
- interface ether ip_address=192.168.2.1/24
- interface atm_u_1 vpvc=0/33 ip_unnumbered
- interface atm_d_1 vpvc=0/33
- ip_route 192.168.1.0/24 atm_u_1 2
- vc_shaper vpvc=0/33 pcr=6 mcr=6 tagging=no_tagging
同一VPに1つのVCを設定した場合はvp_shaperコマンドとvc_shaperコマンドの働きは同じです。