these two network are directly conected to server. you need not use any routing protocol for two network to ping each other. But you should configure the workstation's default gateway to the server's network adapter which attached to the switch respectively.