The Need for and Operation of CSMA/CD
CSMA/CD = Carrier Sense Multiple Access /Collision Detection. We no longer need CSMA/CD so much because each switch port is now it’s own collision domain. However in some older networks where they are using hubs, or where they are using coax for example, CSMA/CD is required. When any host on a shared segment wants to transmit data it listens on the wire for any data – if it detects signals, it backs off for a random period of time before listening again, however if it does not detect anything, it attempts to send the data.
Issues occur when more than one host listens at the same time and detects no signal, so they both attempt to send data. This will cause a collision, and when you have a collision, both data signals are now useless. Normally, when a collision occurs, the voltage on the wire changes because essentially both voltages have hit each other. Now when CSMA/CD is in use, the hosts will detect this voltage spike and generate a JAM signal. So now both hosts that were involved in the collision are going to invoke a random backoff timer, before they attempt to resend the data. Once the backoff timer has expired, both hosts will go through the listen and transmit process again.
Ethernet Types and Standards
10Base-T is specified by 802.3 and the T stands for twisted pair cable. The maximum length of a 10Base-T cable is 100m. Twisting pairs of wires inside the cable cuts down on the possibility of electromagnetic interference.
The first Ethernet standards were 10Base-5 and 10Base-2.
Ethernet is considered a logical bus topology.
Fast Ethernet is defined by 802.3u. Defined by 802.3z and 802.ab is Gigabit Ethernet. Gigabit Ethernet has a maximum capacity of 1000MBPS.
Standard Ethernet cabling type is Category 5 UTP(Unshielded Twisted Pair) and is normally terminated with a RJ-45 connector. In Cat 5, pins 1 and 2 Transmit, and 3 and 6 Receive.
Crosstalk is caused by electromagnetic interference. Essentially,a signal crosses over from one pair of cables to another, causing the signals to become unusable. NEXT is Near End Cross Talk and and FEXT is Far End Cross Talk. PSNEXT is Power Sum Near End Cross Talk.
Ethernet Addressing
Ethernet Addresses are MAC Addresses – MAC stands for Media Access Control. The MAC Address is a 48 Bit Address expressed in Hex. The first half of the MAC is the Organisationally Unique Identifier(OUI), the second half is chosen by the vendor that created the NIC. The MAC address is usually burnt into the card. There are broadcast and multicast MAC Addresses.
The broadcast MAC Address is all F’s. FF-FF-FF-FF-FF-FF. There is a range of Multicast MAC addresses and the first half of a Multicast MAC Address is always 0100.5e. The second half of a multicast MAC address will fall in the range 00-00-00 to 7F-FF-FF.