Saturday, October 24, 2009

I want to know how routing works in an environment where two hosts are directly connected to a router?

which actually means they are two hosts(PCs) which have the same default gateway (the router in between them). they are no routing protocols involved. it is a simple ethernet setup.





thanks
I want to know how routing works in an environment where two hosts are directly connected to a router?
If the two hosts reside on the same subnet, indicated by the hosts having the same default gateway, then there is no routing involved and the router sits there doing nothing.





The hosts would first issue an ARP request when trying to contact each other by IP address (the ARP request basically says "Who has IP address xxx.xxx.xxx.xxx?") The other client would receive the ARP request and respond to the request with its MAC address since it is that hosts IP address being requested.





This is a real cursory explanation, but answers your question I hope.





-MikeD


Certified network engineer w/ 16 years of experience
I want to know how routing works in an environment where two hosts are directly connected to a router?
it can't be true and routing will not happen


because u can't make 1 default gateway for 2 host connected directly to router , every host should connect to 1 port with one network in this port and 1 ip address and 2nd host connect to 2nd port with different network and different ip address than 1st host .


so if we want to coonect more than 1 pc on the same router we must use switch otherwise the 2 host can't connect to each other .


I hope i would help you in that


No comments:

Post a Comment

 

Bibi Copyright 2008 All Rights Reserved Baby Blog Designed by Ipiet | Web Hosting