|
Posted by on July 14, 2007, 4:17 pm
> I have the following OSPF routes in my routing table that have been
> redistributed from static:
>
> O E2 10.49.241.0/24 [110/5] via 172.22.246.79, 00:06:35,
> FastEthernet1
> [110/5] via 172.22.240.106, 00:06:35,
> FastEthernet0
>
> O E2 10.64.63.0/24 [110/5] via 172.22.246.79, 00:00:10,
> FastEthernet1
> [110/5] via 172.22.240.106, 00:00:10,
> FastEthernet0
>
> I need to make sure that network 10.49.241.0 is available via
> 172.22.246.79 and NOT available via 172.22.240.106 and that network
> 10.64.63.0 is available via 172.22.240.106 and NOT available via
> 172.22.246.79.
>
> Note that the routes described above are being picked up by a Cisco
> PIX during a network transition, so I have no control over the
> "listener", I can only see the results.
>
> What's the best approach? Route maps perhaps?
I would say use a distribution-list -
access-list 1 deny 10.49.241.0 0.0.0.255
access-list 1 permit any
!
access-list 2 deny 10.64.63.0 0.0.0.255
access-list 2 permit any
!
router ospf 100
distribution-list 1 out s0/0 (This is the interface you want to
supress the 10.49.241.0 network)
distribution-list 2 out s0/1 (This is the interface you want to
supress the 10.64.63.0 network)
|