I would like to know how to redistribute /20 network subnetted and internally advertised by OSPF to BGP ?
I have tried to make a configuration but encountered problems in configuration. In fact, BGP works well and I can see more than 150000 routes injected externally.
I can also see a default gateway propagated by BGP but it seems that BGP cann't "see" the internal OSPF network.
My configuration includes:
1) MT v2.9.9 + routing test package
2) BGP and OSPF installed on the same "edge" router (p4, 2.4Ghz, 512Mb)
3) 4 x 10M/100M/1G ethernet cards - 2 for upstreams ("peer's") and 2 for a local network
I've tried to configure a BGP section as following:
. . .
I have also added Null static route for the /20 prefix in the "ip route" section (created Null Bridge, assigned IP and defined a static route) but it seems a redistribution doesn't work.
Does anybody have a solution how to filter out injected routes from BGP - just to advertise my prefix (x.y.z.w/20) ?
Thank you .