S4C+ LAN strange problen

I met with a strange LAN problem. I have to set up a network as bellow:

robot1: IP=192.168.100.101
submask=255.255.255.0
Gateway=192.168.100.100

robot2: IP=192.168.100.102
submask=255.255.255.0
Gateway=192.168.100.100

MY PC: IP=192.168.100.100

submask=255.255.255.0
Gateway=192.168.100.100

If I use a Cisco router: Catalyst 2960 , network is OK and Ping robot no problem.

But if I use a hub, or a switch, D_Link DES 1008D, I can not ping from PC to robot . Always get time out return.

My robot is S4C+ system.

I got mad with this strange problem. Does it really necessary to use a advanced Router like Cisco 2960? I am using C type IP adress, shoud be ok with a switch.

Anybody can help me with some information?

Hi
What happens if you change the gateway to something else like 192.168.100.1 or just leave it empty?
I think the issue could be that the cisco router manage to handle the door(gateway,which is your pc) to another subnet but not a simple hub.

if you use hub/switch try this;

robot1: IP=192.168.100.101
submask=255.255.255.0
Gateway=192.168.100.101

robot2: IP=192.168.100.102
submask=255.255.255.0
Gateway=192.168.100.102

MY PC: IP=192.168.100.105

submask=255.255.255.0
Gateway=empty