[j-nsp] virtual router on mx
Piotr
piotr.1234 at interia.pl
Tue Sep 10 15:13:48 EDT 2013
Hello,
On my mx240 ( 11.4R5.5) i try to make virtual router with additional bgp
session to my isp. Main bgp session in main routing table goes via
ae0.74, extra session in vr blackhole should go via ae0.77. Problem is
that there is no communication with peer in this virtual router. When i
ping remote site from interface in vr blackhole i see this packets on
interface in main router.. I don't know why junos transmit packets via
main routing table ?
Appreciate the help
many thanks
Peter
below config and some output
p2p addresses:
me: 10.10.7.154/30
remote: 10.10.7.153/30
# show interfaces ae0.74
description main_interface;
vlan-id 74;
family inet {
address 10.10.7.130/30;
}
#show interfaces ae0.77
description vr-blackholing;
vlan-id 77;
family inet {
address 10.10.7.154/30;
}
# show routing-instances blackhole
instance-type virtual-router;
interface ae0.77;
routing-options {
static {
route 10.10.0.243/32 next-hop 10.10.7.153;
}
autonomous-system 138;
}
protocols {
bgp {
group blackhole {
type external;
multihop;
local-address 10.10.7.154;
import blackhole-in;
export blackhole-out;
peer-as 123;
neighbor 10.10.0.243;
}
}
}
# run show route 10.10.7.153
inet.0: 466059 destinations, 1693894 routes (466053 active, 6 holddown,
2 hidden)
10.10.0.0/16 *[BGP/170] 1w5d 12:40:05, MED 0, localpref 1141, from
10.10.0.243
AS path: 123 I
> to 10.10.7.129 via ae0.74
blackhole.inet.0: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
10.10.7.152/30 *[Direct/0] 00:47:23
> via ae0.77
More information about the juniper-nsp
mailing list