I understand what happens, not sure how to fix it, .. as the network is choosing to use the default gateway to leave the interface rather then answering through the interface it came from, also I would assume that since it both have different network subnets that it wouldn't do what it does.
Code:
# netstat -rn -f inet
Routing tables
Internet:
Destination Gateway Flags Netif Expire
default 10.35.17.1 UGS vtnet1
10.35.15.0/24 link#1 U vtnet0
10.35.15.10 link#1 UHS lo0
10.35.17.0/24 link#2 U vtnet1
10.35.17.10 link#2 UHS lo0
127.0.0.1 link#3 UH lo0
Code:
# tcpdump -ni vtnet0
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on vtnet0, link-type EN10MB (Ethernet), capture size 262144 bytes
11:22:46.714033 IP 10.13.x.100.60328 > 10.35.15.10.443: Flags [S], seq 1086413690, win 64240, options [m
Code:
# tcpdump -ni vtnet1
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on vtnet1, link-type EN10MB (Ethernet), capture size 262144 bytes
11:23:09.258229 IP 10.35.15.10.443 > 10.13.x.100.60328: Flags [S.], seq 3731273765, ack 1086413691, win 65535, options [mss 1460,nop,wscale 6,sackOK,TS val 4015008859 ecr 1795187956], length 0

