Below is the simple topology iam working on. The direct link between cisco router and the switch is in the separate v1-VRF. I have added loopback interface configurations in the Switch which is in the master routing instance.
Iam using rib-groups to import the default static route pointing towards router from v1-VRF to inet.0 and adding the loopback interface on both routing table. There is a static route for loopback ip on the router pointing towards the switch direct interface. Iam trying to ping the loopback from the Host which is not working but traceroute to the loopback returns fine. Any ideas what is missing here why ping/ssh is not working.
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.