12.07.2015 Views

ASSIGNMENT #1 COMP 535

ASSIGNMENT #1 COMP 535

ASSIGNMENT #1 COMP 535

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Part 11.1 EXPERIMENTAL QUESTIONS3. RUN THE TCPDUMP ON HOST B. USE THE PING COMMAND TO COMMUNICATE (AN ECHO REQUESTAND REPLY SEQUENCE) BETWEEN HOST A AND HOST B. WHAT DO YOU OBSERVE IN THE TCPDUMP RUNNING ONHOST B?Every second, we can observe an incoming ICMP echo request packet from Host A(192.168.0.6) to host B (192.168.0.7), where the tcpdump is captured. At the same timestamp, host B sends an ICMP echo reply to host A. This process is repeated as long as theping sequence lasts.5. THE GBUILDER WOULD HAVE ASSIGNED THE HOSTS IP ADDRESSES FROM A SUB NETWORK. IDENTIFYHE HOST AND NETWORK PARTS OF THE IP ADDRESSES.IP address: 192.168.1.XXXSubnet mask: 255.255.255.0Network address: 192.168.1.0Host IPs : 192.168.1.[1-254]NOTE THE SIMPLE PROCEDURE USED BY GBUILDERFOR ADDRESS <strong>ASSIGNMENT</strong>. USING THE IFCONFIGCOMMAND CHANGE THE IP ADDRESS OF A HOST SO THAT IT GETS A NEW ADDRESS FROM THE SAME NETWORKAS THE OTHER MACHINES. DOES THIS ADDRESS CHANGE DISRUPT THE CONNECTIVITY (I.E., ABILITY OF THEHOSTS TO REACH ONE NOTHER) WIHN THELAN? WHAT TYPE OF CONNECTIONS WOULD BE DISRUPTED BY THEADDRESS CHANGE?Changing host IP within the subnet's host IP range does not disrupt connectivitybetween computers connected via a Layer 2 device (i.e. Switch). To break connectivity, weneed to mess with the network address, in which case, the hosts would need help of aLayer3 device (i.e. router) to communicate with one another by crossing networks.6. AS IN THE ABOVE STEP CHANGE THE IP ADDRESS OF A HOST TO A VALUE OUTSIDE THE NETWORKUSED BY OTHER HOSTS IN THE LAN. FOR EXAMPLE, IF 192.168.2/24 IS THE NETWORK ADDRESS OF THE LAN,CHANGE THE IP ADDRESS OF A HOST TO 192.168.3.12. CAN THE HOSTS CONNECT TO EACH OTHER (I.E., SENDAND RECEIVE PACKETS). IF NOT, WHAT HAPPENS TO THE SENDING AND RECEIVING? AN APPLICATION SUCH ASPING REQUIRES BOTH SEND AND RECEIVE CAPABILITIES. IF THE ADDRESS CHANGE BREAKS COMMUNICATION,WHICH ONE IS BROKEN: SEND, RECEIVE, OR BOTH?Only the sending on Host A is down; host A can’t send the ICMP echo request because itcannot resolve Host B's MAC address by broadcasting an arp on the wire (Host B will notrespond)On the otherhand, if Host B somehow knew how to reach host A (if it had access to arouting table), it would potentially have the ability to respond to the pings. In this specificcase, host A's ability to receive packets from host B is not down, but Host B can’t forward itspackets to host A.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!