There's no in-band way to get the initiator IQN of a remote machine, until it tries to connect to your target. It's best to assign them IQN's you know about. Definitely don't give them the same IQN; that'll just give you headaches later. If you can't assign them, then:
- Just have the hosts attempt to connect to your target and get the IQN out of the target's logs when it rejects the login attempt.
- Or, if you can't ssh to them, perhaps have the hosts ssh out to drop their IP's and IQNs in a centralized place you have some control over?