Problem-Statement:
LEF Connectivity via ADC towards Analytics/Log-Collector is not getting established since the return route from Analytics/Log-Collector was not configured towards the tvi IP assigned by the Director for LEF connectivity on the Controller.
Please be sure to add a return route on Analytics to establish the LEF connectivity
ANALYTICS/LOG-COLLECTOR:
Below we don't see a response, since there is no reverse route.
admin@van-analytics:~$ sudo tcpdump -i eth1 port 1234
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 262144 bytes
01:42:33.489763 IP 10.10.0.0.58702 > van-analytics-01.1234: Flags [S], seq 3354439400, win 65535, options [mss 1200,nop,wscale 6,sackOK,TS val 343785 ecr 0], length 0
01:42:36.689462 IP 10.10.0.0.58702 > van-analytics-01.1234: Flags [S], seq 3354439400, win 65535, options [mss 1200,nop,wscale 6,sackOK,TS val 346984 ecr 0], length 0
01:42:39.888995 IP 10.10.0.0.58532 > van-analytics-01.1234: Flags [S], seq 3354439400, win 65535, options [mss 1200,nop,wscale 6,sackOK,TS val 350183 ecr 0], length 0
01:42:43.088265 IP 10.10.0.0.58532 > van-analytics-01.1234: Flags [S], seq 3354439400, win 65535, options [mss 1200,nop,wscale 6,sackOK,TS val 353383 ecr 0], length 0
CONTROLLER:
admin@Controller-cli> show configuration orgs org-services Versa adc lb virtual-services
VAN-VIP {
type any;
address 10.10.0.0;
port 1234;
state enabled;
default-pool VAN-Pool;
fallback-to-active disabled;
mac-track disabled;
routing-instance Versa-Control-VR;
snat-pool Analytics_SNAT;
}
admin@Controller-cli> show configuration orgs org-services Versa objects snat Analytics_SNAT
v4-address-list [ 10.10.0.0 ];
ANALYTICS:
Solution
Example: Add a route pointing to the GW on the Analytics:
admin@van-analytics:~$ sudo route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.40.0.1 0.0.0.0 UG 0 0 0 eth0
10.40.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
192.168.100.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
admin@van-analytics:~$ sudo route add -net 10.10.0.0/16 gw 192.168.100.102
Add a persistent route under /etc/network/interfaces
post-up route add -net 10.10.0.0 netmask 255.255.0.0 gw 192.168.100.102