Hi guys! Here is the problem:
In L3vpn, the routing protocol on PE and CE is OSPF and only direct interface is configured in protocol ospf.
Here is the configure on PE and CE:
PE:
ospf {
area 0.0.0.1 {
interface em1.110;
}
}
CE:
ospf {
area 0.0.0.1 {
interface em0.110;
}
}
so PE didn't learn any ospf route from CE.
when i use the command show route advertising-protocol bgp 172.16.1.7 detail on PE, the information it displayed:
BGP label allocation failure, and the route(direct route) is not advertised to it's peer.
c1.inet.0: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden)
* 192.168.11.0/24 (1 entry, 1 announced)
BGP group ibgp type Internal
Route Distinguisher: 172.16.1.1:1
BGP label allocation failure: Need a nexthop address on LAN
Nexthop: Not advertised
Flags: Nexthop Change
Localpref: 100
AS path: [65531] I
Communities: target:65531L:1
Now, i redistributed a static route to ospf in CE, PE learned a OSPF route 100.1.1.0/24 from CE
100.1.1.0/24 *[OSPF/150] 00:29:17, metric 0, tag 0
> to 192.168.11.1 via em1.110
show route advertising-protocol bgp 172.16.1.7 on PE
c1.inet.0: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden)
Prefix Nexthop MED Lclpref AS path
* 100.1.1.0/24 Self 0 100 I
* 192.168.11.0/24 Self 100 I
The route 100.1.1.0/24(OSPF route) and 192.168.11.0(direct route) is advertised to it's peer.
so Why?
Thanks!