(The first thing that everyone must admit before connecting the computer is whether the two computers are already connected on the network, that is, whether the hardware part is connected. It can be checked by preliminary - running top with the ping command. The best way to set both computers is to manually set their own IPs (eg 172.192.0.1 subnet mask))