I have 2 problems that I'm hoping can be fixed with one solution. (1) an exposed drain pipe from a previous sink that is giving out pretty foul smell (2) A tankless water heater condensate pipe that is not connected to any drain but simply discharges to the basement floor (since it is close to the floor drain)
Both of these are located close to each other.
I would like to install a ptrap to fix the foul smell from the drain pipe. It seems like thre isn't one under it. I plan to connect the tankless' condensate drain into this.
Due to space constraints, I want to avoid placing the p trap at the drain pipe, but do it a few feet away (and at a height), under the tankless. See pics for illustration.
Essentially the path would start with a p trap under the tankless, slope gradually towards the drain.
I want to ensure this p trap positioning (about 3.5 feet to the right of the drain and ~2 feet above the floor) would not cause new issues. I tried reading up about p traps and understand the principle, but want to be sure this install will not cause new problems for the existing drains and bathrooms on the floor.