290 likes | 302 Views
Learn the differences between switches, bridges, and routers in networking. Explore how they operate at different layers and facilitate communication across various networks. Discover the complexities of providing universal service and maintaining network illusions in multiple locations. Delve into WANs vs. LANs, the significance of routers and switches, and the concept of virtual networks.
E N D
Ch. 20 Q and A IS333, Spring 2016 Victor Norman
Switch/bridge vs. router Q: What exactly is the difference between a switch, bridge, and router? I understand they both connect two or more arbitrary networks, so how exactly are they different? A: Switches and bridges operate at layer ____. A router is at layer 3. So, it connects LANs. LANs can have different layer 2s. How could we communicate between machines on different layer 2s? Answer: a router that speaks both layer 2s, and somehow translates. But, the machines have to be able to identify each other and have a common “language”. So, layer 3 is that common language – IPv4.
How many LANs can a router connect? Q: What I found interesting was the fact that commercial routers exist that allow for connection of more than two physical networks but these aren't often used because it restricts data flow and redundancy. I would have thought that a single router would have been the better option. A: You must have misunderstood the reading. Most routers do connect many 10s of LANs.
Universal Service • Means every computer can talk “directly” with every other one. • A message is not addressed to an intermediate location, which would then have to re-label it for delivery. Q: What is the main difficulty with providing universal service? A: Scalability, I’d say. How to label every machine uniquely so every machine can send “directoly” to any other machine. And how to find these other machines?
Internet, internet, intranet Q: The book refers to the internet and the Internet (capitalized). Can you go into more detail on the difference? A: The Internet is the global network where every machine must have a unique IP address. An internet is a local network (of connected LANs), e.g., inside a company. • Often called an “intranet”.
Multiple locations on one network? Q: Can you answer in detail how a company with multiple locations maintains a one network illusion? I understand that they use internet routing but how does that work with their ISP? A: I’ll draw a picture.
Does a computer know a router is there? Q: In the book, the author says that a network "treats a connection to a router the same as a connection to any other computer" (pg.337). Does this mean that one of the distinctions between a router and a switch is that the computer actually knows the router is there, whereas a computer does not know that a switch is there? A: Yes!! The computer will use the router to forward packets to networks on the other side of the router.
WAN vs. LAN Q: How is a WAN different from a LAN? A: They both connect computers together. LANs use Ethernet/WiFi mostly, but these have distance restrictions. WANs use ATM, MPLS, etc. LAN is shared by one organization; WAN is shared by multiple organizations contracting with the owner. WANs have lower bandwidth rates – because they are shared by so many organizations.
Air Gap • Used to be that different networks had an “air gap”, which wasn’t desirable then. • Now, for security some networks have an air gap • the network is not connected to any other network at all. • Bad guys have tried to jump the air gap by listening to key strokes on one machine to hear passwords, etc., across the gap.
Representing networks in pictures • There may be confusion with picture on page 337. • A cloud is used to represent routers and/or hosts connected together in a network.
Connecting networks Q: Do routers need to be physically connected to each other to connect networks? If so, is there a cable going out to Hawaii and other islands like the cable that crosses the Atlantic? Is there a cable that goes under the Pacific too that connects the US to Asia? A: All right: videos, etc. Submarine cable map; sled; boat; repeaters, etc. (about 5 minutes in)
Router with Ethernet and Wifi Q: How does a router connect an Ethernet network to a Wi-Fi network? Is it mostly through software applications? A: It has an interface for each. A port for the ethernet connection, and an antenna for the wifi. Each interface can be configured.
Unorganized internet Q: I found it very interesting that the internet does not consist of a single centralized router. The figure on page 340 shows this well and I never realized that the internet is so "unorganized". Picture of Level3 network only.
Router size Q: How many networks can a router connect? Is the limitation on the number of networks processor speed? And how actively are routers actually managed? A: Routers can have hundreds of interfaces and connect many thousands of networks on those interfaces. The limit is the memory and processor speeds. Routers are managed through network management tools, like HP OpenView. They use SNMP to get stats from the router periodically and use rules to determine if there is a problem.
Virtual Networks Q: What is a virtual network? A: IP at layer 3 does not need to know about which layer 2 is being used to forward the packets across the networks. It just assumes the layer 2s can do it, as best as they can. Thus, it “virtualizes” layers 1 and 2. Networks differ at layer 2 and below. At layer 3 and above, they are all the same – IP and protocols above it.
Heterogeneous Networks Q: What is it that makes a network heterogeneous? Do they mean different operating systems, or something else? A: The author means networks that use different Layer 2 protocols. E.g., my DSL modem/router at home talks over a virtual circuit to AT&Ts equipment, but in the house it is wired and wireless Ethernet. And, we have no idea how the data is carried in the “middle” of the Internet.
Virtual Network Q: A virtual network seems like the perfect scenario, why don't people use these more often? A: The Internet is a virtual network (by some definition). It appears to be one big network, when really is a conglomeration of many networks, connected by routers.
Shared drives == Universal Service? Q: So are the shared drives/networks that one can access on all computers (like the W:/Glacier drive) a part of universal service? A: That is not what the author means. He means all computers on the Internet can talk to each other. That does not mean they have the authorization to access services within companies’/schools’ networks.
Router definition Q: What exactly is a router? Is it like a switch that is built to connect with any technology and is connected to another network? A: It operates at Layer 3, connecting multiple networks. These networks might use different layer 2s (Ethernet, ATM, ISDN, etc.). The router can move data between the networks if it has the correct port types and programming to send/receive on those layer 2.
Router definition (2) Q: What is the difference between a router and a switch? A: A switch is at layer 2. A router at layer 3. A router gets a packet from a layer 2 interface. The software strips off the layer 2 header. Then the router software inspects the layer 3 header and figures out how to forward the packet – i.e., which outgoing interface to send the packet on. Then, the packet is re-encapsulated in that interface’s layer 2, and sent.
Router definition (3) Q: Are routers like we use at home generally connected to one other network, or multiple? Are there centralized networks that many others are connected to? A: Routers at home are connected to 2 networks – one inside your house, and one outside. Your router gets an IP address (via DHCP) from your ISP’s router. Many homes are connected to each ISP’s router.
Router definition (4) Q: Is the only difference between a router and a hub/switch that a router connects networks and a hub/switch connects hosts? A: Yes, exactly.
Multiple interface configuration Q: Are router able to interconnect networks because their memory stores the different network technology types somehow? A: Yes! When you configure a router, you tell it what protocols will run on what interfaces.
Ratio of routers and networks Q: (Summarized question). Can one router only connect 2 networks? A: No. Most (non-home) routers connect as many networks as they have ports. So, if you have 8 ports, you can route between 8 different networks. You would use one of the ports to “trunk” traffic to another router or to your ISP.
Routers / different languages Q: So essentially routers are used to bridge networks of differing technologies, is this how different countries bridge networks of different languages? A: Routers connect networks of differing technologies, via a common layer 3 (IP layer). The layer 2 can differ, but every machine speaks the common language, IP, at layer 3.
TCP/IP Q: What does the book mean when it says "Both hosts and routers need TCP/IP protocol software"? A: The whole has adopted IP as its de facto standard (i.e., that’s what everyone uses). So, if you want to play, you use IP. Services on the Internet are offered over TCP, typically. So, your machine better use TCP if you want to get any services. (A router only looks at IP, not TCP (layer 4), in general.)
Internet vs. internet Q: Just to be clear, when people refer to “the Internet”, they are actually referring to their localized internet, and the “Internet” is actually a series of internets...? A: The Internet (capital I) is the global network of networks. A company can have an internet, sometimes called an “intranet”.
Q: So, in the TCP/IP model, the TCP layer (4) is basically used to address the security and reliability of the IP layer (3)? A: TCP provides security and reliability, correct. IP (layer 3) is still best effort – i.e., if it cannot forward a packet, it happily just discards it.