PDA

View Full Version : confussion on the start (Bob Sally example)


uthpala
05-14-2008, 03:26 AM
I am studying the CCNA study guide 6th edition and stuck cannot follow the first example in it. :confused:
In the example Bob wants to communicate to Sally only having her name (not the IP address or the MAC address). So Bob broadcast a query to resolve the name "Sally" into an IP address. The book says before the resolution is performed Bob must broadcast a ARP request to get Sally's MAC address. For this he sends a ARP request with Sally's IP address. But we assumed that Bob does not know Sally's IP address (So he tries to resolve it). Please can someone point out if I am missing something.
thanks in advance.

lammle
05-17-2008, 05:36 PM
First, if you telnet saying "telnet bob" or "telnet sally", the hosts must first resolve the name "bob" or "sally" to an IP address. The hosts use DNS typically, but can use a hosts table, which is a static resolution table that is built on each host by hand.

After the IP address is resolved, IP decides if this is a local request or a remote request. If it is a remote request, the packet must be sent to the router, so we must resolve the default gateway address to a MAC address by using ARP, etc, etc...

I wrote pretty much what I cover in the book.
Hope this helps.
todd

stteng
05-25-2008, 10:04 PM
I don't mean to have you repeat yourself. I realize that using ARP, you can find the MAC address from a PC's IP address. Then you can communicate to your desired PC by its MAC address!

I also realize that using RARP, you can find the IP address from a PC's MAC address.

In the example with Bob and Sally connected up just by a hub, if you don't use DNS and Bob's host doesn't have Sally's IP address, how do you find Sally's IP address?

Sorry for asking a stupid question
stteng