Thursday, August 30, 2012

VLAN


What is a VLAN? How to Setup a VLAN on a Cisco Switch
Windows Server 2008 R2 with SP1 builds on the award-winning foundation of Windows Server 2008.

Powerful tools such as Internet Information Services (IIS) version 7.5, updated Server Manager and Hyper-V platforms, Dynamic Memory, RemoteFX, and Windows PowerShell version 2.0 combine to give customers greater control, increased efficiency, and the ability to react to front-line business needs faster than ever before.
Have you ever wondered what a Virtual LAN (or VLAN) is or been unclear as to why you would want one? If so, I have been in your place at one time too. Since then, I have learned a lot about what a VLAN is and how it can help me. In this article, I will share that knowledge with you.
What is a LAN?
Okay, most of you already know what a LAN is but let’s give it a definition to make sure. We have to do this because, if you don’t know what a LAN is, you can’t understand what a VLAN is.
A LAN is a local area network and is defined as all devices in the same broadcast domain. If you remember, routers stop broadcasts, switches just forward them.
What is a VLAN?
As I said, a VLAN is a virtual LAN. In technical terms, a VLAN is a broadcast domain created by switches. Normally, it is a router creating that broadcast domain. With VLAN’s, a switch can create the broadcast domain.
This works by, you, the administrator, putting some switch ports in a VLAN other than 1, the default VLAN. All ports in a single VLAN are in a single broadcast domain.
Because switches can talk to each other, some ports on switch A can be in VLAN 10 and other ports on switch B can be in VLAN 10. Broadcasts between these devices will not be seen on any other port in any other VLAN, other than 10. However, these devices can all communicate because they are on the same VLAN. Without additional configuration, they would not be able to communicate with any other devices, not in their VLAN.
Are VLANs required?
It is important to point out that you don’t have to configure a VLAN until your network gets so large and has so much traffic that you need one. Many times, people are simply using VLAN’s because the network they are working on was already using them.
Another important fact is that, on a Cisco switch, VLAN’s are enabled by default and ALL devices are already in a VLAN. The VLAN that all devices are already in is VLAN 1. So, by default, you can just use all the ports on a switch and all devices will be able to talk to one another.
When do I need a VLAN?
You need to consider using VLAN’s in any of the following situations:
  • You have more than 200 devices on your LAN
  • You have a lot of broadcast traffic on your LAN
  • Groups of users need more security or are being slowed down by too many broadcasts?
  • Groups of users need to be on the same broadcast domain because they are running the same applications. An example would be a company that has VoIP phones. The users using the phone could be on a different VLAN, not with the regular users.
  • Or, just to make a single switch into multiple virtual switches.
Why not just subnet my network?
A common question is why not just subnet the network instead of using VLAN’s? Each VLAN should be in its own subnet. The benefit that a VLAN provides over a subnetted network is that devices in different physical locations, not going back to the same router, can be on the same network. The limitation of subnetting a network with a router is that all devices on that subnet must be connected to the same switch and that switch must be connected to a port on the router.


With a VLAN, one device can be connected to one switch, another device can be connected to another switch, and those devices can still be on the same VLAN (broadcast domain).
How can devices on different VLAN’s communicate?
Devices on different VLAN’s can communicate with a router or a Layer 3 switch. As each VLAN is its own subnet, a router or Layer 3 switch must be used to route between the subnets.
What is a trunk port?
When there is a link between two switches or a router and a switch that carries the traffic of more than one VLAN, that port is a trunk port.
A trunk port must run a special trunking protocol. The protocol used would be Cisco’s proprietary Inter-switch link (ISL) or the IEEE standard 802.1q.
How do I create a VLAN?
Configuring VLAN’s can vary even between different models of Cisco switches. Your goals, no matter what the commands are, is to:
  • Create the new VLAN’s
  • Put each port in the proper VLAN
Let’s say we wanted to create VLAN’s 5 and 10. We want to put ports 2 & 3 in VLAN 5 (Marketing) and ports 4 and 5 in VLAN 10 (Human Resources). On a Cisco 2950 switch, here is how you would do it:
At this point, only ports 2 and 3 should be able to communicate with each other and ports 4 & 5 should be able to communicate. That is because each of these is in its own VLAN. For the device on port 2 to communicate with the device on port 4, you would have to configure a trunk port to a router so that it can strip off the VLAN information, route the packet, and add back the VLAN information.
What do VLAN’s offer?
VLAN’s offer higher performance for medium and large LAN’s because they limit broadcasts. As the amount of traffic and the number of devices grow, so does the number of broadcast packets. By using VLAN’s you are containing broadcasts.
VLAN’s also provide security because you are essentially putting one group of devices, in one VLAN, on their own network.
Article Summary
Here is what we have learned:
  • A VLAN is a broadcast domain formed by switches
  • Administrators must create the VLAN’s then assign what port goes in what VLAN, manually.
  • VLAN’s provide better performance for medium and large LAN’s.
  • All devices, by default, are in VLAN 1.
  • A trunk port is a special port that runs ISL or 802.1q so that it can carry traffic from more than one VLAN.
  • For devices in different VLAN’s to communicate, you must use a router or Layer 3 switch.
  • Even if you've worked on Cisco networks for a while, be sure to check out TrainSignal's

Sunday, June 10, 2012

Wide area network

A Wide Area Network (WAN) is a telecommunication network that covers a broad area (i.e., any network that links across metropolitan, regional, or national boundaries). Business and government entities utilize WANs to relay data among employees, clients, buyers, and suppliers from various geographical locations. In essence this mode of telecommunication allows a business to effectively carry out its daily function regardless of location.

 

Types of WAN Technologies

In this article:
  • Introduction
  • Dedicated wan connection or leased line
  • Circuit switched networks
  • Packet switched networks
  • WAN Services






Wide Area Networks (WANs) are used to interconnect networks that are not physically close to each other, might be physically separated across the cities, across regions, or even across geography. Currently there are many WAN technologies available. Primary different between WAN technology and LAN technology is about the distance that separates the interconnected networks. WANs use different transmission media, hardware, and protocols.





Theigure 1 shows WAN connection diagram describes each of WAN elements and functions in the WAN technologies concept.
  1. DTE (Data terminal equipment) is a device on the side of WAN link (resides on the subscribers premises) that sends and receives data. DTE (which is usually a network router, or a computer, or a multiplexer) is a mark point between the LAN and the WAN. DTE is a device that communicates with the DCE at the other end.
  2. Demarcation points (Demarc) is the points as the network interface or point of presence where the telephone wiring company connects to the clients.
  3. Local loops is the cable that extends from the demarc to the CO (central office) which is maintained by the Telco. It can be UTP, fiber optic, or combination of both and other media.
  4. DCE (data circuit terminating equipment) is a device (which is typically a router at the ISP) that communicates with both DTE and WAN clouds. DCE is a device that supplies clocking signals to DTEs. A modem or CSU/DSU at the customer site can be classified as DCE. DTE and DCE can be similar device / router but with different role and function.
  5. WAN Cloud, the hierarchy of trunks, switches, and CO – central office, that makes up a network telephone lines. Physical structure varies, and different networks with common connection points may overlap, so that’s way it is represented as a Cloud. The important part is that data goes in, travels through the line, and arrives at the destination.
  6. PSE (packet switching exchange) is a switch on a carrier’s packet switched network. PSEs are the intermediary points in the WAN cloud.






Circuit switched networks

circuit switched diagram
This circuit switched WAN connection type gives you an alternative to leased lines, letting you use shared lines. See figure 3 – circuit switched -diagram.  This WAN connection type works both ways, allowing both dial-in and dial-up WAN connections. When you use this circuit switched WAN connection:
  1. The sending computer dials-in to the line and the WAN connection is set up.
  2. The receiving computer sends acknowledgement and locks the line.
  3. The sending computer transmit the data over this WAN connection
  4. After the transmission is complete, the connection is released for other users.
A circuit switched network uses switched virtual circuit (SVCs). A dedicated data transmission path is established before communication begins by throwing electrical switches. The path remains until the communication ended.

 
Packet switched networks
Packet switched Diagram
Packet switched networks do not require a dedicated or temporary reserved line. See figure 4 packet-switched diagram.  Instead, a message’s path is dynamically set as the data flows through the network. This WAN connection type has the following characteristics:
  1. Messages are divided into packets.
  2. Packets travel independently through the internetwork (i.e. take different paths)
  3. Packets are reassembled into the correct order at the receiving end
  4. Sending and receiving devices assume an ‘always on’ connection (no dials-up needed)
This wan connection type – packet switched networks use permanent virtual circuits (PVCs). Although a PVC looks like a direct, dedicated WAN connection, the path each packet can take through the internetwork can vary. Dedicated and switched networks have an always available connection to the network but circuit switched networks need to establish connection first via a dial-up mechanism between devices. In a dial-on-demand routing the routers open connections automatically when the data needs to be sent, and will close automatically when the line is idle.