Ch 20 Q and A

29
Ch. 20 Q and A IS333, Spring 2016 Victor Norman

description

Ch 20 Q and A. IS333, Spring 2014 Victor Norman. Heterogeneous Networks. Q: What is it that makes a network heterogeneous? Do they mean different operating systems, or something else? - PowerPoint PPT Presentation

Transcript of Ch 20 Q and A

Page 1: Ch  20 Q and A

Ch. 20 Q and A

IS333, Spring 2016Victor Norman

Page 2: Ch  20 Q and A

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.

Page 3: Ch  20 Q and A

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.

Page 4: Ch  20 Q and A

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?

Page 5: Ch  20 Q and A

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”.

Page 6: Ch  20 Q and A

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.

Page 7: Ch  20 Q and A

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.

Page 8: Ch  20 Q and A

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.

Page 9: Ch  20 Q and A

Old Slides

Page 10: Ch  20 Q and A

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.

Page 11: Ch  20 Q and A

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.

Page 12: Ch  20 Q and A

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)

Page 13: Ch  20 Q and A

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.

Page 14: Ch  20 Q and A

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.

Page 15: Ch  20 Q and A

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.

Page 16: Ch  20 Q and A

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.

Page 17: Ch  20 Q and A

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.

Page 18: Ch  20 Q and A

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.

Page 19: Ch  20 Q and A

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.

Page 20: Ch  20 Q and A

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.

Page 21: Ch  20 Q and A

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.

Page 22: Ch  20 Q and A

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.

Page 23: Ch  20 Q and A

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.

Page 24: Ch  20 Q and A

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.

Page 25: Ch  20 Q and A

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.

Page 26: Ch  20 Q and A

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.

Page 27: Ch  20 Q and A

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.)

Page 28: Ch  20 Q and A

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”.

Page 29: Ch  20 Q and A

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.