Connect driver to ported interface modport

This would work for this case. Now, what do I do for the case:

interface _if (input clk, rst, inout signal, inout reply);

modport master (input clk, rst, output signal, input reply);

modport slave (input clk, rst, input signal, output reply);

Is there a way to set it so that the assign drives ‘signal’ for the master and ‘reply’ for the slave.