The Trap that Lazy Pup is referring to is a bell trap.
Which are very problematic in terms of keeping a trap seal.
Pouring mineral oil into the drain to fill the trap is something I would consider. Also if the parts are missing or rusted out which is not at all oncommon I would consider pugging them using a test plug. This can be removed if flooding conditions warrant.