Re: OSPF GRE tunnel to connect areas. [7:50579]

From: Timothy Ouellette (timoue@xxxxxxxxx)
Date: Sat Aug 03 2002 - 07:45:43 GMT-3


   
it's working. Had a couple of issues.

First off, forgot to put my area 0 authentication on the tunnel. I
also had my tunnel source/destinations mixed up

Does anyone have any good notes they've taken on Tunnels?

below is the config for r2

interface Tunnel1
 ip address 192.168.1.1 255.255.255.252
 ip ospf authentication
 ip ospf authentication-key cisco
 tunnel source Ethernet0
 tunnel destination 150.1.222.5

and r5

interface Tunnel0
 ip address 192.168.1.2 255.255.255.252
 ip ospf authentication
 ip ospf authentication-key cisco
 tunnel source Ethernet0
 tunnel destination 150.1.222.2
!

r5(#on

Neighbor ID Pri State Dead Time Address
Interface
150.1.222.2 1 FULL/DROTHER 00:00:37 150.1.222.2
Ethernet0
150.1.222.6 1 FULL/DR 00:00:39 150.1.222.6
Ethernet0
150.1.111.3 1 FULL/DR 00:01:50 150.1.111.3
Serial0
150.1.222.2 1 FULL/ - 00:00:34 192.168.1.1
Tunnel0

Tim

On 3 Aug 2002 08:31:20 -0000, timoue@cogeco.ca ("Timothy Ouellette")
wrote:

>Hey team,
>
>Just playing around with OSPF and GRE tunnels and having no luck. Can
>anyone help?
>
>Router1's s1 interface is in area 12 as is router2's s0. Between R2
>and R5 is area 51
>(network 151.1.222.0/24). As you can see in order for area 12 to
>communicate with the rest
>of the ospf network it needs a virtual link beween r2 and r5. I did
>that and it worked.
>
>What i'm trying to do now is a GRE tunnel between r2 and r5. The tunnel
>is up but r1 never
>sees the routers that it did when the virtual-link was up. The tunnel
>interfaces show up
>can I ping the loopback on r5 from r2 and vice verase but r1 sees no
>ospf routes.
>
>
>R1--area12------R2--------area51------R5----------area0
> (150.1.2.2) (151.1.5.5)
>
>
>Below are the configs. Feel free to email me directly with my blunder
>if you so desire.
>
>
>r2's config
>-------------
>nterface Loopback0
> ip address 150.1.2.2 255.255.255.0
>!
>interface Tunnel1
> ip unnumbered Loopback0
> tunnel source Loopback0
> tunnel destination 150.1.5.5
>!
>interface Ethernet0
> ip address 150.1.222.2 255.255.255.0
>!
>interface Serial0
> ip address 150.1.12.2 255.255.255.0
> clockrate 64000
>!
>router ospf 1
> router-id 150.1.222.2
> log-adjacency-changes
> network 150.1.12.2 0.0.0.0 area 12
> network 150.1.222.2 0.0.0.0 area 51
>!
>ip classless
>ip route 150.1.5.5 255.255.255.255 Ethernet0
>
>
>r5's config
>----------------
>interface Loopback0
> ip address 150.1.5.5 255.255.255.0
>!
>interface Tunnel0
> ip unnumbered Loopback0
> tunnel source Loopback0
> tunnel destination 150.1.2.2
>!
>interface Ethernet0
> ip address 150.1.222.5 255.255.255.0
>!
>!
>router ospf 1
> router-id 150.1.111.5
> log-adjacency-changes
> network 150.1.111.5 0.0.0.0 area 0
> network 150.1.222.5 0.0.0.0 area 51
>!
>ip classless
>ip route 150.1.2.2 255.255.255.255 Ethernet0



This archive was generated by hypermail 2.1.4 : Sat Sep 07 2002 - 19:48:15 GMT-3