Alright /g/ I need some help understanding some concepts here. What does a subnet mask and default gateway do? And how to use them correctly?
Troll? Or really want to know?
>>52128510
>WD-40
>Not GT-85
plebe
But I had a giggle at that image anyway. Thank you.
>>52127050
Let DHCP guide you, and your devices.
But really, the subnet mask indicates which part of the network can be reached directly, as opposed by going through a gateway.
It literally (binary) masks the size of the locally reachable network to size xy.
indirect correlation between picture and what happens at the packet level and weather or not the default Gateway (dhcp opt 3) comes into play.
>>52128569
Thanks. But why is it useful in a small LAN, lets say 3 devices connected to the router?
>>52128510
Not a troll....
>>52128978
It's not
>>52128978
Because the technology standard is designed for vast networks?
Never mind that if this LAN is the one you currently connect to the internet with, you're really kinda using this functionality.
>>52129039
Okay and what does the default gateway have to do with this functionality?
Help thread ITT
Is there any where I can find a sort of compendium in the form:
When/If sending/receiving data over port ##, you will deal with a buffer of 1024 characters, or more, and will find a process that goes as follows: ACK, SYN, ACK, read(), reply(), close();read( istream& in )
{
char* c = in;
// here explains what
// the function does
// to/with the data it is
// sent.
}
I guess what I'm asking about is that I want to deal with network connections programmatically and without having to re-invent the wheel in the process of learning the current one. In essence, apply an understanding rather than get inched in on one, if that makes any sense. To use what I know about programming in general and apply it to the greater networking scheme rather than jerry rig a new understanding and create a greater rift between machine and process.
>>52129120
If the target is in the submask, find computer directly, else ask the default gateway to figure it out.
>>52129120
It's kinda like a building with huge rooms, possibly crowded with people.
If you know you're in the same room ('cause the wall -subnet mask- tells you you are) you might shout to talk to someone directly.
If you know you're not, you might try going to the next door, then to the next door, and then to the next door until you are, and then shout.
I guess the analogy has some flaws since it's packages that you send and machines that pass them forward and stuff and things, but eh...
>>52129173
Found one btw, but I've had this one for a bit now. I guess I wasn't as versed in "programming" then as it seems like it's the perfect book for the job. Sadly, there is no ISBN or author info in the book's pages.