cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
664
Views
5
Helpful
2
Replies

IP routing advertisement precedence

rakuten02
Level 1
Level 1

Why does ip route advertisement from GRE tunnel take precedence over physical interface? I am trying to understand the concept. Once GRE tunnel is enabled, routing will be via the tunnel instead of the physical interface.

Router B is advertising the 166.141.185.0/24 subnet to Router A.

 

When tunnel is shutdown at router B: (routing via physical interface)

RouterA#sh ip route | i 166.141.185
D 166.141.185.0/24 [90/1792000] via 106.101.103.46, 00:11:41, Vlan103

 

When tunnel is enabled at router B: (routing via tunnel)

RouterA#sh ip route | i 166.141.185
D 166.141.185.0/24 [90/1538560] via 106.101.103.50, 00:06:34, Tunnel50

 

Router A

interface Vlan103
description Link to Router B
bandwidth 2000
ip address 106.101.103.45 255.255.255.252
no ip redirects
no ip unreachables
no ip proxy-arp
delay 1000

interface GigabitEthernet0/1
description Link to Router B
switchport access vlan 103
switchport mode access

Router B

interface GigabitEthernet0/1
description Link to Router A
bandwidth 2000
ip address 106.101.103.46 255.255.255.252
no ip redirects
no ip unreachables
no ip proxy-arp
delay 1000


interface GigabitEthernet0/0
description LAN Segment
ip address 166.141.185.2 255.255.255.0
no ip redirects
no ip unreachables
no ip proxy-arp
delay 1000

router eigrp 100
distribute-list prefix lan_filter_out out Tunnel50
distribute-list prefix wan_filter_in in Tunnel50
...
ip prefix-list lan_filter_out seq 10 permit 166.141.185.0/24 le 32

1 Accepted Solution

Accepted Solutions

Hello


@rakuten02 wrote:

Why does ip route advertisement from GRE tunnel take precedence over physical interface? I am trying to understand the concept. Once GRE tunnel is enabled, routing will be via the tunnel instead of the physical interface.

Router B is advertising the 166.141.185.0/24 subnet to Router A.

 

When tunnel is shutdown at router B: (routing via physical interface)

RouterA#sh ip route | i 166.141.185
D 166.141.185.0/24 [90/1792000] via 106.101.103.46, 00:11:41, Vlan103

 

When tunnel is enabled at router B: (routing via tunnel)

RouterA#sh ip route | i 166.141.185
D 166.141.185.0/24 [90/1538560] via 106.101.103.50, 00:06:34, Tunnel50

Becasue the eigrp metric cost of the tunnel is being calculated as a better path


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

View solution in original post

2 Replies 2

Hello


@rakuten02 wrote:

Why does ip route advertisement from GRE tunnel take precedence over physical interface? I am trying to understand the concept. Once GRE tunnel is enabled, routing will be via the tunnel instead of the physical interface.

Router B is advertising the 166.141.185.0/24 subnet to Router A.

 

When tunnel is shutdown at router B: (routing via physical interface)

RouterA#sh ip route | i 166.141.185
D 166.141.185.0/24 [90/1792000] via 106.101.103.46, 00:11:41, Vlan103

 

When tunnel is enabled at router B: (routing via tunnel)

RouterA#sh ip route | i 166.141.185
D 166.141.185.0/24 [90/1538560] via 106.101.103.50, 00:06:34, Tunnel50

Becasue the eigrp metric cost of the tunnel is being calculated as a better path


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Oh thanks, didn't notice the metric value. The tunnel config has a delay of 10, so that could be the reason. Thanks!

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card