dear team
Currently, I built a topo (atached) and try to test Inter AS Option C
However, route can be learnt, ping it self ok, but cannot ping each other
Pls help to find out the problem
Thanks
root@PE1# show | no-more
## Last changed: 2015-06-09 03:53:37 UTC
version 12.1R1.9;
system {
host-name PE1;
root-authentication {
encrypted-password "$1$sffVvYQC$WDivU1FRhUGDOyACaHkxw0"; ## SECRET-DATA
}
syslog {
user * {
any emergency;
}
file messages {
any notice;
authorization info;
}
file interactive-commands {
interactive-commands any;
}
}
}
interfaces {
em0 {
unit 0 {
family inet {
address 172.27.0.1/30;
}
family iso;
family mpls;
}
}
em1 {
unit 0 {
family inet {
address 11.11.11.1/24;
}
}
}
lo0 {
unit 0 {
family inet {
address 1.1.1.1/32;
}
}
unit 10 {
family inet {
address 10.10.10.10/32;
}
}
}
}
routing-options {
autonomous-system 64501;
}
protocols {
rsvp {
interface all;
}
mpls {
label-switched-path pe1-to-asbr1 {
to 3.3.3.3;
}
interface em0.0;
}
bgp {
group internal {
type internal;
local-address 1.1.1.1;
family inet {
labeled-unicast {
resolve-vpn;
}
}
neighbor 3.3.3.3;
}
group EBGP {
type external;
multihop;
local-address 1.1.1.1;
family inet-vpn {
unicast;
}
neighbor 6.6.6.6 {
peer-as 64502;
}
}
}
ospf {
traffic-engineering;
area 0.0.0.0 {
interface all;
}
}
ldp {
interface em0.0;
}
}
policy-options {
policy-statement vpna-export {
then {
community set vpna-64501-community;
accept;
}
}
policy-statement vpna-import {
from community 64502-vpna-community;
then accept;
}
community 64502-vpna-community members target:64502:2222;
community vpna-64501-community members target:64501:1111;
}
routing-instances {
vpna {
instance-type vrf;
interface em1.0;
interface lo0.10;
route-distinguisher 1.1.1.1:64501;
vrf-import vpna-import;
vrf-export vpna-export;
vrf-table-label;
}
}
[edit]
root@PE1# run show route table vpna
vpna.inet.0: 5 destinations, 5 routes (5 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
10.10.10.10/32 *[Direct/0] 00:01:53
> via lo0.10
11.11.11.0/24 *[Direct/0] 00:01:53
> via em1.0
11.11.11.1/32 *[Local/0] 00:01:53
Local via em1.0
20.20.20.20/32 *[BGP/170] 00:00:40, localpref 100, from 6.6.6.6
AS path: 64502 I
> to 172.27.0.2 via em0.0, label-switched-path pe1-to-asbr1
66.66.66.0/24 *[BGP/170] 00:00:40, localpref 100, from 6.6.6.6
AS path: 64502 I
> to 172.27.0.2 via em0.0, label-switched-path pe1-to-asbr1
[edit]
root@PE1# run ping 11.11.11.1 interface em1.0
PING 11.11.11.1 (11.11.11.1): 56 data bytes
64 bytes from 11.11.11.1: icmp_seq=0 ttl=64 time=0.654 ms
^C
--- 11.11.11.1 ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.654/0.654/0.654/nan ms
[edit]
root@PE1# run ping 11.11.11.1 interface em1.0 rapid count 100
PING 11.11.11.1 (11.11.11.1): 56 data bytes
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
--- 11.11.11.1 ping statistics ---
100 packets transmitted, 100 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.044/0.152/0.803/0.133 ms
[edit]
root@PE3# show | no-more
## Last changed: 2015-06-09 03:53:09 UTC
version 12.1R1.9;
system {
host-name PE3;
root-authentication {
encrypted-password "$1$jPCP67hx$kTp7r.mC50fbzsFf/u.iD/"; ## SECRET-DATA
}
syslog {
user * {
any emergency;
}
file messages {
any notice;
authorization info;
}
file interactive-commands {
interactive-commands any;
}
}
}
interfaces {
em0 {
unit 0 {
family inet {
address 172.27.0.18/30;
}
family mpls;
}
}
em1 {
unit 0 {
family inet {
address 66.66.66.1/24;
}
}
}
lo0 {
unit 0 {
family inet {
address 6.6.6.6/32;
}
}
unit 20 {
family inet {
address 20.20.20.20/32;
}
}
}
}
routing-options {
rib-groups {
inet-inet3 {
import-rib [ inet.0 inet.3 ];
import-policy lo0-only;
}
}
autonomous-system 64502;
}
protocols {
rsvp {
interface all;
}
mpls {
label-switched-path pe3-to-asbr2 {
to 4.4.4.4;
}
interface em0.0;
}
bgp {
group internal {
type internal;
local-address 6.6.6.6;
family inet {
labeled-unicast {
resolve-vpn;
}
}
neighbor 4.4.4.4;
}
group EBGP {
type external;
multihop;
local-address 6.6.6.6;
family inet-vpn {
unicast;
}
peer-as 64501;
neighbor 1.1.1.1;
}
}
ospf {
traffic-engineering;
area 0.0.0.0 {
interface em0.0;
interface lo0.0 {
passive;
}
}
}
ldp {
interface em0.0;
}
}
policy-options {
policy-statement lo0-only {
from {
route-filter 1.1.1.1/32 exact;
}
then accept;
}
policy-statement vpna-export {
then {
community set 64502-vpna-community;
accept;
}
}
policy-statement vpna-import {
from community 64501-community;
then accept;
}
community 64501-community members target:64501:1111;
community 64502-vpna-community members target:64502:2222;
}
routing-instances {
vpna {
instance-type vrf;
interface em1.0;
interface lo0.20;
route-distinguisher 6.6.6.6:64502;
vrf-import vpna-import;
vrf-export vpna-export;
vrf-table-label;
}
}
[edit]
root@PE3# run show route table vpna
vpna.inet.0: 5 destinations, 5 routes (5 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
10.10.10.10/32 *[BGP/170] 00:00:42, localpref 100, from 1.1.1.1
AS path: 64501 I
> to 172.27.0.17 via em0.0, label-switched-path pe3-to-asbr2
11.11.11.0/24 *[BGP/170] 00:00:42, localpref 100, from 1.1.1.1
AS path: 64501 I
> to 172.27.0.17 via em0.0, label-switched-path pe3-to-asbr2
20.20.20.20/32 *[Direct/0] 00:02:33
> via lo0.20
66.66.66.0/24 *[Direct/0] 00:02:32
> via em1.0
66.66.66.1/32 *[Local/0] 00:02:32
Local via em1.0
[edit]
root@PE3# run ping 11.11.11.11 interface em1.0
PING 11.11.11.11 (11.11.11.11): 56 data bytes
^C
--- 11.11.11.11 ping statistics ---
5 packets transmitted, 0 packets received, 100% packet loss
[edit]
root@PE3# run ping 11.11.11.1 interface em1.0
PING 11.11.11.1 (11.11.11.1): 56 data bytes
^C
--- 11.11.11.1 ping statistics ---
2 packets transmitted, 0 packets received, 100% packet loss
[edit]
root@PE3# run ping 11.11.11.1 interface em1.0 rapid count 100
PING 11.11.11.1 (11.11.11.1): 56 data bytes
..................................................................^C
--- 11.11.11.1 ping statistics ---
67 packets transmitted, 0 packets received, 100% packet loss
[edit]
root@ASBR1# show | no-more
## Last changed: 2015-06-09 03:53:12 UTC
version 12.1R1.9;
system {
host-name ASBR1;
root-authentication {
encrypted-password "$1$WLndr8TF$AarKT8/YtR29TtnElXIIJ/"; ## SECRET-DATA
}
syslog {
user * {
any emergency;
}
file messages {
any notice;
authorization info;
}
file interactive-commands {
interactive-commands any;
}
}
}
interfaces {
em0 {
unit 0 {
family inet {
address 172.27.0.9/30;
}
family mpls;
}
}
em1 {
unit 0 {
family inet {
address 172.27.0.6/30;
}
family iso;
family mpls;
}
}
lo0 {
unit 0 {
family inet {
address 3.3.3.3/32;
}
}
}
}
routing-options {
autonomous-system 64501;
}
protocols {
rsvp {
interface all;
}
mpls {
interface em1.0;
interface em0.0;
}
bgp {
group internal {
type internal;
local-address 3.3.3.3;
family inet {
labeled-unicast {
resolve-vpn;
}
}
export nhs;
neighbor 1.1.1.1;
}
group EBGP {
type external;
family inet {
labeled-unicast;
}
export ospf-bgp;
peer-as 64502;
neighbor 172.27.0.10;
}
}
ospf {
traffic-engineering;
area 0.0.0.0 {
interface em1.0;
interface lo0.0 {
passive;
}
}
}
ldp {
interface em1.0;
}
}
policy-options {
policy-statement nhs {
then {
next-hop self;
}
}
policy-statement ospf-bgp {
from protocol ospf;
then accept;
}
}
[edit]
root@ASBR2# show | no-more
## Last changed: 2015-06-09 03:52:34 UTC
version 12.1R1.9;
system {
host-name ASBR2;
root-authentication {
encrypted-password "$1$ark8Mw8k$LdUZe8pN4kaBw.8uj/oT50"; ## SECRET-DATA
}
syslog {
user * {
any emergency;
}
file messages {
any notice;
authorization info;
}
file interactive-commands {
interactive-commands any;
}
}
}
interfaces {
em0 {
unit 0 {
family inet {
address 172.27.0.10/30;
}
family mpls;
}
}
em1 {
unit 0 {
family inet {
address 172.27.0.13/30;
}
family mpls;
}
}
lo0 {
unit 0 {
family inet {
address 4.4.4.4/32;
}
}
}
}
routing-options {
autonomous-system 64502;
}
protocols {
rsvp {
interface all;
}
mpls {
label-switched-path asbr2-to-pe3 {
from 4.4.4.4;
to 6.6.6.6;
}
interface em0.0;
interface em1.0;
}
bgp {
group internal {
type internal;
local-address 4.4.4.4;
family inet {
labeled-unicast {
resolve-vpn;
}
}
export nhs;
neighbor 6.6.6.6;
}
group EBGP {
type external;
family inet {
labeled-unicast;
}
export ospf-bgp;
peer-as 64501;
neighbor 172.27.0.9;
}
}
ospf {
traffic-engineering;
area 0.0.0.0 {
interface em1.0;
interface lo0.0 {
passive;
}
}
}
ldp {
interface em1.0;
}
}
policy-options {
policy-statement nhs {
then {
next-hop self;
}
}
policy-statement ospf-bgp {
from protocol ospf;
then accept;
}
}
[edit]