Solved

OSPF load balancing on default route

Posted on 2013-06-05
5
941 Views
Last Modified: 2014-04-07
I have three routers. Router A gets a default route from Router B and Router C. But I would like to verify if ospf load balancing is working on the default route. I been monitoring the network traffic and noticed 95% of network traffic from Router A is going through Router B.

Below are some of the show commands I did on router A

Routing entry for 0.0.0.0/0, supernet
  Known via "ospf 100", distance 110, metric 1, candidate default path
  Tag 100, type extern 2, forward metric 1
  Last update from 192.168.239.29 on Vlan798, 03:18:21 ago
  Routing Descriptor Blocks:
  * 192.168.239.29, from 192.168.239.254, 03:18:21 ago, via Vlan798
      Route metric is 1, traffic share count is 1
      Route tag 100
    192.168.239.25, from 192.168.239.253, 03:18:21 ago, via Vlan799
      Route metric is 1, traffic share count is 1
      Route tag 100


-----------------------------------------------------------------------------
Router#sh ip cef 0.0.0.0
0.0.0.0/32
  receive



-------------------------------------------------------------------------------
Router#sh ip protocol
*** IP Routing is NSF aware ***

Routing Protocol is "ospf 100"
  Outgoing update filter list for all interfaces is not set
  Incoming update filter list for all interfaces is not set
  Router ID 192.168.239.250
  It is an autonomous system boundary router
  Redistributing External Routes from,
    connected, includes subnets in redistribution
    static, includes subnets in redistribution
  Number of areas in this router is 1. 1 normal 0 stub 0 nssa
  Maximum path: 4
  Routing for Networks:
    192.168.239.24 0.0.0.3 area 0
    192.168.239.28 0.0.0.3 area 0
  Routing Information Sources:
    Gateway         Distance      Last Update
    192.168.239.251         110      03:19:07
    192.168.239.254         110      03:19:07
    192.168.239.252         110      03:19:07
    192.168.239.253         110      03:19:07
  Distance: (default is 110)



--------------------------------------------------------------------------------
Router#sh ip cef 0.0.0.0 internal
0.0.0.0/32, epoch 4, flags receive, refcount 6, per-destination sharing
  sources: Spc
  feature space:
   Broker: linked
  subblocks:
   Special source: receive
  ifnums: (none)
  path 47CB8398, path list 47CB2B50, share 1/1, type receive, for IPv4
  receive
  output chain: receive
0
Comment
Question by:ShadowColossus
  • 3
5 Comments
 
LVL 11

Expert Comment

by:naderz
ID: 39224101
Do you have the "show ip route" results?
0
 

Author Comment

by:ShadowColossus
ID: 39224185
Sorry,

The output is below is the output for show ip route 0.0.0.0.

Routing entry for 0.0.0.0/0, supernet
  Known via "ospf 100", distance 110, metric 1, candidate default path
  Tag 100, type extern 2, forward metric 1
  Last update from 192.168.239.29 on Vlan798, 03:18:21 ago
  Routing Descriptor Blocks:
  * 192.168.239.29, from 192.168.239.254, 03:18:21 ago, via Vlan798
      Route metric is 1, traffic share count is 1
      Route tag 100
    192.168.239.25, from 192.168.239.253, 03:18:21 ago, via Vlan799
      Route metric is 1, traffic share count is 1
      Route tag 100
0
 
LVL 11

Expert Comment

by:naderz
ID: 39224424
you do have both routes in the table as expected. you also have cef; which is actually handling the load-balancing on a per destination basis. so, it is possible that one destination may have many sources from inside and that could put all traffic on one route. one such destination could be e.g. Facebook.

you can experiment with fine tuning cef. let me know if you are interested.
0
 
LVL 7

Expert Comment

by:Phyo HTET AUNG
ID: 39224427
cef default load balancing is per-destination which source-destination address pair. How many source network do you have in RouterA in this case?
0
 
LVL 11

Accepted Solution

by:
naderz earned 200 total points
ID: 39226635
you can experiment with:

ip cef load-sharing algorithm include-ports source destination
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

How to set-up an On Demand, IPSec, Site to SIte, VPN from a Draytek Vigor Router to a Cyberoam UTM Appliance. A concise guide to the settings required on both devices
Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question