@Søren-Heide-Larsen different networks can be achieved by setting different channels / network ID.
See here for NRF24 and here for RFM69.
There is no pairing function in MySensors.
@Chester good point, but I was restarting the arduino and still couldn't get this to work correctly. Also, the missing "end" was just missed out of the paste here, it was in my code.
No problem, I am running the nrf24 mqtt gateway on the rpi and it is working with no problem with domoticz. I choose the mqtt client gateway because I wanted to tinker around MQTT, but you could go for the ethernet gateway that is easier to manage.
I compile the example sketch fine with IDE 1.5.7.
Do you have uncommented the #define SOFTSPI in RF24_config.h for some reason (eg programming your gateway)?. If so comment it back again.