x -> standard y -> extended
There are two address fields. Source is the IP address the packet came from and destination is the IP address the packet is meant to be delivered to.
During the encapsulation process, the destination and source IP addresses are added to the packet header. These addresses help routers and networking devices determine where to route the packet to reach its destination.
The source and destination IP addresses
IP addresses are used to deliver packets of data across a network and have what is termed end-to-end significance. This means that the source and destination IP address remains constant as the packet traverses a network.In simple terms again, Destination IP address is the receiver of information
It's recorded at the top of the IP packet header. 16 bit source and destination port.
Routers use a process called packet forwarding to determine which local IP address a data packet is intended for. When a packet arrives at a router, it examines the destination IP address in the packet header and compares it to its routing table, which contains a list of local IP addresses and their corresponding ports. If the destination IP matches a local device's IP, the router forwards the packet to that specific device within the local network. Additionally, routers utilize protocols like ARP (Address Resolution Protocol) to map IP addresses to MAC addresses, ensuring proper delivery within the local network.
The delivery of Packet byDestination Computerin TCP\IP stack is reported by sending Acknowledgement to the Source Computerfor the received Packet by Destination Computer.
an arp (address resolution protocol) comes into picture when we have the ip address of our destination but we dont know the mac address of our destination.Normally when we open a web site this is the process which takes place.IP packet transmission comes after arp when the destination mac address is obtained after arp request.so an ip packet contains both source & destination IP & mac addr.
Which portion of the destination IP address is used as a packet is routed through the Internet?
ARP, or Address Resolution Protocol, defined by RFC 826.
I think ip source-route and policy routing very often get confused, but they are two very distinct things. Policy routing is a way of specifying routes to depend on various parameters, including perhaps the source IP address of a packet. It is a local policy applied at a router. ip source-route is something entirely different. It is a feature where the originator of an IP packet specifies, in that packet, which routers the packet must go through to reach its destination. The path is tagged onto the options field of the IP packet. The feature is very dangerous, and most NetAdmins disable it. I think the confusion comes about because of the words "source" and "route".