flyingbob wrote:
By routing I meant that one machine is 192.168.1.1, the other is say, 192.168.2.1 so I would need a gateway for 192.168.1 to 192.168.2
Or can I just to it all at layer 2, with one machine 192.168.1.1 and the other 192.168.1.2?
I am happy with IPv6 but just wanting to learn and I only started on Linode about one hour ago

lakridserne already answered what matters -- it all works automagically, no extra gateway -- but private IPs would just use layer two. They're all on the same /17.
(In fact, even if you get multiple public IPv4 IPs from totally different ranges, you still only use one gateway. I'm not quite sure how
that works. Definitely magic.)
Edit: For some reason, I felt like double-checking how private IPv4 IPs work:
Code:
2014-06-04 11:43:54.357835 ARP, Request who-has 192.168.139.254 tell 192.168.131.124, length 28
2014-06-04 11:43:54.358218 ARP, Reply 192.168.139.254 is-at f2:3c:91:70:fd:08, length 46