<p>An on-board electrical system for a motor vehicle contains a first energy storage unit with a first voltage level and a second energy storage unit with a second voltage level. A control unit controls a flow of current between the first energy storage unit and the second energy storage unit in both directions. A polarity-reversal protection diode connects the first energy storage unit for supplying operating voltage to the control unit. A switching element bridges the polarity-reversal protection diode when the polarity of the first energy storage unit is correct. The first voltage level is compared with the second voltage level by a comparator and the switching element is moved to its open state when the first voltage level drops to a threshold voltage value which is below the second voltage level.</p>