There are a few ways to accomplish a back-to-back frame-relay connection.
A quick search returns the following options:
Your configuration is closer to hybrid switching, however, you're missing a few key elements.
Frame-Relay
Either R1 or R2 will need to have frame-relay switching enabled to act as the frame-relay switch.
R1(config)#frame-relay switching
The newly designated frame switch's Serial0/0 interface needs to be changed to the frame-relay interface type dce in order to provide LMI.
R1(config)#int s0/0
R1(config-if)#frame-relay intf-type dce
Finally you don't need to include the no keepavlive
syntax when performing hybrid switching.
EIGRP
Your matching(required) static frame-relay map
statements may include the broadcast
statement in order for EIGRP to establish a neighbor adjacency.
R1(config)#int s0/0
R1(config-if)# frame-relay map ip 131.1.12.2 100 broadcast
R2(config)#int s0/0
R2(config-if)# frame-relay map ip 131.1.12.1 100 broadcast
IP: s=131.1.12.1 (local), d=224.0.0.10 (Serial0/0), len 60, sending broad/multicast
Serial0/0(o): dlci 100(0x1841), pkt type 0x800(IP), datagramsize 64
Serial0/0(o):Pkt sent on dlci 100(0x1841), pkt type 0x800(IP), datagramsize 64
Without the broadcast
statement, EIGRP messages sent to the multicast address 224.0.0.10 will fail to be encapsulated.
IP: s=131.1.12.1 (local), d=224.0.0.10 (Serial0/0), len 60, sending broad/multicast
Serial0/0: broadcast search
Serial0/0:encaps failed on broadcast for link 7(IP)
IP: s=131.1.12.1 (local), d=224.0.0.10 (Serial0/0), len 60, encapsulation failed
Unicast EIGRP
Or, instead of using the broadcast
keyword with your static frame-relay map
statements to avoid encapsulation failures, you can specify EIGRP unicast neighbors under EIGRP process 100 and your adjacency should form.
R1(config-if)#router eigrp 100
R1(config-router)#neighbor 131.1.12.2 s0/0
%DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 131.1.12.2 (Serial0/0) is down: Static peer configured
%DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 131.1.12.2 (Serial0/0) is up: new adjacency
R2(config-if)#router eigrp 100
R2(config-router)#neighbor 131.1.12.1 s0/0
%DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 131.1.12.1 (Serial0/0) is down: Static peer configured
%DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 131.1.12.1 (Serial0/0) is up: new adjacency
Best Answer
A router (layer-3 switch, included) doesn't route from one network to the same network. If you had two different networks, one on each side, of the first switch, the layer-3 switch could route from one network to the other, and the ping should succeed.