Any traffic destined for the local network will route exclusively to that network. As mentioned previously if you are on 192.168.1.1/24 and you send a file to 192.168.1.10, then routing occurs on the local machine. A broadcast ARP packet is sent to establish the MAC address of the machine and subsequently the port on the switch to send the packet to...the only time any routing gets done is if the machine is not on the local subnet (say for example sending a packet to 8.8.8.8), whereby the packet would then be sent to the default gateway on the network for routing.
Another thing worth adding is that SFTP and SCP are actually safe methods of transport when sending data over the internet, as both are encrypted protocols :) -- [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
