Hi guys

I'm learning basic networking with vm on debian.
Actually I have four machine Debian1 (192.168.1.1), Debian2(192.168.1.2), Debian3(192.168.50.1), Debian4(192.168.50.2)

I can ping Debian1 and Debian2 together and it's the same for Debian3 and Debian4.
I find a way to ping Debian3 and Debian 4 with a gateway because of this tuto http://www.adminsehow.com/2011/09/ga...bnet-on-linux/.

But what I'd like to do is interconnected Debian2 and Debian4 with this range of IP 192.168.61.0/24
I suppose I have to create several gateway but I don't know how to do. Any tips will be good.