cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
749
Views
0
Helpful
2
Replies

How to learn default route from other site through omp ?

Ha Dao
Level 1
Level 1

Hi guys

My LAB is very simple, it have 2 vedge at 2 sites. 

Site 1 have a default route and some static routes for service vpn 11.

From site 2 I can see all Site 1 's static and connected routes except the default route. So what I should do to get 0/0 route ?

 

Tks

2 Replies 2

svemulap@cisco.com
Cisco Employee
Cisco Employee
Hi,

Not sure how you defined the default route.
If it is defined with a 'null 0' under service side as in

vE-20# show running-config vpn 1 ip route
vpn 1
ip route 0.0.0.0/0 null0
!
vE-20#

vE-20# show interface

IF IF IF TCP
AF ADMIN OPER TRACKER ENCAP SPEED MSS RX TX
VPN INTERFACE TYPE IP ADDRESS STATUS STATUS STATUS TYPE PORT TYPE MTU HWADDR MBPS DUPLEX ADJUST UPTIME PACKETS PACKETS
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1 loopback1 ipv4 20.1.1.1/32 Up Up NA null service 1500 00:00:00:00:00:00 1000 full 1416 18:06:36:31 0 0

On the remote side - It will learn the default

vedge_w4# sh ip ro vpn 1 0.0.0.0/0


PROTOCOL NEXTHOP NEXTHOP NEXTHOP
VPN PREFIX PROTOCOL SUB TYPE IF NAME ADDR VPN TLOC IP COLOR ENCAP STATUS
---------------------------------------------------------------------------------------------------------------------------------------------
1 0.0.0.0/0 omp - - - - 20.1.1.1 public-internet ipsec F,S

vedge_w4#

Hope it helps.

I tried 2 ways for default route in Site 1, but i can not be seen form Site 2

If I try to add ip route 0.0.0.0/0 null0 like you, it s ok, but how that default route working if we point it to null0 ?

 

#1

vpn 1

ip route 0.0.0.0/0 vpn 0

 

#2

vEdge1 learn default route via OSPF (running with other router at Site 1)