Stupid Q's

ztahieztahie Member Posts: 27 ■□□□□□□□□□
I ask your help with theoretical(and stupid) question.
two PC's connect between them with crossover cable.(NIC TO NIC)

PC 1=
IP > 192.168.1.1
SUBNET > 255.255.255.0
DG > not configure.

PC 2=
IP > 192.168.0.1
SUBNET > 255.255.0.0
DG > not configure.
if I will sent ping from PC1 to PC2 , what will I get:

A.Destination Host Unrechebale.
B.Request time out
C. Replay from 192.168.1.1
D. Replay from 192.168.0.1

please help me with that and an explanation will be great.
thanks

Comments

  • bighornsheepbighornsheep Member Posts: 1,506
    I'm assumming you're pinging the hostname. The answer is A, destination unreachable.

    C, and D are surely wrong because you're not going to get a replay if the two hosts are on different subnets, and there isnt a router to route the request.

    It's not B because the ping isnt able to resolve the request, the result will be the same even if you ping the ip. Because it will try to route to the default gateway, which it doesnt find. So the request is dropped, and destination is unreachable.
    Jack of all trades, master of none
  • bighornsheepbighornsheep Member Posts: 1,506
    Just realized you're MCSE on win2k track? icon_eek.gif

    Was this a trick question? icon_confused.gif
    Jack of all trades, master of none
  • SlowhandSlowhand Mod Posts: 5,161 Mod
    The two machines need to be on the same subnet if there is no router or switch between them. You've got one machine configured with the IP 192.168.1.1 and a subnet mask of 255.255.255.0, and another with 192.168.0.1 and a subnet mask of 255.255.0.0. These guys aren't on the same subnet. Since you don't have a gateway between them, you're going to have to change one of them to match the other. So, for example, PC2 should be:

    IP: 192.168.1.2
    Subnet Mask: 255.255.255.0

    As far as the two machines are concerned, they're on completely different networks, as you have them configured right now. (So the answer would be A.)

    Free Microsoft Training: Microsoft Learn
    Free PowerShell Resources: Top PowerShell Blogs
    Free DevOps/Azure Resources: Visual Studio Dev Essentials

    Let it never be said that I didn't do the very least I could do.
  • ztahieztahie Member Posts: 27 ■□□□□□□□□□
    yes , i'm MCSE 2K.
    first of all i'm ping with IP not by hostname.
    I also think this is the answer.
    secont ,I try to run this in BOSON simulation and I got REQUEST.
    i'm ask this because in our jub today we had a "pop quiz" and everyone think that his answer was the correct.
  • bighornsheepbighornsheep Member Posts: 1,506
    ztahie wrote:
    yes , i'm MCSE 2K.
    first of all i'm ping with IP not by hostname.
    I also think this is the answer.
    secont ,I try to run this in BOSON simulation and I got REQUEST.
    i'm ask this because in our jub today we had a "pop quiz" and everyone think that his answer was the correct.

    I dont get it...so everyone thinks what is the correct answer?

    A is the answer.
    Jack of all trades, master of none
  • SlowhandSlowhand Mod Posts: 5,161 Mod
    ztahie wrote:
    yes , i'm MCSE 2K.
    first of all i'm ping with IP not by hostname.
    I also think this is the answer.
    secont ,I try to run this in BOSON simulation and I got REQUEST.
    i'm ask this because in our jub today we had a "pop quiz" and everyone think that his answer was the correct.

    I think the point bighornsheep was trying to make was that if you're an MCSE on Windows 2000 or above, this type of question shouldn't have given you pause, since the 70-216 test was pretty heavy in this area.

    Free Microsoft Training: Microsoft Learn
    Free PowerShell Resources: Top PowerShell Blogs
    Free DevOps/Azure Resources: Visual Studio Dev Essentials

    Let it never be said that I didn't do the very least I could do.
  • sprkymrksprkymrk Member Posts: 4,884 ■■■□□□□□□□
    Slowhand and bighorn are correct. If, on the other hand, PC2 tried pinging PC1, the answer would be "B". Because the netmask on PC2 is 255.255.0.0, it treats PC1 as being on the same subnet, and so it never sends the packets to a DG, instead it does an arp to find out the MAC address of PC1. PC1 would reply to the arp broadcast, but since it thinks the computer is on another subnet it would be unable to send the replies back correctly, thus PC2 would get a "request timed out" message.
    All things are possible, only believe.
  • ztahieztahie Member Posts: 27 ■□□□□□□□□□
    thanks for your replys.
    so ,
    PC 1 > PC2 = destination host unrechebale
    PC 2> PC1 = Request time out

    this is the final answer ?
Sign In or Register to comment.