Iam trying to ping the loopback address of the EX-4600 switch where loopback is the only interface in master routing instance and iam using rib-groups to populate the static route pointing towards my cisco router connected in the uplink. There is a static route configured on the cisco router pointing to the link in the v1-vrf. I see the static default routes and loopbacks(direct) routes on both the routing tables, but iam not able to ping the loopback from my uplink cisco router. If i put the loopback on the v1-vrf, its all working fine.
Here is the configuration on the switch.
unit 0 {
family inet {
address 10.10.59.246/32;
}
}
interface ge-0/0/0
description "Connection to uplink cisco";
vlan-tagging;
unit 0 {
vlan-id 28;
family inet {
address 10.10.59.82/30;
}
}
unit 1 {
vlan-id 29;
family inet {
address 10.10.59.242/30;
}
}
rounting-instance
v1-VRF {
instance-type virtual-router;
interface ge-0/0/0.0;
interface irb.59;
routing-options {
static {
rib-group v1-VRF_to_inet0;
route 0.0.0.0/0 {
next-hop 10.10.59.81;
bfd-liveness-detection {
minimum-interval 300;
}
}
}
}
}
routing-options
interface-routes {
rib-group inet inet0_to_v1-VRF;
}
rib-groups {
inet0_to_v1-VRF {
import-rib [ inet.0 v1-VRF.inet.0 ];
import-policy loop_address;
}
v1-VRF_to_inet0 {
import-rib [ v1-VRF.inet.0 inet.0 ];
}
}
show route table inet.0
inet.0: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
0.0.0.0/0 *[Static/5] 3d 03:27:38
> to 10.10.59.81 via ge-0/0/0.0
10.10.59.246/32 *[Direct/0] 3d 03:27:38
> via lo0.0
192.168.20.0/24 *[Direct/0] 7w4d 01:49:55
> via irb.2001
192.168.20.1/32 *[Local/0] 7w4d 01:49:56
Local via irb.2001
show route table v1-VRF.inet.0
V1-VRF.inet.0: 7 destinations, 7 routes (7 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
0.0.0.0/0 *[Static/5] 3d 03:28:56
> to 10.208.159.81 via ge-0/0/0.0
10.10.59.80/30 *[Direct/0] 7w3d 01:30:23
> via ge-0/0/0.0
10.10.59.82/32 *[Local/0] 7w4d 01:51:14
Local via ge-0/0/0.0
10.10.59.246/32 *[Direct/0] 3d 03:28:56
> via lo0.0
10.10.89.128/26 *[Direct/0] 7w4d 01:51:13
> via irb.3859
10.10.89.131/32 *[Local/0] 7w4d 01:51:14
Local via irb.3859
192.168.20.1/32 *[Local/0] 3d 03:28:56
Local via irb.2001
can anybody help me with what might be missing here. Iam pinging from 10.10.59.81 to 10.10.59.246.
↧
Ex4600 switch route import using rib-groups but still not able to ping
↧