[j-nsp] virtual router on mx
Antonio Sanchez-Monge
amonge at juniper.net
Wed Sep 11 05:25:00 EDT 2013
Hi Piotr,
What ping options are you using? You also need to specify the
routing-instance option. The interface option only changes the source
address, see chapter two of this PDF:
http://www.juniper.net/us/en/community/junos/training-certification/day-one
/networking-technologies-series/a-packet-walkthrough/
Thanks!
Antonio Sánchez-Monge
Juniper Networks
Want to win up to 200 Junosphere VM days?
Take the Mastering Junos Configuration Challenge!
http://juni.pr/14yzj5v
On 9/10/13 9:13 PM, "Piotr" <piotr.1234 at interia.pl> wrote:
>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
>
>
>
>
>_______________________________________________
>juniper-nsp mailing list juniper-nsp at puck.nether.net
>https://puck.nether.net/mailman/listinfo/juniper-nsp
>
>
More information about the juniper-nsp
mailing list