How handshake happens between client and server?

When a server sends out a package to a station on the LAN, it has a MAC and IP address associated with it. If the Server is looking for IP 172.112.11.121 it will look to see what segment it happens to be on, then send it on it's way with the corresponding MAC address attached to that package.

Once it gets to the next network device, it verifies the MAC address in the package matches the MAC address of the device. It then checks the IP address to see if that matches. If it doesn't, it will forward it to the next network device with the appropriate MAC address. This continues until the IP & MAC address in the packages matches the network device.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.