In the following circuit i1 and i2 are respectively (diodes are ideal)
0, 0
0, 5mA
5mA, 0
5mA, 5mA
we can get the above circuit if the diode is forward biased. After observing this circuit we get that,
i=102=5mA=i2
i1=0