Networking!!!
By Afreen(افرين)afreen rahman. Saturday, June 6, 2009 4:34:38 PM
I know am not the moderator or anything to post things here,but just doing it.Firstly we all know what computers are all about,we all also know about softwares,hardwares....a lot stuff,knowing about computers doesn't mean just formatting or assembling or deassembling your comp's but knowing different fields in it.Like the programming side,wherein you deal with lot of languages...Eg:C(the base of language in order to learn C++,or further OOP concept),C++,Java....to C#,J#,G#...many(even which I might not be knowing).So anyway,networks...lol,am not defining things here,I know you can define it yourself or probably look on net.
A network is a collection of computers connected together
Networking is is a process of communication between the interconnected
devices basically to share the network resources.
Benefits of Networking:
1. Share resources.
i) Data
ii) Hardware
2. Share S/W
3. Sharing of license
Network is a collection of computers connected together to get benefited from
networking.
Networking: Networking is a process of communication among systems.
Well the above info is just copy and paste from MCSE(pdf,what I have).
But to understand the basic of networking,there are 7 OSI layers(wherein you actually see the data transfer from binary,to frame to packets to segments).
Let me just name the layers
7)Application Layer
6)Presentation Layer
5)Sessions Layer
4)Transport Layer
3)Network Layer
2)DataLink Layer
1)Physical Layer
(these are basics),you also have TCP/IP layers.But anyway..for a starter this is sufficient.
Presently Am using Packet Tracer Software to do things like configuring switch,port security...and many..need to look in to the book...
.













cjunky # Sunday, June 7, 2009 10:44:13 AM
You should explain the TCP/IP layer model, because this is as important as the OSI layer model. the difference between these models are that the OSI layer model is an artifical model and the tcp/ip layer model is the older model which has been improved over time and came with the first steps of network development in the 1970. the tcp/ip layer model is directly related to the origins of networking. the osi layer model was a later development for easier explanation and ways to find errors on networks. in addition to your blog I'd like to say what you can finde on each osi layer.
1.) physical layer - cable, network cards, repeater, ...
2.) data link layer - hubs, switches
3.) network layer - router, ip
4.) transport layer - tcp/udp
5. - 7.) ... - https, ftp, dns, smtp, nis, snmp, tftp, ... data and application stuff
Afreen(افرين)afreen rahman # Sunday, June 7, 2009 11:57:24 AM
TCP/IP is no different,but just has 4 layers ie:
4)Application Layer(Application+Presentation+Session(of OSI)).
3)Transport
2)Internet
1)Network Access(Physical & data link layer)
Thanks for you're insight though..
Antero Hytönenanzah # Thursday, June 11, 2009 9:24:47 PM
Blog has been open for everybody so far and that has been working mostly just fine. Occassionally something has to be removed if it's against the guidelines, if we get stuff like this, it's better to keep it open by all means.
I find TCP/IP layers easier to remember for some reason. Memorizing just those layers goes long way in understanding networking. I don't understand why people always start with OSI model, unless it's way to make TCP/IP model seem even simpler
Practical example when knowing which device belongs to which layer is useful, is when to use straight or crossover network cables. Crossover when connecting devices operating on same layer, straight cable when going from layer to another. For example crossover between switches (layer 2) and straight cable when going from switch to router (layer 2 to layer 3). Most switches don't mind though anymore, but it's still good idea to use crossover cables when connecting two computers without having swhitch in between.
One more thing to remember about layers is that layers interact just with one layer below or above, depending on which way packet is travelling. Application layer doesn't have to worry about what's going on in Internet or Link Layer.
Programming language part is slightly misleading indeed. C and languages influenced by it are most popular compiled languages and everything else is in the minority (there's more variety in scripting languages). That doesn't mean that it's base for all languages, though it's true that it was base for the C++, which in turn was base for Java and C# to name just few. Layer princible works nicely with those languages, knowing one will help learning language in layer below or above.
Though still, C was not the first programming language by far as you have to have A and B first
I guess B was BCPL and A might have been Algol.
Afreen(افرين)afreen rahman # Friday, June 12, 2009 8:38:19 PM
Yeah people always start with OSI in order to give the reference to tcp/ip,its like knowing the concept of classes through C++ to know java.or sometimes...vice versa also works.
Well,now that you've mentioned so...we've got 2 types of cablings
Straight and Cross cabling.
Just to know where the cables are used,the basic difference is Cross cables are used for Same devices(switch-switch,pc-pc,router to pc...),where as straight cables are used for Different device(switch-router,switch-pc....).
For router-router we use a serial cable.
And yeah,application layer is just the user interface layer.
Of course everyone knows about many langauges that come up before C,but the basis for typical Object oriented programming started with C++(enhanced version of C).So on that basis i told,C to be the basis of languages.Hope am clear now..
Antero Hytönenanzah # Sunday, June 14, 2009 1:15:21 AM
Originally posted by afreen rahman:
When referencing to layers 2 and 3, I was referencing to OSI model. Higher layers don't seem to matter that much with choosing cables.
The thing with choosing RJ-45 cables is that devices expect crossover type of connection and network switches and hubs (in other words layer 2 devices as they that's the highest layer they care about) switch the wiring around. When connecting two computers together that isn't done and both ends expect to receive signal from wrong wires.
It's easier to wire things if you can expect incoming signal to come from one wire and that you can use other to send. For that to work, wire that's used to send on one end, has to be used for incoming signal on the other end. That way both ends can easily send and receive data at same time without getting collisions.
Modern switches are usually smart enough to detect wrong wiring and correct things on the fly.
Originally posted by afreen rahman:
I haven't seen that many stand alone routers(expect small ADSL routers), but I would guess that serial cable is used for managing the router, not for connecting routers together.
Most of the routers that I have seen have been part of a switch either as module or already part of the switch software. Those seem to work as layer 2 devices from the cabling point of view.
Originally posted by afreen rahman:
Not quite. C++ wasn't the first objected oriented language and it's derivatives are not only modern object oriented languages out there right now. Key here is that C and C++ are just popular languages, not really first of doing anything as far as I know. Popularity is limited also to compiled languages, there's quite lot of popular interpreted languages out there that have nothing to do with C.
I wouldn't concertrate that much trying to explain networking with programming language terms as reader has to then understand both programming languages and networking. And as bonus, you have to be careful with explaining both parts correctly.
Afreen(افرين)afreen rahman # Sunday, June 14, 2009 3:06:43 PM
Antero Hytönenanzah # Sunday, June 14, 2009 5:52:54 PM
Originally posted by afreen rahman:
That particular sentence just gives people reason to start correcting you on programming side of things, I don't think it helps that much in understanding the actual matter.
Originally posted by afreen rahman:
I hope you didn't mean that C is interpreted language. That term is used for languages that are translated to machine code when they are run. C is compiled language, which is compiled into machine code and compiled binary is distributed instead of the source code. You don't need to have the compiler to run the binary. In case of interpreted languages you need to have the interpreter to run the program. Examples of interpreted languages are Perl, Python and Ruby.
While compiling while you run the code slows things down, interpreted languages have their place though. Programming something in for example Python is extremely fast, they actually have competition for programming game in one day (http://pyday.pynguins.com/).
Those interpreted languages are quite easy to learn, but I guess C is often chosen as teaching language as it's basically C++ without complexity of object oriented programming. As a bonus, structure is quite easy to learn. Pascal has even cleaner syntax, but it's not that popular anymore.
C++ is step for advancing Java, as Java was designed to be easy to adapt for C++ programmers.
Afreen(افرين)afreen rahman # Monday, June 15, 2009 2:34:04 PM
Yeah let them correct,its not like i made a mistake in syntax or something...like i said..We've been taught C to be the (dash
)language..and actually never known or tried to learn other interpreted languages like python..or perl or whatever,and yeah like you said..C is often chosen as teaching language.I also know that these interpreted languages are quite easy to learn.
Edited now..Check in..
Afreen(افرين)afreen rahman # Saturday, July 11, 2009 1:16:47 PM
%s->printing a string or something....
Afreen(افرين)afreen rahman # Saturday, July 11, 2009 7:09:25 PM
%s=%S.
Afreen(افرين)afreen rahman # Monday, July 13, 2009 8:06:49 PM
Daneru Yuu Jinkuazay # Friday, September 4, 2009 12:04:34 AM
can i ask some techie questions?
Afreen(افرين)afreen rahman # Friday, September 4, 2009 3:52:22 PM
Daneru Yuu Jinkuazay # Friday, September 4, 2009 4:31:14 PM
Antero Hytönenanzah # Friday, September 4, 2009 10:17:47 PM
Virtual memory is combination of physical memory and additional memory called swap. Swap resides in disk and is slow to access, but makes total memory seem larger. You can enlarge the swapfile, though things might get quite slow.
Best way is to add more physical memory if possible, or just make sure that there are no extra programs running. Some programs can be sneaky and start up without asking when you boot the computer up. I can search for some instructions at least for enlarging your swap if you tell me what operating system you are using. And please consider making new topic in the forums.
Daneru Yuu Jinkuazay # Friday, September 4, 2009 11:31:12 PM
Antero Hytönenanzah # Saturday, September 5, 2009 11:39:02 AM
Afreen(افرين)afreen rahman # Tuesday, September 8, 2009 4:36:30 PM
Anonymous # Thursday, September 10, 2009 7:05:54 AM
Afreen(افرين)afreen rahman # Thursday, September 10, 2009 1:53:50 PM
hey,am good thankyou