INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Doubt about Routing process.

Doubt about Routing process.

(OP)
Hi to all!!

I have a question i'm going to take the CCNA course and reading a little on the internet of the topics i am in a middle of a doubt.

I understand that if you want to communicate from 1 host(PC) to another host(pc) in the same segment (subnet), the OSI model tells you, the communication will be through the switches and will use the MAC Address (Data link layer, but what about the same process but from one host in a different segment of the second host, i know this must pass through the gateway and this work is responsibility of the router (network layer) but can anyone describe the process in a words that i can understand i have some network knowledge but i don't consider myself an expert, and that's my doubt, in that case the mac addresss is used or only ip address are used or what is the exact process.

i can put an example.

In my work we have 2 diferent netwotk segments

10.1.24 and 10.60.136

if i got a PC1 with IP 10.1.24.15 and i made a ping to another PC2 in the same segment 10.1.24.20 for example, and if i run the command ARP -a 10.1.24.20 of the PC2 the result shows the MAC Address of the PC2 with IP address 10.1.24.20, and i understand why, but if a ping from the same PC1 IP: 10.1.24.15 to the PC3 with IP 10.60.136.20, i can ping it but if i run the same command ARP -a 10.60.136.20 shows no result the mac table of the PC1 does not have the mac address of the PC3, from that result comes my doubt Heeeelp!!!.


Can any expert explain this to me i will be very grateful.

thanks in advance. . .

RE: Doubt about Routing process.

(OP)
Hi to all!!!


Anyone heeelp please someone could help mee!!!


i need this info to solve some problems in my work.


Heeeelppp


thanks in advance!!!

RE: Doubt about Routing process.

That's what your default GW & subnet mask are for.

When you run the ping command, the host compares the destination address with its own subnet. If it is "remote", then it encapsulates the packet in a frame whose destination address is the MAC address that the "default GW" IP address resolves to.
The frame goes to the default GW (which is the router for that subnet). That router throws away the frame, reads the packet, finds the destination IP address in its routing table, resolves that address to a MAC address, encapsulates the packet in a frame with the destination PC's MAC address as the destonation address.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close