Gentoo Archives: gentoo-user

From: James <wireless@×××××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: [WAY OT] wanna learn networking internals
Date: Thu, 03 Sep 2015 01:17:05
Message-Id: loom.20150903T025927-726@post.gmane.org
In Reply to: Re: [gentoo-user] Re: [WAY OT] wanna learn networking internals by Alan McKinnon
1 Alan McKinnon <alan.mckinnon <at> gmail.com> writes:
2
3
4 > > Last, I suggest a parallel learning of C/C++ as it really helps
5
6 > ^this^, after the basics are fully mastered.
7
8 > netmasks make no sense at all until bitwise operators are fully
9 > understood. Even CIDR notation is not really obvious until you
10 > understand what languages like C do with the 32 bit words we call IP
11 > addresses. All x10 when IPv6 comes into play
12
13
14 Huh. I find teaching networking, including the intricacies of advanced
15 protocol design, implementation and debugging, are far simpler if
16 folks know at least one programming language. Bit manipulations
17 are but one part of logic, sequential circuits timing and such
18 of the Computer Engineer's domain. In my experience, if folks read too
19 much, but do not play with some codes on actual hardware, it all becomes a
20 giant nebula. I guess I just like the practical side of these issues, to get
21 folks hooked on hardware.
22
23
24 How a serial port (rs_232) works and the putting ppp over that is very
25 keen for teaching networking. ymmv. You can also use a protocol analyzer to
26 see some cool things. Many codes are published and looking at how a
27 microprocessor handles basic packets is very stimulating and encouraging.
28 Too bad most kids now days do not get to work on embedded hardware and build
29 up an executive or state machine and send/recieve data over interfaces.
30 Granted I worked in the world where assembler was
31 king (embedded) and assembler folks learning C and tcp/ip were easily amazed
32 and happy to migrate from assembler to C.
33
34 As Joost pointed out, I guess it really depends on the background of
35 the student. Being a hardware guy, I guess my focus is tainted....
36
37 So, fair enough, but how long (exactly what are the basics) do you
38 read before you go to the lab and play? Labs are always more fun
39 than classrooms, lectures and stuffy old farts.............(gotcha!) ?
40
41
42 cheers,
43 James

Replies

Subject Author
Re: [gentoo-user] Re: [WAY OT] wanna learn networking internals "J. Roeleveld" <joost@××××××××.org>
Re: [gentoo-user] Re: [WAY OT] wanna learn networking internals Alan McKinnon <alan.mckinnon@×××××.com>