It’s simple to run an ethernet cable next to an electrical cable, but it is not recommended because the chances of interference increase. Since the ethernet cable has a low voltage for data transfer, it produces a magnetic field required for transmitting and receiving data. The high-voltage of the electrical cable can interfere with the magnetic field of the ethernet’s cable when they are placed parallel.