CCNA exam success depends on mastering the fundamentals, and two important fundamentals are knowing exactly what the terms "collision domain" and "broadcast domain" mean. In this free Cisco tutorial, we'll take a look at the term "collision domain" and how a collision domain is defined.
A collision domain is an area in which a collision can occur. Fair enough, but what "collision" are we talking about here? We're talking about collisions that occur on CSMA/CD segments, or Carrier Sense Multiple Access with Collision Detection. If two hosts on an Ethernet segment transmit data at exactly the same time, the data from the two hosts will collide on the shared segment. CSMA/CD exists to lessen the chances of this happening, but collisions can still occur. To lessen the chances of collisions occurring, we may decide to create multiple, smaller collision domains.
Let's say we have four hosts on a single Ethernet segment. The entire segment is a collision domain; any data sent by one of the hosts can collide with data sent by any of the other hosts. We have one collision domain containing four devices.
To create smaller collision domains, we'll need to introduce some type of networking device into this example. Hubs and repeaters have their place as far as extending the reach of a network segment and cutting down on attenuation, but these OSI Layer One devices do nothing to define collision domains. We could connect each host into a separate port on a hub (a hub is basically a multiport repeater) and we'd still have one single collision domain with four hosts in it.
The most common and most effective way to create multiple collision domains is to use a switch. If we connect each of these four hosts to their own separate switch port, we would now have four separate collision domains, each with one host; each switch port actually acts as a single collision domain, making collisions between these four hosts impossible.
Passing the CCNA is all about knowing the details of how things work, and knowing CSMA/CD theory and how to define collision domains is one of the many details you've got to master. In the next part of this CCNA tutorial, we'll take a look at broadcast domains, and how defining broadcast domains in the right places can dramatically cut down on unnecessary traffic on your network.
Showing posts with label osi. Show all posts
Showing posts with label osi. Show all posts
Thursday, December 25, 2008
Cisco CCNA Exam Tutorial: Mapping The OSI Model To The TCPIP Model
The OSI model is the model that most networking personnel are familiar with, but to earn your CCNA, you need to know the OSI model, the TCP/IP model, and how the two map to each other.
The four layers of the TCP/IP architecture can be compared to certain levels of the OSI model. It’s important to know what each level of the TCP/IP protocol architecture does, and how these layers map to the OSI model.
The Application Layer of the TCP/IP model performs much the same tasks as the Application, Presentation, and Session layers of the OSI model.
The Transport layer in the TCP/IP architecture is similar to the Transport layer in the OSI model. This layer can use TCP or UDP as well.
The Internetwork layer in the TCP/IP architecture uses IP addresses to determine how packets should be routed. Remember that the OSI model uses IP addresses, or “Layer 3 Addresses”, at the Network layer. The two layers do much the same thing. This layer is also referred to in the TCP/IP model as the Internet layer.
The Network Interface layer in the TCP/IP architecture serves to define the protocols and the hardware needed to actually deliver the data across the network. The Network Interface model does the work of both the Data Link and Physical Layers in the OSI model.
Keeping all this straight can be very confusing when you first start your CCNA studies. Concentrate on the OSI model in your studies, but make sure you know how the TCP/IP model maps to that model and you'll be ready for CCNA exam success!
The four layers of the TCP/IP architecture can be compared to certain levels of the OSI model. It’s important to know what each level of the TCP/IP protocol architecture does, and how these layers map to the OSI model.
The Application Layer of the TCP/IP model performs much the same tasks as the Application, Presentation, and Session layers of the OSI model.
The Transport layer in the TCP/IP architecture is similar to the Transport layer in the OSI model. This layer can use TCP or UDP as well.
The Internetwork layer in the TCP/IP architecture uses IP addresses to determine how packets should be routed. Remember that the OSI model uses IP addresses, or “Layer 3 Addresses”, at the Network layer. The two layers do much the same thing. This layer is also referred to in the TCP/IP model as the Internet layer.
The Network Interface layer in the TCP/IP architecture serves to define the protocols and the hardware needed to actually deliver the data across the network. The Network Interface model does the work of both the Data Link and Physical Layers in the OSI model.
Keeping all this straight can be very confusing when you first start your CCNA studies. Concentrate on the OSI model in your studies, but make sure you know how the TCP/IP model maps to that model and you'll be ready for CCNA exam success!
Wednesday, December 24, 2008
Cisco CCNA Certification Tutorial: Segmenting Your Network
When you're getting started on your CCNA studies on your way to earning this certification, you're swamped with network device types that you're familiar with, but not quite sure how to use. Let's look at these networking devices and their main purposes.
Hubs and repeaters operate at Layer One of the OSI model, and they have one main purpose - regenerating the electrical signal that Layer One technologies carry. This regeneration helps to avoid attenuation, the gradual weakening of a signal. Much like a radio signal, the electric signals that travel at Layer One gradually weaken as they travel across the wire. Hubs and repeaters both generate a "clean" copy of the signal.
While hubs and repeaters can be helpful, they do nothing as far as network segmentation is concerned. The first such device we encounter as we move up the OSI model is the switch. Operating at Layer 2, a switch creates multiple collision domains by default each switch port is considered its own little collision domain. If 12 PCs are connected to a Cisco switch, you have 12 separate collision domains.
Switches can be used to segment the network into smaller broadcast domains, but this is not a default behavior. Virtual LAN (VLAN) configuration segments the network into smaller broadcast domains, since a broadcast sent by a host in one VLAN is heard only by other devices in the same VLAN.
Routers operate at Layer 3 of the OSI model and segment a network into multiple broadcast domains by default. Routers do not forward broadcasts as switches do, making the router the only device of the four we've discussed today that create multiple broadcast domains by default.
Knowing what each of these devices can and cannot do is essential to passing the CCNA and becoming a great network administrator. Good luck to you in both of these goals!
Hubs and repeaters operate at Layer One of the OSI model, and they have one main purpose - regenerating the electrical signal that Layer One technologies carry. This regeneration helps to avoid attenuation, the gradual weakening of a signal. Much like a radio signal, the electric signals that travel at Layer One gradually weaken as they travel across the wire. Hubs and repeaters both generate a "clean" copy of the signal.
While hubs and repeaters can be helpful, they do nothing as far as network segmentation is concerned. The first such device we encounter as we move up the OSI model is the switch. Operating at Layer 2, a switch creates multiple collision domains by default each switch port is considered its own little collision domain. If 12 PCs are connected to a Cisco switch, you have 12 separate collision domains.
Switches can be used to segment the network into smaller broadcast domains, but this is not a default behavior. Virtual LAN (VLAN) configuration segments the network into smaller broadcast domains, since a broadcast sent by a host in one VLAN is heard only by other devices in the same VLAN.
Routers operate at Layer 3 of the OSI model and segment a network into multiple broadcast domains by default. Routers do not forward broadcasts as switches do, making the router the only device of the four we've discussed today that create multiple broadcast domains by default.
Knowing what each of these devices can and cannot do is essential to passing the CCNA and becoming a great network administrator. Good luck to you in both of these goals!
Cisco CCNA Certification Exam Tutorial: The OSI Model’s Physical Layer
To pass your CCNA exam and earn this coveted certification, you've got to master the seven layers of the OSI model and what each layer does. For those of you taking the two-exam path, you can expect quite a few OSI model questions on the Intro exam. In this seven-part series, we'll spend some time taking a look at each of the OSI model layers, starting with the Physical layer.
Often, CCNA candidates ask if the OSI model has any practical uses for network administrators. I used to wonder the same thing, and I can now tell you that the answer is definitely yes!
The OSI model isn't something you want to memorize and then forget about, as using the OSI model gives you a structured approach for troubleshooting. Whenever a network device isn't working properly, I always say to "start at the physical layer". The Physical layer is Layer One of the OSI model, and this is where troubleshooting should always start. Is the device on? Is it properly connected? If everything is fine at Layer One, you just move up to Layer Two, and continue in this structured fashion until the problem is identified.
The Physical layer is the layer at which bits are transmitted over the physical media. There is no routing or switching going on at this layer. The data has been broken down into more manageable pieces until the data takes the form of ones and zeroes at the Physical layer.
Even though there's no routing or switching at the Physical layer, CCNA candidates should be familiar with a couple of network devices that work at Layer One. A repeater is a device that regenerates an electrical signal, allowing the signal to travel longer distances without fading. (The process of an electrical signal gradually fading in strength over distance is "attenuation".) A hub is basically a multiport repeater, and both of these devices are considered Physical layer devices. Ethernet and Token Ring both operate at the Physical layer as well.
Learning the OSI model's Physical layer isn't just important in your CCNA exam studies, it's the first step in any network troubleshooting. After all, your network's end users are going to have a tough time sending print jobs to a printer that's turned off!
Often, CCNA candidates ask if the OSI model has any practical uses for network administrators. I used to wonder the same thing, and I can now tell you that the answer is definitely yes!
The OSI model isn't something you want to memorize and then forget about, as using the OSI model gives you a structured approach for troubleshooting. Whenever a network device isn't working properly, I always say to "start at the physical layer". The Physical layer is Layer One of the OSI model, and this is where troubleshooting should always start. Is the device on? Is it properly connected? If everything is fine at Layer One, you just move up to Layer Two, and continue in this structured fashion until the problem is identified.
The Physical layer is the layer at which bits are transmitted over the physical media. There is no routing or switching going on at this layer. The data has been broken down into more manageable pieces until the data takes the form of ones and zeroes at the Physical layer.
Even though there's no routing or switching at the Physical layer, CCNA candidates should be familiar with a couple of network devices that work at Layer One. A repeater is a device that regenerates an electrical signal, allowing the signal to travel longer distances without fading. (The process of an electrical signal gradually fading in strength over distance is "attenuation".) A hub is basically a multiport repeater, and both of these devices are considered Physical layer devices. Ethernet and Token Ring both operate at the Physical layer as well.
Learning the OSI model's Physical layer isn't just important in your CCNA exam studies, it's the first step in any network troubleshooting. After all, your network's end users are going to have a tough time sending print jobs to a printer that's turned off!
Cisco CCNA Certification: The (Many) Different Kinds Of Switching
When you're studying for your CCNA exam, whether you're taking the Intro-ICND path or the single-exam path, you're quickly introduced to the fact that switching occurs at Layer 2 of the OSI model. No problem there, but then other terms involving switching are thrown in, and some of them can be more than a little confusing. What is "cell switching"? What is "circuit switching"? Most confusing of all, how can you have "packet switching"? Packets are found at Layer 3, but switching occurs at Layer 2. How can packets be switched?
Relax! As you'll see in this article, the terms aren't that hard to keep straight. Packet switching, for example, describes a protocol that divides a message into packets before they're sent. The packets are then sent individually, and may take different paths to the same destination. Once the packets arrive at the final destination, they are reassembled.
Frame switching follows the same process, but at a different layer of the OSI model. When the protocol runs at Layer 2 rather than Layer 3, the process is referred to as frame switching.
Cell switching also does much the same thing, but as the name implies, the device in use is a cell switch. Cell-switched packets are fixed in length. ATM is a popular cell-switching technology.
The process of circuit switching is just a bit different, in that the process of setting up the circuit itself is part of the process. The channel is set up between two parties, data is transmitted, and the channel is then torn down. The circuit-switching technology most familiar to CCNA candidates is ISDN.
Don't let these terms confuse you. The four different terms are describing much the same process. The main difference is that they are occurring at different levels of the OSI model, and using a different transport method to get the data where it needs to go.
Relax! As you'll see in this article, the terms aren't that hard to keep straight. Packet switching, for example, describes a protocol that divides a message into packets before they're sent. The packets are then sent individually, and may take different paths to the same destination. Once the packets arrive at the final destination, they are reassembled.
Frame switching follows the same process, but at a different layer of the OSI model. When the protocol runs at Layer 2 rather than Layer 3, the process is referred to as frame switching.
Cell switching also does much the same thing, but as the name implies, the device in use is a cell switch. Cell-switched packets are fixed in length. ATM is a popular cell-switching technology.
The process of circuit switching is just a bit different, in that the process of setting up the circuit itself is part of the process. The channel is set up between two parties, data is transmitted, and the channel is then torn down. The circuit-switching technology most familiar to CCNA candidates is ISDN.
Don't let these terms confuse you. The four different terms are describing much the same process. The main difference is that they are occurring at different levels of the OSI model, and using a different transport method to get the data where it needs to go.
Cisco CCNA Certification: Defining Broadcast Domains
When you're studying to pass the CCNA exam and earn your certification, you're introduced to a great many terms that are either totally new to you or seem familiar, but you're not quite sure what they are. The term "broadcast domain" falls into the latter category for many CCNA candidates.
A broadcast domain is simply the group of end hosts that will receive a broadcast sent out by a given host. For example, if there are ten host devices connected to a switch and one of them sends a broadcast, the other nine devices will receive the broadcast. All of those devices are in the same broadcast domain.
Of course, we probably don't want every device in a network receiving every single broadcast sent out by any other device in the network! This is why we need to know what devices can create multiple, smaller broadcast domains. Doing so allows us to limit the broadcasts traveling around our network - and you might be surprised how much traffic on some networks consists of unnecessary broadcasts.
Using the OSI model, we find devices such as hubs and repeaters at Layer One. This is the Physical layer, and devices at this layer have no effect on broadcast domains.
At Layer Two, we've got switches and bridges. By default, a switch has no effect on broadcast domains; CCNA candidates know that a switch will forward a broadcast out every single port on that switch except the one upon which it was received. However, Cisco switches allow the creation of Virtual Local Area Networks, or VLANs, that are logical segments of the network. A broadcast sent by one host in a VLAN will not be forwarded out every other port on the switch. That broadcast will be forwarded only out ports that are members of the same VLAN as the host device that sent it.
The good news is that broadcast traffic will not be forwarded between VLANs. The bad news is that no inter-VLAN traffic at all is allowed by default! You may actually want this in some cases, but generally you're going to want inter-VLAN traffic. This requires the use of a router or other Layer 3 device such as a Layer 3 Switch. (Layer 3 Switches are becoming more popular every day. Basically, it's a switch that can also run routing protocols. These switches are not tested on the CCNA exam.)
That router we just talked about also defines broadcast domains. Routers do not forward broadcasts, so broadcast domains are defined by routers with no additional configuration.
Knowing how broadcasts travel across your network, and how they can be controlled, is an important part of being a CCNA and of being a superior network administrator. Best of luck to you in both of these pursuits!
A broadcast domain is simply the group of end hosts that will receive a broadcast sent out by a given host. For example, if there are ten host devices connected to a switch and one of them sends a broadcast, the other nine devices will receive the broadcast. All of those devices are in the same broadcast domain.
Of course, we probably don't want every device in a network receiving every single broadcast sent out by any other device in the network! This is why we need to know what devices can create multiple, smaller broadcast domains. Doing so allows us to limit the broadcasts traveling around our network - and you might be surprised how much traffic on some networks consists of unnecessary broadcasts.
Using the OSI model, we find devices such as hubs and repeaters at Layer One. This is the Physical layer, and devices at this layer have no effect on broadcast domains.
At Layer Two, we've got switches and bridges. By default, a switch has no effect on broadcast domains; CCNA candidates know that a switch will forward a broadcast out every single port on that switch except the one upon which it was received. However, Cisco switches allow the creation of Virtual Local Area Networks, or VLANs, that are logical segments of the network. A broadcast sent by one host in a VLAN will not be forwarded out every other port on the switch. That broadcast will be forwarded only out ports that are members of the same VLAN as the host device that sent it.
The good news is that broadcast traffic will not be forwarded between VLANs. The bad news is that no inter-VLAN traffic at all is allowed by default! You may actually want this in some cases, but generally you're going to want inter-VLAN traffic. This requires the use of a router or other Layer 3 device such as a Layer 3 Switch. (Layer 3 Switches are becoming more popular every day. Basically, it's a switch that can also run routing protocols. These switches are not tested on the CCNA exam.)
That router we just talked about also defines broadcast domains. Routers do not forward broadcasts, so broadcast domains are defined by routers with no additional configuration.
Knowing how broadcasts travel across your network, and how they can be controlled, is an important part of being a CCNA and of being a superior network administrator. Best of luck to you in both of these pursuits!
Subscribe to:
Posts (Atom)