カテゴリ:

前回はRIPでユニキャストを利用する例などを確認しました。今回はEIGRPでユニキャストを利用する方法を確認します。

R1とR2で直結しているF0/0でEIGRPを利用します。

R1(config)#do sh ip int b
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            12.12.12.1      YES manual up                    up
Loopback0                  17.17.1.1       YES NVRAM  up                    up

R2(config)#do sh ip int b
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            12.12.12.2      YES manual up                    up
Loopback0                  17.17.2.2       YES NVRAM  up                    up

まずR1とR2で最低限のEIGRPを設定します。

R1(config)#router eigrp 100
R1(config-router)#no auto-summary
R1(config-router)#network 12.12.12.1 0.0.0.0

実行後、設定を確認します。

R1(config-router)#do sh ip ei int
IP-EIGRP interfaces for process 100

                        Xmit Queue   Mean   Pacing Time   Multicast    Pending
Interface        Peers  Un/Reliable  SRTT   Un/Reliable   Flow Timer   Routes
Fa0/0              1        0/0        13       0/1           50           0
R1(config-router)#do sh ip ei nei
IP-EIGRP neighbors for process 100
H   Address                 Interface       Hold Uptime   SRTT   RTO  Q  Seq
                                            (sec)         (ms)       Cnt Num
0   12.12.12.2              Fa0/0             11 00:01:41   13   200  0  4

この時点でのパケットをデバグで確認すると、マルチキャスト(224.0.0.10)が利用されていることが分かります。

R2#deb ip packet detail
IP packet debugging is on (detailed)
R2#
Dec 20 06:18:42.095: IP: s=12.12.12.1 (FastEthernet0/0), d=224.0.0.10, len 60, rcvd 2, proto=88
Dec 20 06:18:44.791: IP: s=12.12.12.2 (local), d=224.0.0.10 (FastEthernet0/0), len 60, sending broad/multicast, proto=88

EIGRPでユニキャストを利用するにはneighborコマンドを利用します。

R1(config-router)#neighbor 12.12.12.2 f0/0

R2(config-router)#neighbor 12.12.12.1 f0/0

実行後、パケットを確認するとマルチキャストではなくユニキャストアドレス(12.12.12.2)が利用されていることが分かります。

Dec 20 06:20:27.563: IP: s=12.12.12.1 (FastEthernet0/0), d=12.12.12.2 (FastEthernet0/0), len 60, rcvd 3, proto=88
Dec 20 06:20:27.735: IP: s=12.12.12.2 (local), d=12.12.12.1 (FastEthernet0/0), len 60, sending, proto=88