Your second NIC needs to be on another subnet. It cannot be on the same subnet as the first NIC.
After assigning an address in another subnet , you also need to enable forwarding of the IP traffic between the two NICs.
In
rc.conf
Code:
gateway_enable='YES'
Alternative is to use the appropiate
sysctl to enable this. Finding the name of this
sysctl is left as an exercise for the reader