How to configure the encoders to use the IP on one interface and connecting clients to use the IP of the other interface?

How to configure the encoders to use the IP on one interface and connecting clients to use the IP of the other interface?