In my router, RIP and OSPF work simultaneously on different interfaces. I receive default route from OSPF. Then, I need to redistribute it via RIP. How to do it correctly. My RIP config:
distribute-default: never
redistribute-static: no
redistribute-connected: yes
redistribute-ospf: yes
redistribute-bgp: no
metric-default: 1
metric-static: 1
metric-connected: 1
metric-ospf: 1
metric-bgp: 1
update-timer: 30s
timeout-timer: 3m
garbage-timer: 2m
routing-table: main
With this config, router installs in RIP table all OSPF routes except default. In OSPF table the default looks like:
0 0.0.0.0/0 ext-1 101 192.168.3.1 ipip-central1
Should I set
distribute-default=if-installed
in RIP and
distribute-default=if-installed-as-type-1
in OSPF?