OSPF cost setting

Unanswered Question
Oct 22nd, 2008
User Badges:

I have a site that is sending traffic out the FW instead of the DS3 link. I think it's because OSPF thinks that the firewall has a 100mb link while the DS3 will just have 45mb. If there a way for me to adjust the cost so that the DS3 link is preferred?


Thanks in advance.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Giuseppe Larosa Wed, 10/22/2008 - 11:18
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

Hello Brent,

on the FE to the firewall use:


int f0/0

ip ospf cost 10


this should be enough with default settings FE cost is 1 and DS3 is 2.


to check the ip ospf costs

use

sh ip ospf int typex/y


Hope to help

Giuseppe



Joseph W. Doherty Wed, 10/22/2008 - 16:38
User Badges:
  • Super Bronze, 10000 points or more

You might also try defining the bandwidth, with the bandwidth statement, to either be less than 45 Mbps (e.g. 40 Mbps) or whatever the bandwidth is on the other side of the firewall (assuming it's less than 45 Mbps). An advantage of using bandwidth, if you change the default Cisco OSPF costing, bandwidth will generate the correct proportion for the base bandwidth being used.

Actions

This Discussion