5 Replies Latest reply: Oct 20, 2011 9:12 AM by Mike Gannon RSS

    OSPF - distribute-lists with ACLs or Prefix-lists

    Mike Gannon

      Hi,

      OSPF_DISTRIBUTE.JPG

      I have been trying to configure ditribute-lists on an OSPF network in my GNS lab that prevent LAN routers from learning routes from other LAN routers, but they do not appear to have any affect when I apply them to the OSPF process.

      If I try to apply the distribute-list to a fast ethernet interface I get the following error

      R2(config-router)#distribute-list CORE_BLOCK out fastEthernet 0/0

      % Interface not allowed with OUT for OSPF

       

       

      NB: If you are looking at the GNS configs. I have configured area 1 as a totally stubby network, but am experimenting with distriburte-lists and route maps in area 2

       

      Config I have tried to apply on R2 from global config mode

      !
      ip access-list standard CORE_BLOCK

      ! deny 172.16.0.0 included for clarity

      deny 172.16.0.0 0.0.255.255

      permit 10.0.0.0 0.255.255.255

      deny any

      !

      router ospf 2222

      distribute-list CORE_BLOCK out f0/0

      !

      exit

      exit

      !

       

      Thanks

       

      Mike