Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Wide Area Networks


Published on

  • Be the first to comment

  • Be the first to like this

Wide Area Networks

  1. 1. Wide Area Networks School of Business Eastern Illinois University © Abdou Illia, Spring 2007 (Week 11, Thursday 3/22/2007)
  2. 2. Learning Objectives <ul><li>Distinguish between LAN and WAN </li></ul><ul><li>Distinguish between </li></ul><ul><ul><li>Circuit Switching Networks </li></ul></ul><ul><ul><li>Datagram Packet Switching Networks </li></ul></ul><ul><ul><li>Virtual Packet Switching Networks </li></ul></ul><ul><li>Understand routing decisions </li></ul>
  3. 3. LAN and WAN <ul><li>LAN = a communication network that interconnects networking devices within a small geographic area using broadcast system . </li></ul><ul><li>WAN = a communication network that interconnects networks and networking devices within a wide geographic area using Point-to-Point system . </li></ul><ul><li>A Point-to-Point system: </li></ul><ul><ul><li>Many connections between individual pairs of stations </li></ul></ul><ul><ul><li>A packet may have to visit one or more intermediate stations </li></ul></ul><ul><ul><li>Multiple routes are possible; so routing decisions have to be made </li></ul></ul>Q: What are the main differences between a LAN and a WAN?
  4. 4. Wide Area Networks basics <ul><li>WANs follows a mesh topology </li></ul><ul><li>Only neighbor devices are connected to each other </li></ul><ul><li>To transmit across the mesh, data has to be passed along a route from node to node </li></ul>Subnet Subnet Subnet Subnet LAN
  5. 5. Wide Area Networks basics <ul><li>A station is a device that interfaces a user to a network </li></ul><ul><li>A station could be: </li></ul><ul><ul><li>a computer (for Data networks) </li></ul></ul><ul><ul><li>a telephone (For Voice networks) </li></ul></ul>
  6. 6. Wide Area Networks basics <ul><li>Data is transferred from node to node through the network </li></ul><ul><li>A Node is a transfer point for passing data through the network </li></ul><ul><li>A Node is often a computer, a router, or a telephone switch </li></ul>Q: What is the difference between a station and a node?
  7. 7. Wide Area Networks basics <ul><li>The subnet is the underlying physical connection of nodes and communication lines that transfer data from one location to another. </li></ul><ul><li>A Subnet is a collection of nodes and different types of transmission media </li></ul>Q: How does the subnet differ from the network?
  8. 8. Types of Subnets <ul><li>Based on the way data is transferred from one end of the subnet to the other: </li></ul><ul><ul><li>Circuit Switching Subnet </li></ul></ul><ul><ul><li>Packet Switching Subnet </li></ul></ul>
  9. 9. Circuit Switching Subnet <ul><li>Traditionally used for Voice networks </li></ul><ul><li>A subnet in which a dedicated circuit is established between sender and receiver and all data passes over this circuit. </li></ul>
  10. 10. Reserved Capacity (Circuit Switching) <ul><ul><li>Circuit capacity is reserved during duration of each communication </li></ul></ul><ul><ul><li>At each switch </li></ul></ul><ul><ul><li>On each trunk line </li></ul></ul>Circuit Reserved Capacity Reserved Capacity
  11. 11. Reserved Capacity <ul><li>Nothing like congestion on the Internet </li></ul><ul><li>Reserved Circuit Capacity is Expensive </li></ul><ul><ul><li>Pay for it whether you use it or not </li></ul></ul><ul><ul><li>Good for voice, because conversations are fairly constant </li></ul></ul><ul><ul><li>Bad for data, because most data transmission is bursty ; e.g., in World Wide Web, download, then stare at screen for a long time until next download </li></ul></ul>Q: What are the main characteristics of Circuit Switching networks?
  12. 12. Packet Switching Subnet <ul><li>Usually used for Data networks </li></ul><ul><li>A subnet in which all data messages are transmitted using fixed-sized packages, called packets. </li></ul><ul><li>Two types of Packet Switching Subnets: </li></ul><ul><ul><li>Datagram Packet Switching Subnets </li></ul></ul><ul><ul><li>Virtual-Circuit Packet Switching Subnets </li></ul></ul>
  13. 13. Datagram Packet Switching Subnet <ul><li>In all types of Packet Switching Subnets, large messages are broken into small pieces called packets </li></ul><ul><ul><li>Packets are short (averaging a few hundred bytes) because most nodes (routers) handle short messages more efficiently </li></ul></ul>Multiplexing on Trunk Line Packet Switching <ul><li>Multiplexing </li></ul><ul><ul><li>Packets from many conversations are mixed ( multiplexed ) over each trunk line </li></ul></ul>Message Packets
  14. 14. Datagram Packet Switching Subnets <ul><li>As each packet arrives at a node a routing decision is made: </li></ul><ul><ul><li>Which route the packet will follow next ? </li></ul></ul><ul><li>This dynamic routing decision allows flexibility should the network experience congestion or failure </li></ul><ul><li>But, a node has to examine each individual packet and determine the next path </li></ul>Router A B? D? C? B C D Packet
  15. 15. Virtual-Circuit Packet Switching Subnets <ul><li>Amount of data broken into n packets </li></ul><ul><li>A virtual circuit (temporary path through the network) is determined </li></ul><ul><li>Note: The virtual circuit is not dedicated (not reserved) </li></ul><ul><li>All n packets transmitted through the virtual circuit </li></ul><ul><li>When transfer completed, virtual circuit dissolved </li></ul>Q:
  16. 16. Routing decisions <ul><li>Many possible routes exist for forwarding a packet. </li></ul><ul><li>How does a router decide which line to transmit on? </li></ul>
  17. 17. Routing decisions <ul><li>A subnet can be viewed as weighted network graph </li></ul><ul><li>A weight is associated to each line </li></ul><ul><li>Weight can be: </li></ul><ul><ul><li>Cost of using the transmission line </li></ul></ul><ul><ul><li>Time delay for transmitting data </li></ul></ul><ul><ul><li>Size of the queue </li></ul></ul>
  18. 18. Routing decisions <ul><li>Different algorithms (or techniques) for selecting a route through a network </li></ul><ul><li>Common algorithms/techniques: </li></ul><ul><ul><li>Dijkstra’s least cost algorithm </li></ul></ul><ul><ul><li>Flooding technique </li></ul></ul><ul><li>Dijkstra’s least cost algorithm </li></ul><ul><ul><li>Calculate the costs for using each route for a given node </li></ul></ul><ul><ul><li>Determine the route that minimize the sum of the costs </li></ul></ul><ul><ul><li>Calculation performed on a periodic basis or when changes happened (connection or node failure for example) </li></ul></ul>
  19. 19. Routing decisions <ul><li>Flooding Routing </li></ul><ul><ul><li>When a packet arrives at a node, the node sends a copy of the packet out every link except the link the packet arrived on </li></ul></ul><ul><ul><li>Traffic grows very quickly when every node floods the packet </li></ul></ul><ul><ul><li>To limit uncontrolled growth, each packet has a hop count . Every time a packet hops, its hop count is incremented. When a packet’s hop count equals a global hop limit, the packet is discarded </li></ul></ul>
  20. 20. Summary Questions <ul><li>How does the subnet differ from the network? </li></ul><ul><li>Answer: The network include: the subnet(s), the stations, the OS & other application software, and the other networking devices & transmission medium needed to connect the stations to the subnet </li></ul><ul><li>What is the difference between a station and a node? </li></ul><ul><li>Answer: A station is the device that interfaces a user to the network. A node is a transfer point for passing data through the network. A node can be a computer, a router, or a telephone switch. </li></ul><ul><li>What are the main characteristics of Circuit Switching networks? </li></ul><ul><li>Answer: In Circuit Switching networks: (1) a dedicated circuit is established between sender and receiver, (2) circuit capacity is reserved during the duration of each communication, at each node (switch) and on each transmission line; (3) no routing decisions are necessary since circuit is dedicated. </li></ul>
  21. 21. Summary Questions <ul><li>What are the main characteristics of Virtual-Circuit Packet Switching networks? </li></ul><ul><li>Answer: (1) Data sent in packets, (2) all packets follow the same virtual circuit, (3) the virtual circuit may be shared with packets from other conversions, (4) no routing decisions except the first one that creates the circuit. </li></ul><ul><li>Name some criteria that routing decisions are based on </li></ul><ul><li>Answer: see slide #17 </li></ul><ul><li>Name two routing algorithms/techniques. </li></ul><ul><li>Answer: see slide #18 </li></ul>
  22. 22. Bridge versus Router Layers Bridge 2-layer device Role Interconnecting LANs or segments of same LAN Router 3-layer device <ul><li>Interconnecting LANs to WANs, and nodes in WANs </li></ul><ul><li>Making routing decisions </li></ul>Ethernet Ethernet Ethernet Token Ring Token Ring Token Ring Transparent bridge Source-routing bridge