I have the same problem as this question( How do I connect my desktop and my laptop using an ethernet cable to transfer files? ).
I could not comment on the answer selected by OP, because of not having enough reputation. That's why I am posting my query as another question for clear answer.
My question is: How do I set the ip address for each machine? Because I have connected the windows laptop with ubuntu laptop with ethernet cat6 patch cable, but the windows laptop shows it to be an unidentified network. So, then I tried to change my ipv4 addresses for the ethernet connection on both machines and did this respectively with no luck(I could not post images directly because of not enough reputation and so, gave the links instead)
P.S: I am fairly new to networking and Linux. So, any detailed help on this will be much appreciated. Moreover, yes, I have googled, but could not find/understand a solution or got a solution to work for my problem.