インライン6rdおよび6to4ソフトワイヤ
インライン6rdおよび6to4設定ガイドライン
インライン6rdおよび6to4を設定・使用する場合は、以下の点に注意してください。
1 枚のライン カードに最大 1024 個のソフトワイヤ コンセントレータを設定できます。
CEからの6番目のIPv4パケットの再構築は、このリリースの一部として追加されていません。
6番目のマルチキャストはサポートされていません。
IPv4アクセスネットワーク(CPEとボーダーリレー間)で生成されたICMPv4エラーは、ボーダーリレーでドロップされます。IPv6エラーに変換されてIPv6側に転送されることはありません。
6rd/6to4 エニーキャストとロードバランシングは、インターフェイススタイルではなく、ネクストホップスタイルのサービスインターフェイス設定を使用してのみ設定できます。
si- インターフェイス入力機能は、6 番目のトンネルに流れるパケットには実行されません。
6番目のトンネルからのトラフィックの帯域幅は、利用可能なPFE帯域幅によって制限されます。6番目のトンネルへのトラフィックの帯域幅は、内部VRFループバック帯域幅によって制限されます。
[edit chassis]階層下のSI-IFDループバック帯域幅設定は、第6ループバック帯域幅に影響を与えません。IPv4ヘッダーでカプセル化した後、パケット長がダウンリンクパケットのトンネルMTUを超える場合、パケットはv4 MTUエラーとしてドロップされます。これらのパケットのドロップでは、
ICMPv6 packet too big errorメッセージが送信者に返送されます。通常、6番目のトンネルMTUは高い値で設定されているため、パケットサイズが設定値よりも大きい場合、エグレスインターフェイス(IPv4アクセスネットワークに向けて)でフラグメント化が発生します。
インライン6rdの設定
Junos OSは、MXシリーズルーターのすべてのモジュラーポートコンセントレータ(MPC)ラインカードでインライン6rdをサポートしています。これにより、お客様は必要なトンネリング、カプセル化、カプセル化解除プロセスにMS-DPCを使用するコストを節約できます。エニーキャストは、6to4(ネクストホップサービスインターフェイスのみ)でサポートされています。ヘアピンは、6rd ドメイン間のトラフィックでもサポートされています。
Junos OSは、以下のMPCでインライン6rdをサポートしています。
-
MPC5およびMPC6—Junos OSリリース15.1R3以降でサポート。
-
MPC7、MPC8、MPC9—Junos OSリリース17.2R1以降でサポートします。
-
MPC10E-15C-MRATEおよびMPC10E-10C-MRATE—Junos OSリリース20.3R1以降でサポートします。
-
MX2K-MPC11E—Junos OSリリース20.3R1以降でサポートします。
インライン機能を実装するには、MPC上のサービスインターフェイスをマルチサービス(ms-)インターフェイスとしてではなく、インラインサービスインターフェイス(si-)として設定します。
インラインサービスの帯域幅の設定
インライン 6rd 処理に使用される MPC(モジュラー ポート コンセントレータ)でインライン サービスの帯域幅設定を提供する必要があります。
帯域幅を設定するには:
user@host# set chassis fpc mpc-number pic logical-interface-number inline-services bandwidth bandwidth
例えば:
user@host# set chassis fpc 0 pic 0 inline-services bandwidth 10g
インターフェイスの設定
第6制御とデータのsi-インターフェースを設定します。6番目のサービスはポート0で設定する必要があります。
si- インターフェイスを設定するには:
ソフトワイヤーコンセントレータとルールの設定
CEのIPv4パケット上でIPv6のカプセル化とカプセル化解除に使用されるソフトワイヤーコンセントレータとルールを定義します。
ソフトワイヤーコンセントレータを定義するには:
ソフトワイヤルールを設定するには:
-
ソフトワイヤールールを指定し、トンネリングするトラフィックの方向と、使用する6番目のソフトワイヤーコンセントレータを指定します。
user@host# set services softwire rule softwire-rule-name match-direction match-direction term rule-term-number then v6rd concentrator-name
例えば:
user@host# set services softwire rule swire01-r1 match-direction input term t1 then v6rd swire01-rd1
サービスセットの設定
第6処理用のインターフェイススタイルまたはネクストホップサービスセットを設定するには:
ルーティングインスタンスの設定
ルーティングインスタンスを設定するには:
例:6rd および 6to4 構成
6番目と6to4機能は、M Seriesルーターのマルチサービス100、400、500 PIC、およびマルチサービスDPCを搭載したMXシリーズルーターでサポートされています。MS-MPCまたはMS-MICを搭載したMXシリーズルーターは、インライン6rdおよびインライン6to4機能をサポートします。
- 例:インターフェイススタイルのサービスセット設定で6番目
- 例:ネクストホップスタイルのサービスセット設定を使用した6番目の
- 例:第 6 エニーキャスト設定
- 例:第 6 ドメイン間のヘアピン設定
- 例:6to4の設定
例:インターフェイススタイルのサービスセット設定で6番目
chassis {
fpc 0 {
pic 0 {
inline-services {
bandwidth 10g;
}
}
}
}
services {
service-set vrf-intf-service-set {
softwire-rules swire01-r1;
interface-service {
service-interface si-0/0/0.0;
}
}
softwire {
softwire-concentrator {
v6rd swire01-rd1 {
softwire-address 10.30.30.1;
ipv4-prefix 10.10.0.0/16;
v6rd-prefix 2001:db8::/32;
mtu-v4 9192;
}
}
rule swire01-r1 {
match-direction input;
term t1 {
then {
v6rd swire01-rd1;
}
}
}
}
}
interfaces {
si-0/0/0 {
unit 1 {
family inet;
family inet6;
service-domain inside;
}
unit 2 {
family inet;
family inet6;
service-domain outside;
}
}
ge-0/2/7 {
unit 0 {
family inet {
address 10.10.10.1/16;
}
}
}
ge-0/2/8 {
unit 0 {
family inet6 {
address 2001:db8:3abc::1/64;
}
}
}
}
routing-instances {
v6rd-vrf {
instance-type vrf;
interface si-0/0/0.1;
interface ge-0/2/7.0;
route-distinguisher 10.1.1.1:1;
vrf-target target:100:100;
}
}
例:ネクストホップスタイルのサービスセット設定を使用した6番目の
chassis {
fpc 0 {
pic 0 {
inline-services {
bandwidth 10g;
}
}
}
}
services {
service-set vrf-nh-service-set {
softwire-rules swire01-r1;
next-hop-service {
inside-service-interface si-0/0/0.1;
outside-service-interface si-0/0/0.2;
}
}
softwire {
softwire-concentrator {
v6rd swire01-rd1 {
softwire-address 10.30.30.1;
ipv4-prefix 10.10.0.0/16;
v6rd-prefix 2001:db8:3040::0/48;
mtu-v4 9192;
}
}
rule swire01-r1 {
match-direction input;
term t1 {
then {
v6rd swire01-rd1;
}
}
}
}
}
interfaces {
si-0/0/0 {
unit 1 {
family inet;
family inet6;
service-domain inside;
}
unit 2 {
family inet;
family inet6;
service-domain outside;
}
}
ge-0/2/7 {
unit 0 {
family inet {
address 10.10.10.1/16;
}
}
}
ge-0/2/8 {
unit 0 {
family inet6 {
address 2001:db8:3abc::1/64;
}
}
}
}
routing-instances {
v6rd-vrf {
instance-type vrf;
interface si-0/0/0.1;
interface ge-0/2/7.0;
route-distinguisher 10.1.1.1:1;
vrf-target target:100:100;
}
}
例:第 6 エニーキャスト設定
chassis {
fpc 0 {
pic 0 {
inline-services {
bandwidth 10g;
}
}
pic 2 {
inline-services {
bandwidth 1g;
}
}
}
}
services {
service-set anycast-nh-set1 {
softwire-rules swire01-r1;
next-hop-service {
inside-service-interface si-0/0/0.1;
outside-service-interface si-0/0/0.2;
}
}
service-set anycast-nh-set2 {
softwire-rules swire01-r1;
next-hop-service {
inside-service-interface si-0/2/0.1;
outside-service-interface si-0/2/0.2;
}
}
softwire {
softwire-concentrator {
v6rd swire01-rd1 {
softwire-address 10.30.30.1;
ipv4-prefix 10.10.0.0/16;
v6rd-prefix 2001:db8:3040::0/48;
mtu-v4 9192;
}
}
rule swire01-r1 {
match-direction input;
term t1 {
then {
v6rd swire01-rd1;
}
}
}
}
}
interfaces {
si-0/0/0 {
unit 0 {
family inet;
family inet6;
}
unit 1 {
family inet;
family inet6;
service-domain inside;
}
unit 2 {
family inet;
family inet6;
service-domain outside;
}
}
si-0/2/0 {
unit 0 {
family inet;
family inet6;
}
unit 1 {
family inet;
family inet6;
service-domain inside;
}
unit 2 {
family inet;
family inet6;
service-domain outside;
}
}
ge-0/2/7 {
unit 0 {
family inet {
address 10.10.10.1/16;
}
}
}
ge-0/2/8 {
unit 0 {
family inet6 {
address 2001:db8:3abc::1/64;
}
}
}
}
例:第 6 ドメイン間のヘアピン設定
この例では、インターフェイスサービスセットとネクストホップサービスセットをヘアピンドメインとして使用します。
chassis {
fpc 0 {
pic 0 {
inline-services {
bandwidth 10g;
}
}
}
}
services {
service-set hairpin-intf-service-set {
softwire-rules swire01-r1;
interface-service {
service-interface si-0/0/0.0;
}
}
service-set hairpin-nh-service-set {
softwire-rules swire01-r2;
next-hop-service {
inside-service-interface si-0/0/0.1;
outside-service-interface si-0/0/0.2;
}
}
softwire {
softwire-concentrator {
v6rd swire01-rd1 {
softwire-address 30.30.30.1;
ipv4-prefix 10.10.0.0/16;
v6rd-prefix 2001:db8:3040::0/48;
mtu-v4 9192;
}
v6rd swire01-rd2 {
softwire-address 10.60.60.1;
ipv4-prefix 10.40.40.0/24;
v6rd-prefix 2001:db8:3050::0/48;
mtu-v4 9192;
}
}
rule swire01-r1 {
match-direction input;
term t1 {
then {
v6rd swire01-rd1;
}
}
}
rule swire01-r2 {
match-direction input;
term t1 {
then {
v6rd swire01-rd2;
}
}
}
}
}
interfaces {
si-0/0/0 {
unit 0 {
family inet;
family inet6;
}
unit 1 {
family inet;
family inet6;
service-domain inside;
}
unit 2 {
family inet;
family inet6;
service-domain outside;
}
}
ge-0/2/7 {
unit 0 {
family inet {
service {
input {
service-set hairpin-intf-service-set;
}
output {
service-set hairpin-intf-service-set;
}
}
address 10.10.10.1/16;
}
}
}
ge-0/2/8 {
unit 0 {
family inet {
address 10.40.40.1/24;
}
}
}
}
例:6to4の設定
chassis {
fpc 0 {
pic 0 {
inline-services {
bandwidth 10g;
}
}
}
}
services {
service-set 6to4-intf-service-set {
softwire-rules shenick01-r1;
interface-service {
service-interface si-0/0/0.0;
}
}
interfaces {
si-0/0/0 {
unit 0 {
family inet;
family inet6;
}
unit 1 {
family inet;
family inet6;
service-domain inside;
}
unit 2 {
family inet;
family inet6;
service-domain outside;
}
}
ge-0/2/7 {
unit 0 {
family inet {
service {
input {
service-set 6to4-intf-service-set;
}
output {
service-set 6to4-intf-service-set;
}
}
address 10.10.10.1/16;
}
}
}
ge-0/2/8 {
unit 0 {
family inet6 {
address 2001:db8:3abc::1/64;
}
}
}
}