You could simply have everything plugged into a hub.
If you want certain traffic routed, the routing table is usually set up for you when you set up the IP and netmasks on the two NICs. If your Linux host is what connects these two subnets (a gateway), then the address of your respective NIC card will need to be entered as the default gateway for other hosts. If you want your linux host to be a bridge, you will need to set up and configure a bridge device. A bridge works by looking at the MAC addresses.
It almost sounds as if you don't want to use subnetting to begin with.
The purpose of subnetting is to segregate the network. A gateway will go further and reduce traffic on the wire (important with hubs) and prevent traffic from unauthorized hosts from passing through.
There is a book titled "The Network Administration Guide", referred to as the NAG guide, available online at
www.tldp.org.
Also, the man pages for "route" "ip" and "iptables" may be helpful.