doubt on default gateway

tj123tj123 Member Posts: 17 ■□□□□□□□□□
hi...

i have a doubt about the configuring of the default gateway in the tcp/ip settings on a computer connected to LAN

consider 4 computers in a LAN.....i.e C1,C2,C3,C4 with MAC adres A,B,C,D respectively

C1 and C2 are in the same n/w with ip 192.168.1.1 & 1.2

C3 and C4 are in the same n/w with ip 192.168.10.1 & 10.2

now i wanted to ping C4 from C1
For this i set the default gateway of C1 with IP of C2 which is in the same n/w of C1
and that of C4 with IP of C3 which is in the same n/w of C4

now i pinged C4 frm C1.... but the result was
request timed out

bt when i checkd the arp table of both C2 and C3 which acted as the default gateway , both had the mac adress of C1 and C4 i.e A,D

can u help me why C1 and C4 did not communicate eventhough their default gateways had the MAC adress of C1 and C2

thanks
tj

Comments

  • kalebkspkalebksp Member Posts: 1,033 ■■■■■□□□□□
    Computers can't communicate with each other unless they're on the same network, or they have a gateway that is connected to the other network in some way. Assuming you're using a subnet mask of 255.255.255.0 and each computer only has one network card, I can't see a way to make your situation work without the use of a router.

    Someone with more networking knowledge than myself may be able to help you more.
Sign In or Register to comment.