make the client ip address configurable
use the ip from the preferd network