MPLS RT Rewrite(未)


初期設定

中間報告

iosv-6#sh ip ro | b Gate
Gateway of last resort is not set

      1.0.0.0/32 is subnetted, 1 subnets
O        1.1.1.1 [110/2] via 192.168.16.1, 00:28:15, GigabitEthernet0/0
      3.0.0.0/32 is subnetted, 1 subnets
O        3.3.3.3 [110/3] via 192.168.16.1, 00:27:55, GigabitEthernet0/0
      6.0.0.0/32 is subnetted, 1 subnets
C        6.6.6.6 is directly connected, Loopback0
O     192.168.13.0/24 [110/2] via 192.168.16.1, 00:28:15, GigabitEthernet0/0
      192.168.16.0/24 is variably subnetted, 2 subnets, 2 masks
C        192.168.16.0/24 is directly connected, GigabitEthernet0/0
L        192.168.16.6/32 is directly connected, GigabitEthernet0/0

iosv-6#sh ip ro vrf A | b Gate
Gateway of last resort is not set

      7.0.0.0/32 is subnetted, 1 subnets
O        7.7.7.7 [110/2] via 192.168.67.7, 00:28:26, GigabitEthernet0/1
      192.168.67.0/24 is variably subnetted, 2 subnets, 2 masks
C        192.168.67.0/24 is directly connected, GigabitEthernet0/1
L        192.168.67.6/32 is directly connected, GigabitEthernet0/1
O     192.168.79.0/24 [110/2] via 192.168.67.7, 00:28:26, GigabitEthernet0/1

iosv-6#sh bgp vpnv4 uni all | b validation
RPKI validation codes: V valid, I invalid, N Not found

     Network          Next Hop            Metric LocPrf Weight Path
Route Distinguisher: 100:1 (default for vrf A)
 *>   7.7.7.7/32       192.168.67.7             2         32768 ?
 * i  8.8.8.8/32       192.168.23.2             0    100      0 200 ?
 * i  192.168.58.0     192.168.23.2             0    100      0 200 ?
 *>   192.168.67.0     0.0.0.0                  0         32768 ?
 *>   192.168.79.0     192.168.67.7             2         32768 ?
 * i  192.168.108.0    192.168.23.2             0    100      0 200 ?
Route Distinguisher: 200:1 (default for vrf B)
 * i  8.8.8.8/32       192.168.23.2             0    100      0 200 ?
 * i  192.168.58.0     192.168.23.2             0    100      0 200 ?
 * i  192.168.108.0    192.168.23.2             0    100      0 200 ?

BGPテーブルでは対向ASの経路を学習できているが、ルーティングテーブルにインストールされていない。

RDは一切いじっていない、かつAS100では100:1, AS200では200:1と不一致だからうまくいかないのでは?と考え、route-target以外を一致させてみる(vrf名、RD)もそれでもうまくいかない。

CCOの通りやった上でこれなので、VRF関係で知らないことがあるのでしょう。いったん飛ばす。

参考

Chapter: MPLS VPN Route Target Rewrite

この記事が気に入ったらサポートをしてみませんか?