@mfalkvidd , yes I also found this in MQTT GW example, thanks.
This seems to be not working on my ENC28J60 - as I can see the the default gateway setting is not taken into account. I will test with W5100.
Edit: I confirm that these settings work properly with W5100, just tested.