add datalink and ip