2

when I try iscsiadm discovery:

iscsiadm -m discovery -t sendtargets -p <IP>

I get this error:

iscsiadm: cannot make connection to <IP>: No route to host

however, I can ping the IP fine.

I have added following rule in route:

ip route add <IP>/32 via 10.10.10.1 dev eth1

and i can confirm that ping pings through eth1 interface:

ping -I eth1 <IP>

but for some reason, it looks as if iscsiadm is not using my route settings ?

and traceroute works as well:

# traceroute <IP>
traceroute to <IP>, 30 hops max, 60 byte packets
 1  10.10.10.1  0.555 ms  0.776 ms  0.973 ms
 2  * * *
 3  * * *
 4  * * *
 5  * * *
 6  * * *
 7  myhost (<IP>)  0.714 ms !X  0.657 ms !X  0.674 ms !X
Martin Vegter
  • 69
  • 66
  • 195
  • 326

1 Answers1

4

Open port from target machine. Reload firewall

firewall-cmd --add-port=3260/tcp --permanent
systemctl reload firewalld
Paulo Tomé
  • 3,754
  • 6
  • 26
  • 38
user397794
  • 41
  • 2