Generic Routing Encapsulation (GRE) es un protocolo de túnel que puede encapsular una amplia variedad de protocolo de capa de red tipos de paquetes dentro de un túnel IP , creando un virtual punto de enlace a varios routers en puntos remotos a través de un Protocolo de Internet ( IP) de redes.
En las adyacencias tenemos que el protocolo principal de ruteo es OSPF e interiormente EIGRP para la comunicación del las redes que van por el túnel GRE.
OSPF
R1_GRE#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
2.2.2.2 1 EXSTART/DR 00:00:36 192.168.20.2 GigabitEthernet1/0
R2_GRE#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
3.3.3.3 1 FULL/DR 00:00:35 192.168.20.6 GigabitEthernet2/0
1.1.1.1 1 FULL/BDR 00:00:38 192.168.20.1 GigabitEthernet1/0
R3_GRE#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
2.2.2.2 1 FULL/BDR 00:00:32 192.168.20.5 GigabitEthernet0/0
EIGRP
R1_GRE#show ip eigrp neighbors
EIGRP-IPv4 Neighbors for AS(100)
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
0 192.168.0.2 Tu0 11 00:00:58 44 1434 0 3
EIGRP-IPv4 Neighbors for AS(100)
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
0 192.168.0.1 Tu0 11 00:01:27 48 1434 0 3
A continuación los fragmentos de configuración relevantes.
R1_GRE
interface Loopback0
description OSPF_ID
ip address 1.1.1.1 255.255.255.255
interface Loopback1
description LAN_1
ip address 10.10.10.10 255.255.255.0
interface Tunnel0
description TUN_GRE
ip address 192.168.0.1 255.255.255.252
ip mtu 1476
tunnel source Loopback0
tunnel destination 3.3.3.3
interface GigabitEthernet1/0
description TO_R2_GRE
ip address 192.168.20.1 255.255.255.252
negotiation auto
router eigrp 100
network 10.10.10.0 0.0.0.255
network 192.168.0.0 0.0.0.3
router ospf 1
router-id 1.1.1.1
log-adjacency-changes
network 1.1.1.1 0.0.0.0 area 0
network 192.168.20.0 0.0.0.3 area 0
-----------
R2_GRE
interface Loopback0
description OSPF_ID
ip address 2.2.2.2 255.255.255.255
interface GigabitEthernet1/0
description TO_R1_GRE
ip address 192.168.20.2 255.255.255.252
negotiation auto
interface GigabitEthernet2/0
description TO_R3_GRE
ip address 192.168.20.5 255.255.255.252
negotiation auto
router ospf 1
log-adjacency-changes
network 2.2.2.2 0.0.0.0 area 0
network 192.168.20.0 0.0.0.3 area 0
network 192.168.20.4 0.0.0.3 area 0
ip forward-protocol nd
no ip http server
no ip http secure-server
-------
R3_GRE
interface Loopback0
description SPF_ID
ip address 3.3.3.3 255.255.255.255
interface Loopback1
description LAN_3
ip address 30.30.30.30 255.255.255.0
interface Tunnel0
description TUN_GRE
ip address 192.168.0.2 255.255.255.252
ip mtu 1476
tunnel source Loopback0
tunnel destination 1.1.1.1
interface GigabitEthernet0/0
description TO_R2_GRE
ip address 192.168.20.6 255.255.255.252
duplex full
speed 1000
media-type gbic
negotiation auto
router eigrp 100
network 30.30.30.0 0.0.0.255
network 192.168.0.0 0.0.0.3
router ospf 1
router-id 3.3.3.3
log-adjacency-changes
network 3.3.3.3 0.0.0.0 area 0
network 192.168.20.4 0.0.0.3 area 0
Comentarios
Publicar un comentario