
The link of subnet 172.16.10.4/30 is fixed, a backup physical link between 2651-1 and 2651-2 is proposed as backup link for area 0. As of current to prevent Area 2 from becoming discontiguous should the link of 172.16.10.4/30 is broken, GRE tunnel between 2651-1 and 2651-3 should be intact until a physical link is connected between 2651-1 and 2651-2.
Cost adjustment for GRE tunnel
2651-1#
interface Tunnel0
ip address 10.0.0.1 255.255.255.248
ip ospf cost 10
ip ospf 1 area 0
tunnel source FastEthernet0/1
tunnel destination 192.168.1.2
end
2651-3#
interface Tunnel0
ip address 10.0.0.4 255.255.255.248
ip ospf cost 10
ip ospf 1 area 0
tunnel source FastEthernet0/1
tunnel destination 192.168.1.1
end
The tunnel should not be the primary link if there’s no link breakage.
Ensure primary physical link is used
2651-2#traceroute 4.4.4.4
Type escape sequence to abort.
Tracing the route to 4.4.4.4
1 172.16.10.5 0 msec 4 msec 0 msec
2 172.16.10.2 4 msec 0 msec 4 msec
3 192.168.1.2 0 msec * 0 msec
1841-1#traceroute 4.4.4.4
Type escape sequence to abort.
Tracing the route to 4.4.4.4
1 172.16.10.2 4 msec 0 msec 4 msec
2 192.168.1.2 0 msec * 0 msec
Motivation to use GRE tunnel instead of virtual link
I can adjust ospf cost within a GRE tunnel like any other physical link, a virtual link however has no option to adjust the ospf cost hence path manipulation cannot be controlled using virtual link. A virtual link is simply established a link from discontiguous area to area 0 through transit area 1.
Disadvantages: If you have backbone MTU 1500, using GRE Tunnel we got fragmentation issue or Path MTU Black Holes.