NWエンジニアの勉強ブログ

NWエンジニアです。勉強した内容を気ままにまとめていきます。

BGP Confederationの確認

こんにちは!
今回は、前回構築した『BGP Confederation』を使用したNWの状態を確認していきます。
◆前回記事
shirase96476559.hatenablog.com


1.構成図と設計(再掲)
下記の通りでした。

2.BGPテーブル
まずはRT1~6のBGPテーブルを見てみます。
Pathの欄には、括弧表記がありますが、これがBGP Confederation内部では経由してきたサブASであることを意味します。

RT1#sh ip bgp
BGP table version is 9, local router ID is 1.1.1.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, 
              r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter, 
              x best-external, a additional-path, c RIB-compressed, 
              t secondary path, 
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

     Network          Next Hop            Metric LocPrf Weight Path
 *>   1.1.1.1/32       0.0.0.0                  0         32768 i
 r>i  2.2.2.2/32       2.2.2.2                  0    100      0 i
 r>i  3.3.3.3/32       3.3.3.3                  0    100      0 i
 r>i  4.4.4.4/32       2.2.2.2                  0    100      0 (456) i
 r>i  5.5.5.5/32       3.3.3.3                  0    100      0 (456) i
 r>i  6.6.6.6/32       2.2.2.2                  0    100      0 (456) i
 *>i  7.7.7.7/32       2.2.2.2                  0    100      0 ?
 *>i  8.8.8.8/32       2.2.2.2                  0    100      0 (456) ?
RT2#sh ip bgp
BGP table version is 11, local router ID is 2.2.2.2
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, 
              r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter, 
              x best-external, a additional-path, c RIB-compressed, 
              t secondary path, 
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

     Network          Next Hop            Metric LocPrf Weight Path
 r>i  1.1.1.1/32       1.1.1.1                  0    100      0 i
 *>   2.2.2.2/32       0.0.0.0                  0         32768 i
 r>i  3.3.3.3/32       3.3.3.3                  0    100      0 i
 r>   4.4.4.4/32       4.4.4.4                  0    100      0 (456) i
 r    5.5.5.5/32       4.4.4.4                  0    100      0 (456) i
 r>i                   3.3.3.3                  0    100      0 (456) i
 r>   6.6.6.6/32       4.4.4.4                  0    100      0 (456) i
 *>   7.7.7.7/32       10.1.27.7                0         32768 ?
 *>   8.8.8.8/32       4.4.4.4                  0    100      0 (456) ?
RT3#sh ip bgp
BGP table version is 9, local router ID is 3.3.3.3
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, 
              r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter, 
              x best-external, a additional-path, c RIB-compressed, 
              t secondary path, 
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

     Network          Next Hop            Metric LocPrf Weight Path
 r>i  1.1.1.1/32       1.1.1.1                  0    100      0 i
 r>i  2.2.2.2/32       2.2.2.2                  0    100      0 i
 *>   3.3.3.3/32       0.0.0.0                  0         32768 i
 r    4.4.4.4/32       5.5.5.5                  0    100      0 (456) i
 r>i                   2.2.2.2                  0    100      0 (456) i
 r>   5.5.5.5/32       5.5.5.5                  0    100      0 (456) i
 r    6.6.6.6/32       5.5.5.5                  0    100      0 (456) i
 r>i                   2.2.2.2                  0    100      0 (456) i
 *>i  7.7.7.7/32       2.2.2.2                  0    100      0 ?
 *    8.8.8.8/32       5.5.5.5                  0    100      0 (456) ?
 *>i                   2.2.2.2                  0    100      0 (456) ?
RT4#sh ip bgp
BGP table version is 13, local router ID is 4.4.4.4
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, 
              r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter, 
              x best-external, a additional-path, c RIB-compressed, 
              t secondary path, 
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

     Network          Next Hop            Metric LocPrf Weight Path
 r i  1.1.1.1/32       5.5.5.5                  0    100      0 (123) i
 r>                    2.2.2.2                  0    100      0 (123) i
 r i  2.2.2.2/32       5.5.5.5                  0    100      0 (123) i
 r>                    2.2.2.2                  0    100      0 (123) i
 r i  3.3.3.3/32       5.5.5.5                  0    100      0 (123) i
 r>                    2.2.2.2                  0    100      0 (123) i
 *>   4.4.4.4/32       0.0.0.0                  0         32768 i
 r>i  5.5.5.5/32       5.5.5.5                  0    100      0 i
 r>i  6.6.6.6/32       6.6.6.6                  0    100      0 i
 * i  7.7.7.7/32       5.5.5.5                  0    100      0 (123) ?
 *>                    2.2.2.2                  0    100      0 (123) ?
 *>i  8.8.8.8/32       6.6.6.6                  0    100      0 ?
RT5#sh ip bgp
BGP table version is 13, local router ID is 5.5.5.5
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, 
              r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter, 
              x best-external, a additional-path, c RIB-compressed, 
              t secondary path, 
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

     Network          Next Hop            Metric LocPrf Weight Path
 r i  1.1.1.1/32       4.4.4.4                  0    100      0 (123) i
 r>                    3.3.3.3                  0    100      0 (123) i
 r i  2.2.2.2/32       4.4.4.4                  0    100      0 (123) i
 r>                    3.3.3.3                  0    100      0 (123) i
 r i  3.3.3.3/32       4.4.4.4                  0    100      0 (123) i
 r>                    3.3.3.3                  0    100      0 (123) i
 r>i  4.4.4.4/32       4.4.4.4                  0    100      0 i
 *>   5.5.5.5/32       0.0.0.0                  0         32768 i
 r>i  6.6.6.6/32       6.6.6.6                  0    100      0 i
 * i  7.7.7.7/32       4.4.4.4                  0    100      0 (123) ?
 *>                    3.3.3.3                  0    100      0 (123) ?
 *>i  8.8.8.8/32       6.6.6.6                  0    100      0 ?
RT6#sh ip bgp
BGP table version is 11, local router ID is 6.6.6.6
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, 
              r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter, 
              x best-external, a additional-path, c RIB-compressed, 
              t secondary path, 
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

     Network          Next Hop            Metric LocPrf Weight Path
 r i  1.1.1.1/32       5.5.5.5                  0    100      0 (123) i
 r>i                   4.4.4.4                  0    100      0 (123) i
 r i  2.2.2.2/32       5.5.5.5                  0    100      0 (123) i
 r>i                   4.4.4.4                  0    100      0 (123) i
 r>i  3.3.3.3/32       4.4.4.4                  0    100      0 (123) i
 r i                   5.5.5.5                  0    100      0 (123) i
 r>i  4.4.4.4/32       4.4.4.4                  0    100      0 i
 r>i  5.5.5.5/32       5.5.5.5                  0    100      0 i
 *>   6.6.6.6/32       0.0.0.0                  0         32768 i
 * i  7.7.7.7/32       5.5.5.5                  0    100      0 (123) ?
 *>i                   4.4.4.4                  0    100      0 (123) ?
 *>   8.8.8.8/32       10.1.68.8                0         32768 ?

ここで一つ疑問が出てきます。
例えば、RT3の下記部分。対向サブASからの経路ですが、学習プロトコルはeBGPでしょうか?iBGPでしょうか?

 r    6.6.6.6/32       5.5.5.5                  0    100      0 (456) i
 r>i                   2.2.2.2                  0    100      0 (456) i

3.ルーティングテーブル
正解はiBGPです。(そもそもBGP Cenfederationの目的がiBGPピア数を減らすことなので当然と言われれば当然ですね)
ルーティングテーブルを見てみます。
注目すべきは、対向AS側のループバックのプロトコルを見るとOSPFとなっていることです。
見た目やコンフィグにはeBGPで学習していそうですが、OSPFがベストになっていることから、AD値から逆算して考えるとiBGPで学習したと考えることができます。(AD値:eBGP=20,OSPF=110,iBGP=200)

RT1#sh ip route | b Gate
Gateway of last resort is not set

      1.0.0.0/32 is subnetted, 1 subnets
C        1.1.1.1 is directly connected, Loopback0
      2.0.0.0/32 is subnetted, 1 subnets
O        2.2.2.2 [110/2] via 10.1.12.2, 00:33:09, GigabitEthernet0/0
      3.0.0.0/32 is subnetted, 1 subnets
O        3.3.3.3 [110/2] via 10.1.13.3, 00:32:10, GigabitEthernet0/1
      4.0.0.0/32 is subnetted, 1 subnets
O        4.4.4.4 [110/3] via 10.1.12.2, 00:30:51, GigabitEthernet0/0
      5.0.0.0/32 is subnetted, 1 subnets
O        5.5.5.5 [110/3] via 10.1.13.3, 00:30:27, GigabitEthernet0/1
      6.0.0.0/32 is subnetted, 1 subnets
O        6.6.6.6 [110/4] via 10.1.13.3, 00:29:35, GigabitEthernet0/1
                 [110/4] via 10.1.12.2, 00:29:35, GigabitEthernet0/0
      7.0.0.0/32 is subnetted, 1 subnets
B        7.7.7.7 [200/0] via 2.2.2.2, 00:18:44
      8.0.0.0/32 is subnetted, 1 subnets
B        8.8.8.8 [200/0] via 2.2.2.2, 00:16:03
      10.0.0.0/8 is variably subnetted, 10 subnets, 2 masks
C        10.1.12.0/24 is directly connected, GigabitEthernet0/0
L        10.1.12.1/32 is directly connected, GigabitEthernet0/0
C        10.1.13.0/24 is directly connected, GigabitEthernet0/1
L        10.1.13.1/32 is directly connected, GigabitEthernet0/1
O        10.1.23.0/24 [110/2] via 10.1.13.3, 00:32:00, GigabitEthernet0/1
                      [110/2] via 10.1.12.2, 00:33:09, GigabitEthernet0/0
O        10.1.24.0/24 [110/2] via 10.1.12.2, 00:33:09, GigabitEthernet0/0
O        10.1.35.0/24 [110/2] via 10.1.13.3, 00:32:10, GigabitEthernet0/1
O        10.1.45.0/24 [110/3] via 10.1.13.3, 00:30:17, GigabitEthernet0/1
                      [110/3] via 10.1.12.2, 00:30:51, GigabitEthernet0/0
O        10.1.46.0/24 [110/3] via 10.1.12.2, 00:30:51, GigabitEthernet0/0
O        10.1.56.0/24 [110/3] via 10.1.13.3, 00:30:27, GigabitEthernet0/1
RT2#sh ip route | 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 10.1.12.1, 00:34:39, GigabitEthernet0/0
      2.0.0.0/32 is subnetted, 1 subnets
C        2.2.2.2 is directly connected, Loopback0
      3.0.0.0/32 is subnetted, 1 subnets
O        3.3.3.3 [110/2] via 10.1.23.3, 00:33:34, GigabitEthernet0/1
      4.0.0.0/32 is subnetted, 1 subnets
O        4.4.4.4 [110/2] via 10.1.24.4, 00:32:35, GigabitEthernet0/2
      5.0.0.0/32 is subnetted, 1 subnets
O        5.5.5.5 [110/3] via 10.1.24.4, 00:31:51, GigabitEthernet0/2
                 [110/3] via 10.1.23.3, 00:32:01, GigabitEthernet0/1
      6.0.0.0/32 is subnetted, 1 subnets
O        6.6.6.6 [110/3] via 10.1.24.4, 00:31:09, GigabitEthernet0/2
      7.0.0.0/32 is subnetted, 1 subnets
S        7.7.7.7 [1/0] via 10.1.27.7
      8.0.0.0/32 is subnetted, 1 subnets
B        8.8.8.8 [200/0] via 4.4.4.4, 00:09:11
      10.0.0.0/8 is variably subnetted, 13 subnets, 2 masks
C        10.1.12.0/24 is directly connected, GigabitEthernet0/0
L        10.1.12.2/32 is directly connected, GigabitEthernet0/0
O        10.1.13.0/24 [110/2] via 10.1.23.3, 00:33:34, GigabitEthernet0/1
                      [110/2] via 10.1.12.1, 00:34:39, GigabitEthernet0/0
C        10.1.23.0/24 is directly connected, GigabitEthernet0/1
L        10.1.23.2/32 is directly connected, GigabitEthernet0/1
C        10.1.24.0/24 is directly connected, GigabitEthernet0/2
L        10.1.24.2/32 is directly connected, GigabitEthernet0/2
C        10.1.27.0/24 is directly connected, GigabitEthernet0/3
L        10.1.27.2/32 is directly connected, GigabitEthernet0/3
O        10.1.35.0/24 [110/2] via 10.1.23.3, 00:33:34, GigabitEthernet0/1
O        10.1.45.0/24 [110/2] via 10.1.24.4, 00:32:35, GigabitEthernet0/2
O        10.1.46.0/24 [110/2] via 10.1.24.4, 00:32:35, GigabitEthernet0/2
O        10.1.56.0/24 [110/3] via 10.1.24.4, 00:31:51, GigabitEthernet0/2
                      [110/3] via 10.1.23.3, 00:32:01, GigabitEthernet0/1
RT3#sh ip route | 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 10.1.13.1, 00:41:07, GigabitEthernet0/0
      2.0.0.0/32 is subnetted, 1 subnets
O        2.2.2.2 [110/2] via 10.1.23.2, 00:40:57, GigabitEthernet0/1
      3.0.0.0/32 is subnetted, 1 subnets
C        3.3.3.3 is directly connected, Loopback0
      4.0.0.0/32 is subnetted, 1 subnets
O        4.4.4.4 [110/3] via 10.1.35.5, 00:39:11, GigabitEthernet0/2
                 [110/3] via 10.1.23.2, 00:39:45, GigabitEthernet0/1
      5.0.0.0/32 is subnetted, 1 subnets
O        5.5.5.5 [110/2] via 10.1.35.5, 00:39:21, GigabitEthernet0/2
      6.0.0.0/32 is subnetted, 1 subnets
O        6.6.6.6 [110/3] via 10.1.35.5, 00:38:28, GigabitEthernet0/2
      7.0.0.0/32 is subnetted, 1 subnets
B        7.7.7.7 [200/0] via 2.2.2.2, 00:27:37
      8.0.0.0/32 is subnetted, 1 subnets
B        8.8.8.8 [200/0] via 2.2.2.2, 00:24:56
      10.0.0.0/8 is variably subnetted, 11 subnets, 2 masks
O        10.1.12.0/24 [110/2] via 10.1.23.2, 00:40:57, GigabitEthernet0/1
                      [110/2] via 10.1.13.1, 00:41:07, GigabitEthernet0/0
C        10.1.13.0/24 is directly connected, GigabitEthernet0/0
L        10.1.13.3/32 is directly connected, GigabitEthernet0/0
C        10.1.23.0/24 is directly connected, GigabitEthernet0/1
L        10.1.23.3/32 is directly connected, GigabitEthernet0/1
O        10.1.24.0/24 [110/2] via 10.1.23.2, 00:40:57, GigabitEthernet0/1
C        10.1.35.0/24 is directly connected, GigabitEthernet0/2
L        10.1.35.3/32 is directly connected, GigabitEthernet0/2
O        10.1.45.0/24 [110/2] via 10.1.35.5, 00:39:11, GigabitEthernet0/2
O        10.1.46.0/24 [110/3] via 10.1.35.5, 00:39:11, GigabitEthernet0/2
                      [110/3] via 10.1.23.2, 00:39:45, GigabitEthernet0/1
O        10.1.56.0/24 [110/2] via 10.1.35.5, 00:39:21, GigabitEthernet0/2
RT4#sh ip route | B b Gate
Gateway of last resort is not set

      1.0.0.0/32 is subnetted, 1 subnets
O        1.1.1.1 [110/3] via 10.1.24.2, 00:35:20, GigabitEthernet0/0
      2.0.0.0/32 is subnetted, 1 subnets
O        2.2.2.2 [110/2] via 10.1.24.2, 00:35:20, GigabitEthernet0/0
      3.0.0.0/32 is subnetted, 1 subnets
O        3.3.3.3 [110/3] via 10.1.45.5, 00:34:38, GigabitEthernet0/1
                 [110/3] via 10.1.24.2, 00:35:20, GigabitEthernet0/0
      4.0.0.0/32 is subnetted, 1 subnets
C        4.4.4.4 is directly connected, Loopback0
      5.0.0.0/32 is subnetted, 1 subnets
O        5.5.5.5 [110/2] via 10.1.45.5, 00:34:38, GigabitEthernet0/1
      6.0.0.0/32 is subnetted, 1 subnets
O        6.6.6.6 [110/2] via 10.1.46.6, 00:33:54, GigabitEthernet0/2
      7.0.0.0/32 is subnetted, 1 subnets
B        7.7.7.7 [200/0] via 2.2.2.2, 00:20:52
      8.0.0.0/32 is subnetted, 1 subnets
B        8.8.8.8 [200/0] via 6.6.6.6, 00:20:22
      10.0.0.0/8 is variably subnetted, 11 subnets, 2 masks
O        10.1.12.0/24 [110/2] via 10.1.24.2, 00:35:20, GigabitEthernet0/0
O        10.1.13.0/24 [110/3] via 10.1.45.5, 00:34:38, GigabitEthernet0/1
                      [110/3] via 10.1.24.2, 00:35:20, GigabitEthernet0/0
O        10.1.23.0/24 [110/2] via 10.1.24.2, 00:35:20, GigabitEthernet0/0
C        10.1.24.0/24 is directly connected, GigabitEthernet0/0
L        10.1.24.4/32 is directly connected, GigabitEthernet0/0
O        10.1.35.0/24 [110/2] via 10.1.45.5, 00:34:38, GigabitEthernet0/1
C        10.1.45.0/24 is directly connected, GigabitEthernet0/1
L        10.1.45.4/32 is directly connected, GigabitEthernet0/1
C        10.1.46.0/24 is directly connected, GigabitEthernet0/2
L        10.1.46.4/32 is directly connected, GigabitEthernet0/2
O        10.1.56.0/24 [110/2] via 10.1.46.6, 00:33:54, GigabitEthernet0/2
                      [110/2] via 10.1.45.5, 00:34:38, GigabitEthernet0/1
RT5#sh ip route | b Gate
Gateway of last resort is not set

      1.0.0.0/32 is subnetted, 1 subnets
O        1.1.1.1 [110/3] via 10.1.35.3, 00:37:56, GigabitEthernet0/0
      2.0.0.0/32 is subnetted, 1 subnets
O        2.2.2.2 [110/3] via 10.1.45.4, 00:37:46, GigabitEthernet0/1
                 [110/3] via 10.1.35.3, 00:37:56, GigabitEthernet0/0
      3.0.0.0/32 is subnetted, 1 subnets
O        3.3.3.3 [110/2] via 10.1.35.3, 00:37:56, GigabitEthernet0/0
      4.0.0.0/32 is subnetted, 1 subnets
O        4.4.4.4 [110/2] via 10.1.45.4, 00:37:46, GigabitEthernet0/1
      5.0.0.0/32 is subnetted, 1 subnets
C        5.5.5.5 is directly connected, Loopback0
      6.0.0.0/32 is subnetted, 1 subnets
O        6.6.6.6 [110/2] via 10.1.56.6, 00:36:59, GigabitEthernet0/2
      7.0.0.0/32 is subnetted, 1 subnets
B        7.7.7.7 [200/0] via 3.3.3.3, 00:21:39
      8.0.0.0/32 is subnetted, 1 subnets
B        8.8.8.8 [200/0] via 6.6.6.6, 00:22:57
      10.0.0.0/8 is variably subnetted, 11 subnets, 2 masks
O        10.1.12.0/24 [110/3] via 10.1.45.4, 00:37:46, GigabitEthernet0/1
                      [110/3] via 10.1.35.3, 00:37:56, GigabitEthernet0/0
O        10.1.13.0/24 [110/2] via 10.1.35.3, 00:37:56, GigabitEthernet0/0
O        10.1.23.0/24 [110/2] via 10.1.35.3, 00:37:56, GigabitEthernet0/0
O        10.1.24.0/24 [110/2] via 10.1.45.4, 00:37:46, GigabitEthernet0/1
C        10.1.35.0/24 is directly connected, GigabitEthernet0/0
L        10.1.35.5/32 is directly connected, GigabitEthernet0/0
C        10.1.45.0/24 is directly connected, GigabitEthernet0/1
L        10.1.45.5/32 is directly connected, GigabitEthernet0/1
O        10.1.46.0/24 [110/2] via 10.1.56.6, 00:36:59, GigabitEthernet0/2
                      [110/2] via 10.1.45.4, 00:37:46, GigabitEthernet0/1
C        10.1.56.0/24 is directly connected, GigabitEthernet0/2
L        10.1.56.5/32 is directly connected, GigabitEthernet0/2
RT6#sh ip route | b Gate
Gateway of last resort is not set

      1.0.0.0/32 is subnetted, 1 subnets
O        1.1.1.1 [110/4] via 10.1.56.5, 00:35:17, GigabitEthernet0/1
                 [110/4] via 10.1.46.4, 00:35:17, GigabitEthernet0/0
      2.0.0.0/32 is subnetted, 1 subnets
O        2.2.2.2 [110/3] via 10.1.46.4, 00:35:17, GigabitEthernet0/0
      3.0.0.0/32 is subnetted, 1 subnets
O        3.3.3.3 [110/3] via 10.1.56.5, 00:35:17, GigabitEthernet0/1
      4.0.0.0/32 is subnetted, 1 subnets
O        4.4.4.4 [110/2] via 10.1.46.4, 00:35:17, GigabitEthernet0/0
      5.0.0.0/32 is subnetted, 1 subnets
O        5.5.5.5 [110/2] via 10.1.56.5, 00:35:17, GigabitEthernet0/1
      6.0.0.0/32 is subnetted, 1 subnets
C        6.6.6.6 is directly connected, Loopback0
      7.0.0.0/32 is subnetted, 1 subnets
B        7.7.7.7 [200/0] via 4.4.4.4, 00:22:20
      8.0.0.0/32 is subnetted, 1 subnets
S        8.8.8.8 [1/0] via 10.1.68.8
      10.0.0.0/8 is variably subnetted, 12 subnets, 2 masks
O        10.1.12.0/24 [110/3] via 10.1.46.4, 00:35:17, GigabitEthernet0/0
O        10.1.13.0/24 [110/3] via 10.1.56.5, 00:35:17, GigabitEthernet0/1
O        10.1.23.0/24 [110/3] via 10.1.56.5, 00:35:17, GigabitEthernet0/1
                      [110/3] via 10.1.46.4, 00:35:17, GigabitEthernet0/0
O        10.1.24.0/24 [110/2] via 10.1.46.4, 00:35:17, GigabitEthernet0/0
O        10.1.35.0/24 [110/2] via 10.1.56.5, 00:35:17, GigabitEthernet0/1
O        10.1.45.0/24 [110/2] via 10.1.56.5, 00:35:17, GigabitEthernet0/1
                      [110/2] via 10.1.46.4, 00:35:17, GigabitEthernet0/0
C        10.1.46.0/24 is directly connected, GigabitEthernet0/0
L        10.1.46.6/32 is directly connected, GigabitEthernet0/0
C        10.1.56.0/24 is directly connected, GigabitEthernet0/1
L        10.1.56.6/32 is directly connected, GigabitEthernet0/1
C        10.1.68.0/24 is directly connected, GigabitEthernet0/2
L        10.1.68.6/32 is directly connected, GigabitEthernet0/2
RT7#sh ru  ip route | b Gate
Gateway of last resort is 10.1.27.2 to network 0.0.0.0

S*    0.0.0.0/0 [1/0] via 10.1.27.2
      7.0.0.0/32 is subnetted, 1 subnets
C        7.7.7.7 is directly connected, Loopback0
      10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        10.1.27.0/24 is directly connected, GigabitEthernet0/0
L        10.1.27.7/32 is directly connected, GigabitEthernet0/0
RT8#sh ip route | b Gate
Gateway of last resort is 10.1.68.6 to network 0.0.0.0

S*    0.0.0.0/0 [1/0] via 10.1.68.6
      8.0.0.0/32 is subnetted, 1 subnets
C        8.8.8.8 is directly connected, Loopback0
      10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        10.1.68.0/24 is directly connected, GigabitEthernet0/0
L        10.1.68.8/32 is directly connected, GigabitEthernet0/0

※ちなみに、RT7やRT8から他のRTにping確認する場合は、souce loopback 0をつけてください。


5.まとめ
BGP Confederation構成のNWを構築し、BGPテーブルとルーティングテーブルをピックアップしてみました。
BGP Confederationの特徴は下記の通り。

 ・ピアリング数を減らすことができる
 ・BGP Confederation内部はiBGPで学習している

さて、これで終わりとしたいですが、まだ確認すべきことがあります。
外部ASから見たときは?

次回は、このテーマで検証をしていきたいと思います。