Users browsing this thread: 1 Guest(s)
pranomostro
Long time nixers
(12-07-2016, 03:38 AM)z3bra Wrote: what's a MAC address, an IP address, a netmask, how do they work together? What's a switch, a router, how do they know where to send packets?

Okay, I'll try to answer these without searching the internet. Phew.

MAC address: a (normally) device specific address, 48 bit long, set by the manufacturer. Can be changed,
normally shouldn't, is mostly used for authentication. Only the next router knows it.

IP address: IP addresses are used within the TCP/IP protocol to establish connections. IPv4 addresses are 32 bit long, IPv6 addresses
are 128 bit long (we are having a problem because we haven't got enough IPv4 addresses left). IPv4 addresses are mostly
dynamic, so every device is assigned an IP address with DHCP to avoid IPv4 address collisions. IPv6 doesn't need DHCP because
collisions are highly unlikely (the IPv6 address is generated via the MAC address and some device specific stuff).
IP addresses are hierarchical, which means that every network can have a sub-network. And here we get to the

netmask: a simple description of how big a subnet of a certain router is. For example, Apple has got a whole /24 network, meaning
that they can use every IP-address which begins with a 17 (17.1.1.1 for example) (source: https://www.xkcd.com/195/). IPv6 has the same
principle.

[To be continued]


Messages In This Thread
Networking course - by z3bra - 12-07-2016, 03:38 AM
RE: Networking course - by stark - 12-07-2016, 03:43 AM
RE: Networking course - by venam - 12-07-2016, 03:48 AM
RE: Networking course - by z3bra - 12-07-2016, 04:36 AM
RE: Networking course - by stark - 12-07-2016, 04:42 AM
RE: Networking course - by pranomostro - 12-07-2016, 05:33 AM
RE: Networking course - by z3bra - 12-07-2016, 08:31 AM
RE: Networking course - by tigoesnumb3rs - 12-07-2016, 01:16 PM
RE: Networking course - by acg - 12-07-2016, 01:48 PM
RE: Networking course - by ox! - 13-07-2016, 12:22 AM
RE: Networking course - by z3bra - 13-07-2016, 03:05 AM
RE: Networking course - by ox! - 13-07-2016, 04:04 AM
RE: Networking course - by pranomostro - 13-07-2016, 09:48 AM
RE: Networking course - by acg - 13-07-2016, 10:52 AM
RE: Networking course - by z3bra - 14-07-2016, 03:38 PM
RE: Networking course - by acg - 14-07-2016, 08:02 PM
RE: Networking course - by stark - 15-07-2016, 12:50 PM
RE: Networking course - by z3bra - 15-07-2016, 01:11 PM
RE: Networking course - by tigoesnumb3rs - 17-07-2016, 10:56 AM
RE: Networking course - by z3bra - 17-07-2016, 04:08 PM
RE: Networking course - by ox! - 18-07-2016, 12:31 AM
RE: Networking course - by z3bra - 18-07-2016, 03:16 AM
RE: Networking course - by ox! - 18-07-2016, 04:48 AM
RE: Networking course - by z3bra - 21-07-2016, 06:51 PM
RE: Networking course - by ox! - 24-07-2016, 03:04 PM
RE: Networking course - by z3bra - 25-07-2016, 03:34 AM
RE: Networking course - by z3bra - 26-07-2016, 08:42 AM
RE: Networking course - by z3bra - 27-07-2016, 03:29 PM
RE: Networking course - by z3bra - 29-07-2016, 10:13 AM
RE: Networking course - by venam - 29-07-2016, 10:30 AM
RE: Networking course - by ox! - 29-07-2016, 10:55 AM
RE: Networking course - by tigoesnumb3rs - 29-07-2016, 11:03 AM
RE: Networking course - by lemons - 29-07-2016, 01:19 PM
RE: Networking course - by z3bra - 29-07-2016, 06:36 PM
RE: Networking course - by z3bra - 08-08-2016, 03:41 AM
RE: Networking course - by z3bra - 08-08-2016, 08:31 PM
RE: Networking course - by josuah - 14-05-2017, 05:19 PM