PPP permet de configurer Frame Relay sans ip maping
Il est possible d’utiliser une interface de loopback :
- ip unnumbered Loopback
« Ip local policy route-map » peut être mis en place sur les routeurs Spoke afin d’atteindre les autres Spoke
Configuration
R1 interface Loopback0 ip address 1.1.1.1 255.0.0.0 ! interface Serial0/0 no ip address encapsulation frame-relay frame-relay interface-dlci 102 ppp Virtual-Template1 frame-relay interface-dlci 103 ppp Virtual-Template1 frame-relay interface-dlci 104 ppp Virtual-Template1 ! interface Virtual-Template1 ip unnumbered Loopback0
R2 interface Loopback0 ip address 2.2.2.2 255.0.0.0 ! interface Serial0/0 no ip address encapsulation frame-relay frame-relay interface-dlci 201 ppp Virtual-Template2 ! interface Virtual-Template2 ip unnumbered Loopback0 ! ip local policy route-map TEST ! route-map TEST permit 10 set ip next-hop 1.1.1.1 ! route-map TEST permit 20 !
Vérifications
R1# show ip route C 1.0.0.0/8 is directly connected, Loopback0 2.0.0.0/32 is subnetted, 1 subnets C 2.2.2.2 is directly connected, Virtual-Access1 3.0.0.0/32 is subnetted, 1 subnets C 3.3.3.3 is directly connected, Virtual-Access2 4.0.0.0/32 is subnetted, 1 subnets C 4.4.4.4 is directly connected, Virtual-Access3
R2#show ip route 1.0.0.0/32 is subnetted, 1 subnets C 1.1.1.1 is directly connected, Virtual-Access1 C 2.0.0.0/8 is directly connected, Loopback0
R2#ping 3.3.3.3 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 116/116/116 ms