Consul with multiple IPs and peer exchange

Does Consul work with the scenario where the IP address in “join” is reachable only for that node, the same address won’t be reachable from another node. And this IP maybe different than what is advertised.

Say Node A advertises A.1 and has join B.1, but node C has join B.2.
B.1 and B.2 point to B, but A cannot use B.2, so there should be no exchange of peers for this setup to work.