Question:
am having issues with my WS-C3560X-48T-L floating static route
- this must be something easy but I am not "seeing" it today... :-)
I have a few
hundred prefixes from the 10.0.0 .0/12 range in my
BGP table and I want to be able to advertise another range (192.168.1.0/27)
when any element of the 10.0.0.0/12 aggregate is present in the routing table.
Example: If 10.1.1.1/32 is present, then advertise 192.168.1.0/27. My current
problem is that the floating static doesn't kick in, even when the locally
originated aggregate is present. Looks like the floating static doesn't like
following another static route that is pointing to Null0 (which gets
dynamically originated by the aggregate). Currently the floating static only
kicks in when a prefix is present in the routing table that has zeros in all of
the last three octets, i.e. 10.0.0.0/12 , 10.0.0.0/16 , 10.0.0.0/32
Any solutions /
ideas to get around this?
!
ip route
192.168.1.0 255.255.255.224 10.0.0 .0
!
router bgp
65000
aggregate-address
10.0.0 .0 255.240.0.0
network
192.168.1.0 mask 255.255.255.224
!
CE1#sh ip route
10.0.0 .0 255.240.0.0
Routing entry
for 10.0.0 .0/12
Known via "bgp 65000", distance
200, metric 0, type locally generated
Routing Descriptor Blocks:
* directly connected, via Null0
Route metric is 0, traffic share count is
1
AS Hops 0
Answer:
Try changing
the next hop address for your static route as follow:
ip route
192.168.1.0 255.255.255.224 10.0.0 .1
没有评论:
发表评论