1. ## Subnetting (Part2)

now i had some fun descussions with some of the networking d00ds i know here in AO and i want to have more.. hehe

now before i posted the question:

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:

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....

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...

how bout if i use a gateway to redirect the broadcast of C1 to C2?
get me?? im thinkin of using a gateway to make C2 recieve the broadcast of C1.. im thinkin that would be deffinately possible..

so all i need now are the settings.. can anyone here give me the settings or configurations that i need to set up on the gateway to make this theory possible? say.. the IP address of the gateway?

anything.. im open to any suggestions..

coz C1 and C2 in real life are not just one computer.. C1 and C2 are small networks connected to a bigger network..

2. awwww come on.. somebody answer dis question.. its juz bloody child's play... i already have da idea.. i juz need da missing piece of the puzzle...

3. Damn Sonic, antionline is not the forum dedicated to that !! here we are speaking of "cdrom that is not working", and "why my mouse is stuck ?"

Ok, I thought again to your crazy problem..... and here is what i think about : you cannot route broadcast.

The only thing you can do to "route broadcast" is to set up a transparent bridge with a PC with 2 network cards in, both in promiscius mode, that relies broadcast from one side to another, but THIS WILL NOT CHANGE THE BROADCAST MESSAGE... so C2 will not receive C1 message again.

Well, at last you should try, maybe that the broadcast message will be automaticaly changed when the system try to send the packet from a card with mask 255.0.0.0 (i see this only as 20% chance !!)

A+ hantiz.

4. hantiz!!! thank god ur here!! haha i was about to loose hope..

mwwwaaahh! mwwwaaahh! mwwwwaahh!

hehehe..

hmm.. but like u said.. C2 will not recieve C1's message..
still we end up with a bottle neck...