Have not figured how to do the IP addresses but here is the formula for column C

=MID(A1,FIND(":",A1)-2,17)