Over ride distributed default gateway

Unanswered Question
Apr 30th, 2007
User Badges:

I have a router that is configured for OSPF and is getting it's default-gateway distributed from a neighbor router (default-information originate).


I need to allow all other routes but point this particular router to a different gateway.


I have a static route:


ip route 0.0.0.0 0.0.0.0 1.1.8.2


, but the distributed route is the one in the route table:


O*E2 0.0.0.0/0 [110/1] via 10.250.70.2, 00:48:45, GigabitEthernet0/0


How do I over-ride the distributed route?


Does it have to be an access-list?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4.5 (3 ratings)
Loading.
mohammedmahmoud Mon, 04/30/2007 - 13:13
User Badges:
  • Green, 3000 points or more

Hi,


You can generally filter the undesired route(s), either via a route-map in the redistribute command, or via distribute-list, but i think that your static route should have done the job (as it has a lower AD than the redistributed route), are you sure that "1.1.8.2" is reachable, and please clear the routing table "clear ip route *".


HTH, please rate if it does help,

Mohammed Mahmoud.

Richard Burts Mon, 04/30/2007 - 19:55
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Wilson


I believe that Mohammed is on the right track. The locally configured static route should have administrative distance of 1 and the OSPF route clearly has administrative distance of 110 (O*E2 0.0.0.0/0 [110/1]). So there must be some issue with the locally configured static route. And reachability of the next hop address is probably the most common problem. So lets investigate the locally configured static route and see why it is not being used.


HTH


Rick

wilson_1234_2 Wed, 05/02/2007 - 06:31
User Badges:

The serial interface is up and IP address is applied.


The remote side address I can ping, but the serial interface network on my end is not showing up int the route table as "Directly connected"


This is a voice circuit and frame relay

Richard Burts Wed, 05/02/2007 - 07:00
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Wilson


If the serial interface network is not showing up as connected then that helps explain why the static route is not working. I am puzzled why the serial interface network would not show up in the routing table as connected. Perhaps you can post the relevant parts of the config and of show ip route.


HTH


Rick

wilson_1234_2 Wed, 05/02/2007 - 07:26
User Badges:

Thanks for the reply Rick,


I was on the phone with the Verizon Engineer.


I could hear him furiously clicking away on his keyboard as we spoke.


He reset his end several times and it came up.


thanks for the help

Richard Burts Wed, 05/02/2007 - 18:08
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Wilson


It was a strange issue. Thanks for updating us and indicating the solution.


HTH


Rick

Actions

This Discussion