I'm trying to create the following setup:
One Linux machine with two network interfaces connected to a college network (on eth0). On the other adapter (eth1) I'd like to connect a hub and create a subnet with 2 other machines. I'd like the Linux machine to forward all traffic from the subnet (eth1) to eth0, so that to the college network it appears as if all internet traffic is coming from that one machine (otherwise the network disconnects me... college policy!). It's important that I can use more than one machine for my course.
Currently I have the bridged network working, but all machines get an IP from the college network. How can I set the Linux machine up so that the second adapter has an IP of 192.168.0.1 and any machines connected to it 192.168.0.*, and all traffic is forwarded through eth1?