Showing posts with label NETWORKING. Show all posts
Showing posts with label NETWORKING. Show all posts

Wednesday, 23 July 2014

Bridges vs Switches Networking

I can't realize any authoritative supply which will briefly justify the distinction between a bridge and a switch. As so much as I will tell, most devices unremarkably spoken as "switches" match the outline of "bridge" as outlined by the IEEE 802.1D normal. whereas it's going to be the case that a tool may be each a bridge and a switch (perhaps "switch" may be a set of "bridge"?), I will solely realize "hand-wavy" explanations of the distinction. the foremost unremarkably cited variations I even have encounter boil right down to one in all these two:

Switches have several ports, bridges solely have 2 (or another tiny number)
Switches perform forwarding in hardware, whereas bridges perform it in software package
I'm unhappy with these answers because:

The IEEE standards clearly do not state or assume that bridges can have solely 2 ports. If something, the belief is that there'll be more than 2 ports. therefore this clarification is solely absurd. (Even Cisco makes an attempt to pass this off collectively of the differences).
The IEEE standards appear to outline "bridge" by what it will, not by however it will it. there is nothing within the normal that I may realize that says bridging should or ought to be exhausted software package. therefore a bridge that forwards in hardware would still be a bridge as so much because the normal thinks about.
In fact, after I searched the IEEE 802.1D normal, there was no mention of the word "switch" in any respect. therefore "bridge" appears to be the technically correct term. However, since the word "switch" appears to be additional unremarkably used (by far) i can not facilitate however surprise if there's some actual differentiating issue. Or is that this simply a case of various words getting used to explain identical thing?

References to sources would be particularly appreciated.

EDIT: I ought to add that i'm totally attentive to the actual fact that bridges aren't identical issue as repeaters.

Hexadecimal Conversion

Theory of Binary to Decimal and hex Conversion

This article can cause you to perceive the variations between binary, decimal and hex values and can tell you ways to convert one format values into the other’s values in line with the CCNA 640-802 Cisco Certified Network Associate’ course detail 2011. i'm ranging from the binary list. The digits used area unit restricted to either a one (one) or a zero (zero) and every digit is termed one bit (short for binary digit). ordinarily we tend to count either four or eight bits along, these observed as a nibble and a computer memory unit correspondingly. The decimal worth format represents the eye to the binary list. The decimal format supported ten numbers. The binary numbers area unit place in an exceedingly worth speck: begin from right and move to left with each speck have the double worth of the previous speck.

Binary Values

Nibble Values computer memory unit Values

8 four two one one 28 sixty four thirty two sixteen eight four two 1

It shows the decimal values of every bit location in an exceedingly nibble and a computer memory unit.

Nibble

If “1” digit is place in an exceedingly worth speck then the nibble or computer memory unit acquires on it decimal worth and adds it to the other worth specks that have “1”. however if “0” is place in an exceedingly worth speck we are going to not count that worth. Let Maine make a case for, if we tend to place one in each speck of nibble (1111), we tend to then add up eight + four + two + one, to get a most worth of fifteen. Another example of nibble values 1010, its means that eight bit and a couple of bit area unit turned on and that we will get the decimal worth of ten. a new example, nibble binary worth of 0110, four and a couple of bits area unit turned on, therefore we tend to shall realize the decimal worth of six.

Byte

Another sight, the computer memory unit values add up to above fifteen. Let Maine make a case for this additionally, if we tend to count every bit as “1” in an exceedingly computer memory unit (11111111), we tend to shall get the decimal worth of 128+64+32+16+8+4+2+1 = 255. this can be a most worth of a computer memory unit. i would like to clarify it additional deeply, therefore binary worth 01010110, it shows that the sixty four sixteen four two bits area unit on during this worth and if we tend to shall add them, we tend to shall realize this sixty four + sixteen + four + two = eighty six, that is adequate the binary worth of 01010110. in our own way of observe, realize the binary worth of this: 128, 16, four and a couple of bits area unit turned on, and that we will realize the binary worth of 10010110 and decimal worth of one hundred fifty.

To study in additional economical manner, you need to observe it once more and once more with totally different values in each higher than mentioned ways. the subsequent table can assist you and you ought to study it.

Binary to Decimal acquisition Chart

Binary worth Decimal Value
10000000 128
11000000 192
11100000 224
11110000 240
11111000 248
11111100 252
11111110 254
11111111 255
Hex / hex

“Hex” is brief for hex. this can be a list system that uses the primary six letters of the alphabet “A to F” to enlarge the accessible ten digits of the decimal worth. So, Hex / hex worth has total sixteen digits.

Encapsulation and Decapsulation

Encapsulation and Decapsulation

Encapsulation may be a method to cover or defend a method from the chance of outdoor interference or misuse of the system whereas simplifying the utilization of the system itself, conjointly makes one kind of network information packets to alternative information varieties. Encapsulation happens once a protocol that's on the lower layer receives information from the protocol that's at the next layer and place the info into an information format that's understood by the protocol. Access to the interior system thus organized through a collection of interfaces.
With the encapsulation of information into associate degree identity. a straightforward example encapsulation method within the method of mail delivery, if a letter would be sent however while not the envelope, address and postage. The letter ought to have associate degree identity so as to urge to the destination, if it doesn't have associate degree identity then the letter won't be able to get to the destination. Envelopes with address and stamp identical because the information encapsulation.
Encapsulation method varies in every layernya, the subsequent process:

1. at the start the info was created, once beginning the method of causation, the info fell through the applying layer (layer 7)
responsible for the exchange of data from the pc to the network, primarily this can be associate degree interface layer between network applications employed by users. may be mentioned that this layer serves to outline the request of the user. Then the info passed to the Presentation layer (layer 6), that layer is chargeable for decisive whether or not he must do the encoding on this request or to alternative kinds of travel
data. If the method is complete, following ditambahakan necessary info. Then forwarded to the session layer (layer 5) during which this layer can check whether or not associate degree application requesting the knowledge and verify that the services requested on the server. Any info are passed down an additional header of every layer. However, the process layer five, vi and seven generally it's not necessary to the header. This dikarena her no new info that must be processed.

2. information fell upon the Transport layer (layer 4), making certain that he already possessed a correct reference to the server and begin the method by changing the knowledge into the shape of segments. Error checking and merging information returning from identical application tired this transport layer and also the wholeness
data is bonded here additionally. L4PDU fashioned from this method.

3. following phase is forwarded to the Network layer (layer 3), here the segments received earlier and value-added the network address for the station to request and network address for the requested server. Segments are regenerate into a packet-packet, then network layer makes
Network header, during which there also are addresses the network layer, and placed L4PDU behind it, and fashioned L3PDU.

4. Then the packet-packet was passed to the info Link layer (layer 2) and also the packages were organized then be wrapped once more into the individual frames, one example of this method is to produce the waterproof address of destination and supply waterproof address that is then used that info to form a trailer.
Because a packet will be delivered via several devices and routers, this can be wherever the role of waterproof addresses in packets sent between a router and alternative routers. Then be transmitted to the media. All
yanng info value-added by every layer before (as associate degree actual file requests) should match into a size of 46-1500 bytes of information fields within the LAN frame. the info link layer is chargeable for causation the frame consistent with the topology used. L2PDU fashioned during this method.

5. Finally, the info fell upon the Physical layer (layer 1), info are taken from the supply to the destination. Since the physical layer frame isn't famous, he would pass that info into the shape of bits. The addition of the header doesn't occur at this layer. The Physical layer is related to the hardware. Finally, the bits
They'll be synchronous then regenerate into electrical signals within the sort of high and low voltage then transmitted through the media. Example of the cable to the destination, it's in accordance with the characteristics that confirm the physical layer of a layer sequence of events during which the bit stream moving through a physical medium.
At every layer there's LxPDU (Layer N Protocol information Unit), that may be a sort of bytes within the header-trailer on the info. PDU is that the processes on every layer of the OSI model. At every layer is additionally fashioned a replacement formation, the layer a pair of PDU together with the header and trailer is termed the frame formation. within the third layer is termed packet (packet). whereas in layer four ar known as segments (segments).
After the encapsulation method, then sent to the server and also the server can perform this method in reverse, i.e. from the physical layer to application layer, this method is termed decapsulation. If the encapsulation performed
packaging, then the decapsulation can perform the gap of the sheaths was through his layers.

Decapsulation method 


Decapsulation is that the inverse of the encapsulation method. Encapsulation is that the method of wrapping the info whereas the decapsulation method may be a method of gap packs. {the method|the method} was reversed from the encapsulation process. Encapsulation {the method|the method} starts from the topmost layer (Application Layer) to the bottom layer (Physical layer) whereas the decapsulation process starts from the bottom layer (Physical Layer) to the topmost layer (Application Layer)