Question 1
In the above diagram , three computers with IP address 192.168.1.2 , 192.168.1.3 and 192.168.2.1 is connected to a layer 2 switch . Can the computer with IP address 192.168.1.2 , ping the computer with IP address 192.168.2.1 ?
Explanation
The computer with IP address 192.168.1.2 , belongs to the network address of 192.168.1.0 . The computer with IP address 192.168.2.1 belongs to the network address of 192.168.2.0 . Since both the computers belong to different network addresses , communication between them is possible only if a layer 3 device or a router is required . Computers require the mac-address of the peer for sending out the packet . ARP is used on an ethernet segment to find out the mac-address of the peer . ARP can be used to find out the mac-addresses of devices belonging to the same network address . If the destination is on a different network address , the ARP request is sent to the gateway . So in this case , there is no gateway configured .
Copyright 2013 @ www . tcpipguru . com