Quote:
If Computer 1 has an ip address of 192.168.15.1 and a subnet mask of 255.255.0.0
and computer 2 as an ip address of 192.168.2.13 and has a subnet mask of 255.0.0.0
would computer 1 consider computer 2 as part of its subnet even that computer 1 has a Class B subnet mask and computer 2 has a Class A subnet mask?
coz on class B (255.255.0.0) what matters is the 1st 2 octaves which is in this case 192.168.0.0 and since the first 2 octave of computer 2 is exactly thesame to computer 1, then computer 1 would consider computer 2 as part of its subnet...
is my theory correct?
and hantiz replied to me:
Quote:
Ok, first of all, I think that you should always have ClassC subnet with classeC adresses otherwise you are messing up with others upper adresses with subnets.
You should probably revisit that theory with adresse on classe A, like 10.XX.XX.XX
Secondly lets get deeper into that theory :
Computer 1
C0 A8 0F 01
FF FF 00 00
Net 1 = C0 A8 00 00
Net 1 broadcast = FF FF 00 00
Computer 2
C0 A8 02 0D
FF 00 00 00
Net 2 = C0 00 00 00
Net 2 broadcast = FF 00 00 00 00
So :
when computer 1 wants to speek to C2, it's ok, it doesn't need to jump through gateway (for him, everything starting with 192.168 is on the same network)
when computer 2 wants to speak to C1, it'ok, it doesn't need to jump through gateway (for him, everything starting with 192 is on the same network)
The problem is more situated on broadcast....
C1 will receive C2 broabcast
C2 will not receive C1 broadcast......
This could be a BIG REAL problem !
and i do agree with that... now realizing what the bottleneck is.. i came up an idea last night while i was sitting on my roof drinking some vodka...