The talker/listener example actually worked without any modification but your example is still very useful.
I was now looking for how to specify that only one network interface should be used. I have on LTE network and one WiFI network and want to start a ros1 bridge that only used WiFi and one that only uses LTE.
Can I choose which profile to use when starting a ros2 node?