The feature in XP is a native Windows supplied firewall. The conclusion is that you do need a firewall, either softwarewise (for Windows 98: Zonealarm or many others) or hardwarewise (integrated in the modem or router).
Of course, they do more than just bouncing the unwanted pings. They block all unsollicited incoming traffic.
Kees
W98se IE6sp1
Is there a way to block/ignore an unsolicited incomming ping without using a firewall or router?
I seem to recall that XP has such a feature however XP and this old clunker don't fit.

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic