Hi guys

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

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
I suppose I have to create several gateway but I don't know how to do. Any tips will be good.