Static Route Redistribution over OSPF.

Discussion in 'Cisco' started by Dave Ward, Mar 14, 2006.

  1. Dave Ward

    Dave Ward Guest

    Hi,

    Is it possible to redistribute Classless IP range Static routes over
    OSPF?

    For example can I redistribute a static for IP range 10.135.64.0 /19
    over OSPF, or will OSPF redistribute 10.0.0.0/8 instead?

    many thanks

    Dave
     
    Dave Ward, Mar 14, 2006
    #1
    1. Advertisements

  2. Dave Ward

    ciscodagama Guest

    To redistribute static routes to subnets of classful networks use
    "redistribute static subnets" under the ospf router configuration.

    Cisco da Gama
    http://ciscostudy.blogspot.com
     
    ciscodagama, Mar 14, 2006
    #2
    1. Advertisements

  3. Dave Ward

    Dave Ward Guest

    Thanks!
     
    Dave Ward, Mar 14, 2006
    #3
  4. Another shing you should look at - now you define your OSPF areas. This
    command will redistribute the static route with subnetting information. Some
    OSPF areas (for examle, NSSA) allow you to redistribute SUMMARY address only
    (for exampe, you have 10.1.1.0/24, 10.100.0.0/16 and 10.0.0.0/8. OSPF may
    send 10.0.0.0/8 only).

    Good luck,

    Mike
     
    CiscoHeadsetAdapter.com, Mar 15, 2006
    #4
  5. Dave Ward

    Adtran-ACES Guest

    Here is an expample:
    router ospf 1
    log-adjacency-changes
    summary-address 172.16.0.0 255.255.0.0
    network 10.10.102.0 0.0.0.3 area 1
    network 10.10.104.0 0.0.0.3 area 1
    network 10.10.105.0 0.0.0.3 area 1
    network 10.10.106.0 0.0.0.3 area 1
    network 10.10.107.0 0.0.0.3 area 1
    network 10.10.108.0 0.0.0.3 area 1
    network 10.10.109.0 0.0.0.3 area 1
    network 10.10.110.0 0.0.0.3 area 1
    network 10.10.188.0 0.0.0.3 area 1
    network 10.10.0.0 0.0.255.255 area 1
    network 172.16.103.0 0.0.0.255 area 1
    network 172.16.0.0 0.0.255.255 area 1
    default-information originate always
    !
    ip classless
    ip route 0.0.0.0 0.0.0.0 172.16.103.45
    ip route 0.0.0.0 0.0.0.0 172.16.188.47 10
    ip route 10.10.0.0 255.255.0.0 Null0
    ip route 170.209.0.2 255.255.255.255 172.16.103.40
    ip route 170.209.0.3 255.255.255.255 172.16.103.40
    ip route 172.16.0.0 255.255.0.0 Null0
     
    Adtran-ACES, Mar 16, 2006
    #5
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.