I have two subnets which I am interested in connecting. I've read from beginning to the Linux Networking HOWTO, a few guides here on nixCraft, many forums posts, but have so far succeeded only in confusing myself.

Some basic network details:

Subnet A:
Network Range:
Gateway 1A:
Gateway Interfaces:
LAN Domain: tec.lan
Example Host 1A: perpetrator.tec.lan -
Example Host 2A: rapine.tec.lan -

Subnet B:
Network Range:
Gateway 1B:
Gateway Interfaces:
LAN Domain: tec.lan
Example Host 1B: ubuntu-01.tec.lan -
Example Host 2B: ubuntu-02.tec.lan -

I am trying to think of any further relevant details, but that seems to be it to me. If I forgot anything, please tell me.

Ok the question. WHAT do I type? (Explicitly!) And WHERE do I type it? In order to reach ubuntu-01.tec.lan, or ubuntu-02.tec.lan from perpetrator.tec.lan or rapine.tec.lan?

Note: I'm interested in using actuall ROUTES. I can already achieve results similair to this with either a NAT firewall, or with VPN.. but that's not what I am interested in.

Thank you very much for your reads and help in advance! This seems like it should be a simple thing, but I am having incredible difficulty with this..

From what I have found out so far, I should need something like the following:

On Gateway 1B:
route add -net netmask gw dev eth1
And on Gateway 1A:
route add -net netmask gw dev br0
Any help would be appreciated!