improved the example, added check for ipv4 support on a node