Computer networks Part 1

Jun 18, 2009 11:16 AM, By Russell Brown


             
Figure 2: MAC addressing at work with a network router

Figure 2: MAC addressing at work with a network router
Click to enlarge

Switches route data via a device’s MAC address, which is a unique address burned into every network card or device that attaches to the network. When data is sent out from a device and to the network switch, it carries with it the IP and MAC address of the sender and the IP and MAC address of the intended recipient. The network switch looks at the MAC address and routes the data accordingly. (See Figure 2.)

The network switch knows which of its ports is connected to which MAC addressed device because when each device is first connected to the network switch, the switch asks for the device’s MAC address and stores it in a table for later use. The sending device knows what MAC address to send out with the IP address because if it does not have the MAC address in its own Address Resolution Protocol (ARP) cache, then it sends out a request over the network to all devices asking for the MAC address of the owner of this particular IP address. When the device responds again, this data is stored on the sending device as a table (ARP cache).

If the receiving device has been changed out with a new one that has the same IP but different MAC address, then the message sent out has the correct IP but incorrect MAC address; the network switch cannot route it and there is no reply. In this case, the sending device makes another request asking for the MAC address associated with this IP address. Using MAC addresses allows the network device to be addressed and data routed through a switch even before it has an IP address. DHCP is used to find and address a device to assign it a dynamic IP address. Because the switch remembers which port is connected to which MAC address and directs data traffic in an orderly way, this reduces overall network traffic.

There are also managed switches that can perform complex filtering and other functions. These, however, require setup before use and knowledge of how to configure them. One of the advantages of managed switches is their ability to direct all traffic to one of their ports so a computer can analysis the data; this is called port mirroring. This could be done for traffic load analysis to see who is using most of the network’s bandwidth, for example. Another way to gain this type of access is to use a network hub between the switch and the Internet gateway. You won’t see all of your network’s traffic, but you will see all traffic going to and coming from the Internet.

Next time

Put all the pieces together and see a network in action.


Want to use this article?
Click here for options!
Get Copyright Clearance


blog comments powered by Disqus

Related Newsletter

Transition to Digital
A twice per month tutorial on digital technology.

Confused about the terminology in an article? Find definitions of common terms and abbreviations in Broadcast Engineering's Glossary.

 

Browse Back Issues

Featured White Papers

A Mechanism to Recover Lost MPEG / IP Delivery Data in Real Time

sponsored by: Sencore

In the ever advancing world of media content delivery, MPEG over IP (MPEG/IP) has been gaining popularity for a number of reasons. MPEG/IP delivery offers lower costs, higher bandwidth, greater efficiency, and new application possibilities over the traditional methods, such as: Asynchronous Transfer Mode (ATM) and RF networks. Along with the benefits, come a number of challenges. One of the biggest challenges is a mechanism to recover lost data in real-time. This paper will attempt to shed some light on the inner workings of the real-time data recovery mechanism: Pro-MPEG Code of Practice #3 Forward Error Correction (CoP#3 FEC). Read Now

Increase Multi Camera Studio Production with Instant Tapeless Technology

sponsored by: EVS

This white paper introduces you to EVS Instant Tapeless Technology and will explain how to apply it in multi-camera studio production for dramas, series, talk shows, and any other studio productions.... Read Now.

Resources

Broadcast Engineering Newsletters Broadcast Engineering Essential Guides Broadcast Engineering White Papers Broadcast Engineering Videos Broadcast Engineering Podcasts Broadcast Engineering Industry Calendar

Industry Calendar

Broadcast Engineering Glossary of Terms

Glossary

Broadcast Engineering RSS feed

RSS

Interactive Media

Broadcast Engineering Webinars Broadcast Engineering Training Broadcast Engineering Blogs Broadcast Engineering Forums Broadcast Engineering on Facebook

Facebook

Broadcast Engineering JobZone

JobZone

Broadcast Engineering BE Roll

Blog

 

Back to Top