Why don't you use the PCA82C250 RxD pin instead of the LM339?
PCA82C250 - is a CAN bus driver IC. CANbus and IP-Bus signals are little different. Internal comparator in PCA82C250 have another hysteresis and not compatible with IP-Bus protocol.
IP-Bus comparator can see output from CANbus driver. But CANbus comparator
can not see output from IP-Bus driver.
I using simple comparator and adapt hysteresis with 10k and 1M resistors for IP-Bus line.