A cheap switch costs around $50 at most.
You definitely should NOT have development machines directly connecting to the internet. You absolutely need a firewall between you and the net.
I hope this doesn't sound patronising, but before you go on, you need to learn more about how to protect yourself.