Logical Address and Phyiscal Address with respect to Socket Programming
Can anyone help me with How does Logical Address and Physical Address model work(From networking/ Socket point of view)? Why there is need to have two separate types of addresses?
Different networks use different physical addresses, for example the IEEE 802 MAC address uses a 48 bit address.
To connect different networks and still be able to address undividual machines they had to overcome the problem of these different schemas, so they created IP (IPv4 and later IPv6) addresses.
So when you send an IP packet from a machine to another it can travel through various networks, each network sending packets with its own addressing schema.