I have layers of lines connected at two points.
How can I extract information from two points on a line feature with ArcMap?
How about Spatial Join (Analysis)? Choose the appropriate Join Operation, as per your need.
Match Option: Intersect.