Page 1 of 1

OSPF GRE or IPIP or EOIP instead of virtual link

Posted: Fri Apr 12, 2013 6:37 pm
by sparrow
Hi guys,
I've a trouble setting an ospf network, more precisely using virtual link which has affected by bug.
My network is shown below:
ospf.JPG
How can I do a link/tunnel to interconnect the area 2 to backbone area?
I'm trying to establish that using GRE Tunnel but without good result.
Someone have a solution for me?
If they wants an export compact of configuration please tell me

P.S:sorry for my bad english

Re: OSPF GRE or IPIP or EOIP instead virtual link

Posted: Fri Apr 12, 2013 8:16 pm
by w0lt
Send me your export. I have a similar configuration running just fine.

Re: OSPF GRE or IPIP or EOIP instead virtual link

Posted: Mon Apr 15, 2013 11:15 am
by sparrow
Send me your export. I have a similar configuration running just fine.
Hi,
Thanks for your interest!
So, here I attach the export compact for every router:

R1
/interface bridge
add name=LOOPBACK
/routing ospf instance
set [ find default=yes ] distribute-default=always-as-type-1 name=R1 redistribute-connected=as-type-1 \
    redistribute-static=as-type-1 router-id=10.10.10.10
/ip address
add address=192.168.1.100/24 interface=ether1
add address=192.168.2.1/30 interface=ether2
add address=192.168.3.1/30 interface=ether3
add address=10.10.10.10/32 interface=LOOPBACK network=10.10.10.10
/ip route
add distance=1 gateway=192.168.1.254
/routing ospf interface
add dead-interval=2s hello-interval=1s interface=ether2 network-type=broadcast retransmit-interval=1s
add cost=11 dead-interval=2s hello-interval=1s interface=ether3 network-type=broadcast priority=2 \
    retransmit-interval=1s
add dead-interval=2s hello-interval=1s interface=ether1 network-type=broadcast retransmit-interval=1s
/routing ospf network
add area=backbone network=192.168.2.0/30
add area=backbone network=192.168.3.0/30
add area=backbone network=192.168.1.0/24
/system identity
set name=R1
R2
/interface bridge
add name=LOOPBACK
/interface gre
add local-address=10.10.10.20 name=gre-tunnel1 remote-address=10.10.10.30
/routing ospf instance
set [ find default=yes ] name=R2 redistribute-connected=as-type-1 \
    redistribute-static=as-type-1 router-id=10.10.10.20
add distribute-default=always-as-type-1 name=Area1-R2 redistribute-connected=\
    as-type-1 redistribute-static=as-type-1 router-id=10.10.10.20
/routing ospf area
add area-id=0.0.0.1 instance=Area1-R2 name=Area1
/ip address
add address=192.168.4.1/24 interface=ether1
add address=192.168.2.2/30 interface=ether2
add address=192.168.3.2/30 interface=ether3
add address=10.10.10.20/32 interface=LOOPBACK network=10.10.10.20
add address=192.168.50.1/30 disabled=yes interface=gre-tunnel1
/routing ospf interface
add dead-interval=2s hello-interval=1s interface=ether2 network-type=broadcast \
    retransmit-interval=1s
add cost=11 dead-interval=2s hello-interval=1s interface=ether3 network-type=\
    broadcast priority=2 retransmit-interval=1s
add dead-interval=2s hello-interval=1s interface=ether1 network-type=broadcast \
    retransmit-interval=1s
add dead-interval=2s hello-interval=1s interface=gre-tunnel1 network-type=\
    point-to-point passive=yes retransmit-interval=1s
/routing ospf network
add area=backbone network=192.168.2.0/30
add area=backbone network=192.168.3.0/30
add area=Area1 network=192.168.4.0/24
add area=Area1 disabled=yes network=192.168.50.0/30
/system identity
set name=R2
R3
/interface bridge
add name=LOOPBACK
/interface gre
add local-address=10.10.10.30 name=gre-tunnel1 remote-address=10.10.10.20
/routing ospf area
add area-id=0.0.0.1 name=Area1
/routing ospf instance
set [ find default=yes ] name=R3 redistribute-connected=as-type-1 \
    redistribute-static=as-type-1 router-id=10.10.10.30
add distribute-default=always-as-type-1 name=R3-Area2 redistribute-connected=\
    as-type-1 redistribute-static=as-type-1 router-id=10.10.10.30
/routing ospf area
add area-id=0.0.0.2 instance=R3-Area2 name=Area2
/ip address
add address=192.168.4.2/24 interface=ether1
add address=192.168.5.1/24 interface=ether2
add address=10.10.10.30/32 interface=LOOPBACK network=10.10.10.30
add address=192.168.6.1/30 interface=ether3
add address=192.168.50.2/30 disabled=yes interface=gre-tunnel1
/routing ospf interface
add dead-interval=2s hello-interval=1s interface=ether1 network-type=broadcast \
    retransmit-interval=1s
add dead-interval=2s hello-interval=1s interface=ether3 network-type=broadcast \
    retransmit-interval=1s
add dead-interval=2s hello-interval=1s interface=gre-tunnel1 network-type=\
    point-to-point passive=yes retransmit-interval=1s
/routing ospf network
add area=Area1 network=192.168.4.0/24
add area=Area2 network=192.168.6.0/30
add area=Area1 disabled=yes network=192.168.50.0/30
/system identity
set name=R3
R4
/interface bridge
add name=LOOPBACK
/routing ospf area
add area-id=0.0.0.2 name=Area2
/routing ospf instance
set [ find default=yes ] name=R4 redistribute-connected=as-type-1 \
    redistribute-static=as-type-1 router-id=10.10.10.40
/ip address
add address=10.10.10.40/32 interface=LOOPBACK network=10.10.10.40
add address=192.168.6.2/30 interface=ether1
add address=192.168.7.1/24 interface=ether2
/routing ospf interface
add dead-interval=2s hello-interval=1s interface=ether1 network-type=broadcast \
    retransmit-interval=1s
/routing ospf network
add area=Area2 network=192.168.6.0/30
/system identity
set name=R4
As you can see I've tried to establish GRE tunnel (now disabled only on ospf) betwenn R2 and R3 (area1) but with no good result, only starting a ping on GRE interface i can reach the remote end (R4).I hope in your help.....
Thanks for your support!
Regards

Re: OSPF GRE or IPIP or EOIP instead virtual link

Posted: Tue Apr 16, 2013 9:56 am
by sparrow
Guys no one has a solution for me?

Re: OSPF GRE or IPIP or EOIP instead of virtual link

Posted: Mon Apr 22, 2013 12:10 pm
by sparrow
Guys, it's never possible that no one know a solution about this problem?
I hope in yours help
Thanks
Regards

Re: OSPF GRE or IPIP or EOIP instead of virtual link

Posted: Tue Apr 23, 2013 6:57 pm
by sparrow
Thanks Solved!!

Re: OSPF GRE or IPIP or EOIP instead of virtual link

Posted: Sat May 18, 2013 10:47 am
by darbeau
Hi,

Can you share how you solved the issue? I am running into some of the same problems.

Thank you kindly,
Dan

Re: OSPF GRE or IPIP or EOIP instead of virtual link

Posted: Wed Nov 19, 2014 7:04 pm
by sparrow
Hi,

Can you share how you solved the issue? I am running into some of the same problems.

Thank you kindly,
Dan
Here a simple guide:

http://www.routerositalia.net/forum/vie ... =36&t=1915

Re: OSPF GRE or IPIP or EOIP instead of virtual link

Posted: Sun Jan 11, 2015 10:21 am
by tania