In your instance, assign class C addresses to the NICs not connected to the network: 192.168.0.x and 192.168.1.x. The NIC that is to be connected to the Internet should have an IP issued by your provider. Assure that the NICs are working properlythen issue the following commands: ipchains -F; ipchains -P input DENY; ipchains -P output DENY; ipchains -P forward DENY; ipchains -M -S 36000 0 0; echo 1 > /proc/sys/net/ipv4/ip_forward; ipchains -A foward -i eth0 -s LOCAL_NET -j MASQ. This will get routing working. If you want to use the PC only as a router please check out
www.fresco.com. To learn to setup routing and firewall protection, check out
www.linux-tools.com. Good luck.