EIGRPをframe-relay上で稼動させる




条件
・R1のlo0 と R2のLo0 をEIGRPに広報してお互いが通信できるようにしてください。


まず下記設定からスタートです。

R1
interface Serial1/0
ip add 192.168.0.1 255.255.255.0
encap frame-relay
frame-relay map ip 192.168.0.5 105 broadcast
frame-relay map ip 192.168.0.2 105 broadcast
!
interface lo0
ip add 10.10.10.10 255.255.255.255
!
router eigrp 100
net 192.168.0.0 0.0.0.255
net 10.10.10.10 0.0.0.0

R2
interface Serial1/0
ip add 192.168.0.2 255.255.255.0
encap frame-relay
frame-relay map ip 192.168.0.5 205 broadcast
frame-relay map ip 192.168.0.1 205 broadcast
!
interface lo0
ip add 20.20.20.20 255.255.255.255
!
router eigrp 100
net 192.168.0.0 0.0.0.255
net 20.20.20.20 0.0.0.0

R5
interface Serial1/0
ip add 192.168.0.5 255.255.255.0
encap frame-relay
frame-relay map ip 192.168.0.1 501 broadcast
frame-relay map ip 192.168.0.2 502 broadcast
!
interface lo0
ip add 50.50.50.50 255.255.255.255
!
router eigrp 100
net 192.168.0.0 0.0.0.255
net 50.50.50.50 0.0.0.0



上記frame-relayのハブアンドスポーク型のトポロジにてEIGRPを動かします。
確かOSPFの場合はinterface type が point-to-multipoint であれば、
特に何も考えずとも通信できたかと思いますが、EIGRPの場合はスプリットホライズン
の影響があり、R5 のs1/0で学習した情報をまたS1/0 から出さないため、
R1,R2 からもらったルーティング情報を送り返してくれません。

↓ここに情報がのってます。
http://www.n-study.com/network/2009/11/eigrp_ccnp.html
↓にもまんまの情報がのってますね。
http://www.cisco.com/cisco/web/support/JP/100/1006/1006405_eigrpfaq-j.html#twelve

R2にてルートを確認してみると、R1のLo0の情報が学べていません。


R2#sh ip route
Gateway of last resort is not set

     50.0.0.0/32 is subnetted, 1 subnets
D       50.50.50.50 [90/2297856] via 192.168.0.5, 00:16:07, Serial1/0
     20.0.0.0/32 is subnetted, 1 subnets
C       20.20.20.20 is directly connected, Loopback0
C    192.168.0.0/24 is directly connected, Serial1/0

R2#sh ip eig top
IP-EIGRP Topology Table for AS(100)/ID(20.20.20.20)

Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
       r - reply Status, s - sia Status

P 20.20.20.20/32, 1 successors, FD is 128256
        via Connected, Loopback0
P 50.50.50.50/32, 1 successors, FD is 2297856
        via 192.168.0.5 (2297856/128256), Serial1/0
P 192.168.0.0/24, 1 successors, FD is 2169856
        via Connected, Serial1/0



ということで、R5 のs1/0でスプリットホライズンを無効にしてみます。

R5
interface s1/0
no ip split-horizon eigrp 100

そうすると、↓なかんじで、ネイバーとの関係が一度リセットされます。
R5(config)#int s1/0
R5(config-if)#no ip spli
R5(config-if)#no ip split-horizon eig 100
R5(config-if)#
*Aug 18 11:24:33.979: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 192.168.0.2 (Serial1/0) is resync: split horizon changed
*Aug 18 11:24:33.983: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 192.168.0.1 (Serial1/0) is resync: split horizon changed

で、またR2で sh ip route を見てみると、


R2#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static rout
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

     50.0.0.0/32 is subnetted, 1 subnets
D       50.50.50.50 [90/2297856] via 192.168.0.5, 00:34:09, Serial1/0
     20.0.0.0/32 is subnetted, 1 subnets
C       20.20.20.20 is directly connected, Loopback0
     10.0.0.0/32 is subnetted, 1 subnets
D       10.10.10.10 [90/2809856] via 192.168.0.5, 00:01:46, Serial1/0
C    192.168.0.0/24 is directly connected, Serial1/0
R2#
R2#sh ip eig top
IP-EIGRP Topology Table for AS(100)/ID(20.20.20.20)

Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
       r - reply Status, s - sia Status

P 10.10.10.10/32, 1 successors, FD is 2809856
        via 192.168.0.5 (2809856/2297856), Serial1/0
P 20.20.20.20/32, 1 successors, FD is 128256
        via Connected, Loopback0
P 50.50.50.50/32, 1 successors, FD is 2297856
        via 192.168.0.5 (2297856/128256), Serial1/0
P 192.168.0.0/24, 1 successors, FD is 2169856
        via Connected, Serial1/0


R1のLo0まで学べていることがわかります。以上なり。


更新日:2012年8月18日