I'm trying to set up a modbus TCP connection on port 502 but get a RST packet immediatly. So the TCP connection handshake doesn't even succeed. This is done on a windows machine on an ESX server. The ESX server is connected to a Cisco 2960 switch and the modbus device to the same switch.
When I just use a laptop and a simple unmanaged D-Link switch the connection works.
I've completely reset the Cisco switch already but that doesn't help.
I've tried to use the command below as well as several debug commands on the Cisco switch:
ip tcp synwait-time 300
But that doesn't help. Are there any Cisco IOS debug commands where I can see the cause of this error?
I'm also not sure if the issue is in the Cisco switch or the vmware switch/firewall... It's probably in one of them since it works with a laptop and another switch.
The source MAC address of the RST packet is the modbus device...
Note: the modbus device also has a webinterface on TCP port 80 which works, so other TCP connections are OK...
Does anyone have any pointers or ideas to solve this issue?
Thanks!
Robbe