understand routing table entry
An explanation on the USB virtual ethernet
Knowing simultaneously these three things for failing and working circumstances would be quite useful.
ifconfigto show ip address;routeto show which gateways or directly routes would be used(netstat -rnfor osx);tracerouteto show what devices are being traversed;
Add a route,
# osx
route -n add 10.0.0.0/24 10.0.0.1
# linux
route -n add -net 10.0.0.0/24 gw 10.0.0.1