Networking!!!
By Afreen(افرين). Saturday, 6. June 2009, 16:34:38
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 # 7. June 2009, 10:44
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(افرين) # 7. June 2009, 11:57
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önen # 11. June 2009, 21:24
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(افرين) # 12. June 2009, 20:38
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önen # 14. June 2009, 01:15
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(افرين) # 14. June 2009, 15:06
From switches point of view,every port has a collision domain,but has this lower network congestion.
well,i didn't understand this part...i mean when doing practically on packet tracer..to connect 2 routers we use a serial cable..but not all routers are connected,i've seen just generic routers being connected using a serial cable..i've tried connecting the other routers using DCE but it doesn't work.
well,i've been taught to know C as the basis for learning other object oriented concepts,thats because of easy learning to other programming OO languages,they're people who just start off with java without knowing C,so..still C has been the base..LOL,if you want i'll just take off that line saying "C to be the basis of programming language".
C is one among the popular and as well as interpreted language,
yeah,its getting jumbled up here...networking with programming,but my sir who's a java expert is dealing with networking,says when u have programming knowledge,then its easy for you to understand certain things..dunno on what basis he told.
yeah i know..am getting sloppy here..so you're correcting it,so not a problem..
Antero Hytönen # 14. June 2009, 17:52
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(افرين) # 15. June 2009, 14:34
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
Edited now..Check in..
Alexander.A.Ewetumo # 11. July 2009, 11:32
Alexander.A.Ewetumo # 11. July 2009, 11:35
"%s=%s for (k,v)"
anyone knw what i mean ?
Alexander.A.Ewetumo # 11. July 2009, 11:37
Afreen(افرين) # 11. July 2009, 13:16
%s->printing a string or something....
Alexander.A.Ewetumo # 11. July 2009, 19:05
%s:%s = name:alex
%s=%S -> name=alex
lol
Afreen(افرين) # 11. July 2009, 19:09
%s=%S.
Alexander.A.Ewetumo # 12. July 2009, 19:51
so the %s=%s is simple a know function for assign,formatting,swappng values as u like but it can only be used for strings
digits,float have there own operator...
Afreen(افرين) # 13. July 2009, 20:06
Alexander.A.Ewetumo # 15. July 2009, 16:43
Daneru Yuu Jin # 4. September 2009, 00:04
can i ask some techie questions?
Afreen(افرين) # 4. September 2009, 15:52
Daneru Yuu Jin # 4. September 2009, 16:31
Antero Hytönen # 4. September 2009, 22:17
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 Jin # 4. September 2009, 23:31
Antero Hytönen # 5. September 2009, 11:39
Alexander.A.Ewetumo # 5. September 2009, 20:43
first: what is ur ram size...wts the size of ur ram?
2nd: what os are u using
3rd: the applications u runn what do they do..games,art,office work..or plain old programming n resources gulping tins ..bt game is a resource gulping thingy too..lol
sorry for my horrid sentences
Alexander.A.Ewetumo # 5. September 2009, 20:53
2: if u are gaming on vista dts like grabbing more ram + swap altogether n lets nt forget vista horrible memory management situation even when running normal applications or booting up its hell cz its jst a horrible site...behind all the glossy look n ish..its a pack of crap dt microsft pushed out to try n compete with linux
3: if the applications u use require alot of ram n memory like games...my advice especially wen it cums to games is getting some small utility application like gamebooster or its like dt will shut dwn all other high graphics apps or threads on ur system like vista aero or glossy look..it reduces the os footprint n allows more ram for use
plus u cud get utilities that help optimize ur ram n reduces ur Os gulping misuse of ur ram n swap....there is Ram optimizer ..etc...they help especially if u nt the kind to get ur hands dirty n look into the hecks n with of ur Os n pc...
But the most important n over-suggested option is if u using a 512mb..or 1gb ram especially with vista though workable it wud b best if ur pc supports it..add 1gb more or jst put in a single 2gb ram n get those ram optimizers n gamebooster utilities i told u...thou gamebooster is for gaming..if u using vista myt b well a good use wen u wanna work with application dt nid some high ram to work wit
Alexander.A.Ewetumo # 5. September 2009, 21:07
i myself am on windows 7 cz i nid the dreamweaver cs4...am nt a fan of microsft OS's.i like linux..ubuntu especially bt til i cn find sumtin as good as dreamweaver cs4 hav to use win7...dnt like dualbooting so am kinda a one OS kinda guy..anyway bk to the matter at hand..
if u dnt wanna switch to linux,...mac os x bt wanna use a micrsoft Os cz of ur softwares n games u can u bst temporary solution is to get those uitlities i told u bout earlier to help or get nlite see hw well it works n help n wen u hav the time use it to create a strip-down vista iso for urself or get windows 7 RC n b happy..either way each will help to its degree..
Afreen(افرين) # 8. September 2009, 16:36
Anonymous # 10. September 2009, 07:05
hey are guys professionals..????
Alexander.A.Ewetumo # 10. September 2009, 11:12
Afreen(افرين) # 10. September 2009, 13:53
hey,am good thankyou
Alexander.A.Ewetumo # 10. September 2009, 17:47