I have run into a snag with a network design project I'm working on. Our internal network is 192.168.1.x. We have two gateways out of our network, #1 is .20 and #2 is .52. Normally you could pick and choose your gateway at the machine level but here in lies our problem. We have a security device inline to our two gateways. No matter what layer 2 address that device receives when it forwards the packets on it receives the layer 2 address of the gateway on its bridge. I should mention that this behavior is only relevant on protocols that the device is monitoring ( http, smtp ) So, the end result is such, no matter what gateway the individual machines are configured with for the protocols in question they all get the same gateway no matter what.
I was tasked with having different servers use either gateway #1 or gateway #2 based on our needs. Well, not so great if those servers use an "inspected" protocol.
My idea now is to route the traffic after it exits the security device based upon the layer 3 protocol in the packet. I simply don't know what to use to do that though. Or for that matter if that's even the best approach.