Hello! Cannot understand where is the mistake? Help, please, to find !
The router juniper-router-1 does not receive bgp route from the peer juniper-router-3
juniper-router-1:
[edit]
root# run show route receive-protocol bgp 117.12.11.1
inet.0: 7 destinations, 8 routes (7 active, 0 holddown, 0 hidden)
root# show | no-more
## Last changed: 2015-04-12 20:26:51 UTC
version 12.1R1.9;
interfaces {
em0 {
unit 0 {
family inet {
address 117.12.11.2/24;
}
}
}
em1 {
unit 0 {
family inet {
address 10.255.255.4/24;
}
}
}
lo0 {
unit 0 {
family inet {
address 192.168.93.1/32;
}
}
}
}
routing-options {
static {
route 192.168.93.3/32 discard;
}
router-id 192.168.93.1;
autonomous-system 45900;
}
protocols {
bgp {
group eBGP {
type external;
local-address 192.168.93.1;
neighbor 117.12.11.1 {
multihop {
ttl 2;
}
export EXPORT-BGP;
peer-as 141;
}
}
group iBGP {
type internal;
multihop {
ttl 2;
}
local-address 192.168.93.1;
neighbor 192.168.93.3 {
peer-as 45900;
}
neighbor 192.168.93.2 {
peer-as 45900;
}
neighbor 192.168.92.1 {
peer-as 45900;
}
}
}
ospf {
area 0.0.0.0 {
interface em0.0;
interface em1.0;
interface lo0.0;
}
}
}
policy-options {
policy-statement EXPORT-BGP {
term 1 {
from protocol static;
then accept;
}
term 3 {
then reject;
}
}
}
juniper-router-3:
[edit]
root# run show route advertising-protocol bgp 192.168.93.1
inet.0: 7 destinations, 7 routes (7 active, 0 holddown, 0 hidden)
Prefix Nexthop MED Lclpref AS path
* 192.168.92.3/32 117.12.11.1 155 45900 I
root# show | no-more
## Last changed: 2015-04-12 20:11:29 UTC
version 12.1R1.9;
interfaces {
em0 {
unit 0 {
family inet {
address 117.12.11.1/24;
}
}
}
em1 {
unit 0 {
family inet {
address 128.11.11.1/24;
}
}
}
}
routing-options {
static {
route 192.168.93.1/32 next-hop 117.12.11.2;
}
autonomous-system 141;
}
protocols {
bgp {
group eBGP {
type external;
multihop {
ttl 2;
}
neighbor 192.168.93.1 {
multihop {
ttl 2;
}
export NEXT-HOP;
peer-as 45900;
}
neighbor 128.11.11.2 {
peer-as 155;
}
}
}
}
policy-options {
policy-statement NEXT-HOP {
term 1 {
then {
next-hop 117.12.11.1;
}
}
}
}