10-26-2020 07:26 AM - edited 10-26-2020 07:26 AM
Got an issue trying to point traffic to a firewall.
Default route not being advertised to ospf on a pair of Nexus 9k's using VPC
Part of config
vrf context PUBLIC
ip route 0.0.0.0/0 10.249.9.2 name PUBLIC_VRF
router ospf 11
default-information originate always
vrf PUBLIC
bfd
router-id 10.248.65.1
log-adjacency-changes detail
auto-cost reference-bandwidth 100000 Mbps
passive-interface default
interface Vlan2131
description +++PUBLIC VRF to Sonicwall+++
no shutdown
vrf member PUBLIC
no ip redirects
ip address 10.249.9.5/28
no ipv6 redirects
no ip ospf passive-interface
ip router ospf 11 area 0.0.0.0
ip proxy-arp
no ip arp gratuitous hsrp duplicate
hsrp version 2
hsrp 2131
authentication md5 key-chain *****
preempt
priority 110
ip 10.249.9.1
Solved! Go to Solution.
10-27-2020 02:11 AM
Yes, but it is configured in default vrf. You have to move it under "vrf PUBLIC".
Change your config from this:
router ospf 11 default-information originate always vrf PUBLIC bfd router-id 10.248.65.1 log-adjacency-changes detail auto-cost reference-bandwidth 100000 Mbps passive-interface default
to this:
router ospf 11 vrf PUBLIC default-information originate always bfd router-id 10.248.65.1 log-adjacency-changes detail auto-cost reference-bandwidth 100000 Mbps passive-interface default
Cheers,
Sergiu
10-27-2020 12:16 AM
You need to configure the "default-information originate" command under the VRF settings in OSPF config mode:
router ospf 11
default-information originate alwaysvrf PUBLIC default-information originate always bfd router-id 10.248.65.1 log-adjacency-changes detail auto-cost reference-bandwidth 100000 Mbps passive-interface default
Stay safe,
Sergiu
10-27-2020 01:52 AM
Sergiu.
Thanks for the reply....
But its in my config..
Here is same as above.
router ospf 11
default-information originate always
vrf PUBLIC
bfd
router-id 10.248.65.1
log-adjacency-changes detail
auto-cost reference-bandwidth 100000 Mbps
passive-interface default
10-27-2020 02:11 AM
Yes, but it is configured in default vrf. You have to move it under "vrf PUBLIC".
Change your config from this:
router ospf 11 default-information originate always vrf PUBLIC bfd router-id 10.248.65.1 log-adjacency-changes detail auto-cost reference-bandwidth 100000 Mbps passive-interface default
to this:
router ospf 11 vrf PUBLIC default-information originate always bfd router-id 10.248.65.1 log-adjacency-changes detail auto-cost reference-bandwidth 100000 Mbps passive-interface default
Cheers,
Sergiu
10-27-2020 06:22 AM
Sergiu
Thanks for the reply, this does make more sense now looking at it.
Will test this week.
Awesome Cheers
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide