Follow via:
RSS
Email Alert
Question
0 Votes
+ -

How can the Network layer know the destination IP?

From Where Network Layer Know the destination IP so can Add to Packet Header ??
i want to know the procedures from write www.yahoo.com in my browser till IP for yahoo added in packet header
Tags: networks
Updated - 7th Feb

Answers (5)

-1 Votes
+ -
http://en.wikipedia.org/wiki/Ethernet_frame
Header
The header features source and destination MAC address, the Ethertype protocol identifier field and optional IEEE 802.1Q VLAN tag indicating VLAN membership and traffic priority.

or maybe I mis-understood your question
14th Aug 2011
0 Votes
+ -
DNS
When you put the url in the browser, a number of thngs happen, but basically the browser sends a query out to your local Domain Name servers and they look to see if there is an A record which is what translates the domain name to an IP address. If one isn't found then it goes to the next level which is your ISP and does the same check. This keeps going until it hits the root level servers (the brains to the internet so to speak). Once it has this IP address then it goes on to the network which owns the address and the process is somewhat reversed, but not quite. It all depends on the network on the receiving end. It may go through a firewall or proxy NAT (network address translation) which converts the outward facing IP to an internal IP address, but in essence the request is sent on to an internal server and the webserver then takes that URL and port and serves up the appropriate web page.
1 Vote
+ -
layer 3 addressing
What Layer 3 receives from Layer 4, the transport protocol header does NOT contain anything about the IP address (or host name). So, from where does the layer 3 brings the destination IP address? By other words, is there a common or global source of information available simultaneously to the 7 layers, or the case is that every layer can only get information from the one above it?
7th Feb

Replies

Thanks for your response. The problem I dont have any server (DNS, or DHCP), I have a WLAN consist of fifty computers inside a LAP, and this WLAN does not connected to the internet. If computer number 1 wants to send a message to computer number 20, from where does the layer 3 of computer number 1 brings the IP address of the computer number 20 (the destination)?
layth1970 7th Feb
0 Votes
+ -
The answer is that most utilites or programs that use TCP/IP
can use the hostname or IP address interchangeably. So if you send a ping message from one PC to another, you can specify either it's IP address or the hostname
7th Feb
0 Votes
+ -
Network Discovery using SSDP. Then ARP (Address Resolution Protocol)
http://en.wikipedia.org/wiki/Service_discovery
http://en.wikipedia.org/wiki/Simple_Service_Discovery_Protocol
http://en.wikipedia.org/wiki/Address_Resolution_Protocol

Layer 3 Name/IP Address would most likely be from SSDP in a non-dns non-dhcp network
The computer would then use ARP to get the MAC Address of the destination computer so it could actually send the message.
7th Feb
Answer the question
Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]

Join the TechRepublic Community and join the conversation! Signing-up is free and quick, Do it now, we want to hear your opinion.