Networking and Telecommunications 8 WAN Notes 1 1212020

  • Slides: 43
Download presentation
Networking and Telecommunications 8. WAN Notes 1 12/1/2020

Networking and Telecommunications 8. WAN Notes 1 12/1/2020

Wan Info n n n 2 Wan - wide area network Why? lans -->

Wan Info n n n 2 Wan - wide area network Why? lans --> wan Rutgers examples (buildings on campus, backbones, intercampus, internet) 12/1/2020

12/1/2020 3

12/1/2020 3

Terms n n n 4 Routing routing table ip address(32 bit) Mac address ethernet

Terms n n n 4 Routing routing table ip address(32 bit) Mac address ethernet address(48 bit) 12/1/2020 n n n broadcast load balancing encapsulation/deencapsulation TCP/IP Internet

Every Machine Uniquely identified by: n n Name (fully qualified domain name) clam. rutgers.

Every Machine Uniquely identified by: n n Name (fully qualified domain name) clam. rutgers. edu Ethernet address (mac address) 08: 00: 20: 73: 75: 5 a n n n 5 48 bits 12 hex digits burnt into nic 12/1/2020

Identity! n ip address (using tcp/ip)165. 230. 99. 70 n n n 6 32

Identity! n ip address (using tcp/ip)165. 230. 99. 70 n n n 6 32 bits 4 parts (8 bits each part, 0 -255) Decimal (note - ip address encapsulated within data part of ethernet packet) Configurable by system admin. 12/1/2020

Hardware n transmission media n n n 7 fiber coax TP satellites microwave 12/1/2020

Hardware n transmission media n n n 7 fiber coax TP satellites microwave 12/1/2020 Leased lines: T 1 (1. 544 Mbps) T 3 (44. 5 Mbps) 56 k OC 3 (155 Mbps) OC 12 (622 Mbps) OC 192 (10 gig) n. Fractional T 1 n. Private Lines n. Terminal servers, mux

More Keys n DSL - Digital Subscriber Lines n n n Cable Modems -

More Keys n DSL - Digital Subscriber Lines n n n Cable Modems - shared medium (shared bandwitch). CATV. n 8 dedicated links. 500 meg to 9 gig or more. Must be close (2 -3 miles) of CO security concerns. 12/1/2020

12/1/2020 9

12/1/2020 9

Big 4 Repeaters, Bridges, Switches and Routers n Intelligence n cost increases n 10

Big 4 Repeaters, Bridges, Switches and Routers n Intelligence n cost increases n 10 12/1/2020

Repeater n n n 11 Don’t read addresses on packet Boost signals Extend length

Repeater n n n 11 Don’t read addresses on packet Boost signals Extend length of lan Often Same network/lan (subnet) Physical layer of OSI model (lowest) 12/1/2020

12/1/2020 12

12/1/2020 12

Bridge n n n Read ethernet/mac address of EVERY packet (not ip address) Keep

Bridge n n n Read ethernet/mac address of EVERY packet (not ip address) Keep local traffic local 3 cases n n n 13 Forward packet Don’t forward Not sure 12/1/2020

Bridge Part 2 n n n 14 Splits lan into multiple segments (divide overburdened

Bridge Part 2 n n n 14 Splits lan into multiple segments (divide overburdened lan) Learning bridges Internal tables Data Link layer of OSI model Must be correctly positioned in network layout. 12/1/2020

12/1/2020 15

12/1/2020 15

Router/Gateway n n n 16 Look (read) only at packets addressed to it Ethernet

Router/Gateway n n n 16 Look (read) only at packets addressed to it Ethernet address AND ip addresses Multi-protocol Routes based on ip address Multiple subnets (Multiple nics) 12/1/2020

Router/Gateway Continued… n Major vendors are: n n n Cisco 3 com Bay Networks

Router/Gateway Continued… n Major vendors are: n n n Cisco 3 com Bay Networks Pick BEST path to route packets (using routing tables and load balancing) n Often used to connect buildings to backbone, and to internet (example rutgers) n Upper layer of OSI model n Routing based on ip address (and ethernet address) 17 12/1/2020 n

12/1/2020 18

12/1/2020 18

Switch n n n 19 Dedicated pipes Not shared (compared to hubs which are

Switch n n n 19 Dedicated pipes Not shared (compared to hubs which are a shared medium) Looks at every packets, and reads MAC address (ethernet address) Can be used in a wan (ie. campus backbone) as well as a lan (star topology) Vlans - virtual lans (can be setup via switches) 12/1/2020

12/1/2020 20

12/1/2020 20

12/1/2020 21

12/1/2020 21

Switch – Campus Backbone Blue – Buildings with Routers 12/1/2020 Red - Switches 22

Switch – Campus Backbone Blue – Buildings with Routers 12/1/2020 Red - Switches 22

Routing Protocols n ICMP - Internet Control Message Protocol messages between routers n n

Routing Protocols n ICMP - Internet Control Message Protocol messages between routers n n RIP - Routing Info Protocol n n n Protocol (# hops - best path) lots of broadcasts on network - drawback, older method OSPF - Open Shortest Path First ( best path chosen from # of hops and other criteria (delay, thru put, etc. . ) n 23 dynamic updates. less traffic, popular today 12/1/2020

Other Key Concepts n ARP - address resolution protocol n n RARP - reverse

Other Key Concepts n ARP - address resolution protocol n n RARP - reverse arp n n n 24 have ip address needs ethernet address (send arp broadcast to all nodes on lan) have ethernet address and need ip address. used by systems booting up, to obtain their own ip address rarp servers exists 12/1/2020

n n DNS - Domain Name Service, translate names to ip numbers (and reverse)

n n DNS - Domain Name Service, translate names to ip numbers (and reverse) world wide set of dns services (normally unix machines) n n n 25 n tree hierarchy. Edu. Com. org. Fr. De 12/1/2020

n BOOTP - when client boots up, only knows its own ethernet address n

n BOOTP - when client boots up, only knows its own ethernet address n n n 26 May make bootp request (packet) over network looking for bootp server Bootp server has table of ethernet address, ip address, names, and other info Responds to client Each client has a fixed ip address per ethernet address, one to one correspondence Bootp servers are usually unix boxes 12/1/2020

More Concepts…. n DHCP - Dynamic Host Configuration Protocol. n n 27 Similar to

More Concepts…. n DHCP - Dynamic Host Configuration Protocol. n n 27 Similar to bootp, but the assigned ip addresses can be dynamic (changing). Taken from a pool of ip address. . leases. More popular then bootp today DHCP servers are usually windows servers or unix. 12/1/2020

n NTP - network time protocol n n n 28 Keeps time in sync

n NTP - network time protocol n n n 28 Keeps time in sync worldwide Used on pc, sun and mac clients so that time doesn’t drift locally Important for networks 12/1/2020

Examples of Routing Packets n n Assume an ethernet network at the lowest level,

Examples of Routing Packets n n Assume an ethernet network at the lowest level, and a tcp/ip protocol For any packet to be routed from Point A to Point B, the packets needs the following addresses filled in: n n 29 1. source ethernet address 2. destination ethernet address 3. source tcp/ip address 4. destination tcp/ip address 12/1/2020

Case A n n Sending a packet between Point A and Point B and

Case A n n Sending a packet between Point A and Point B and both systems happen to be on the same lan (subnet) 1. A system always knows its source ethernet address. Why? Its burnt in. . . hard coded in NIC 2. How does a system find its source ip address? n n 30 hard coded in a table on the system (like /etc/hosts in unix) using bootp (from a bootp server) or dhcp (dhcp server) rarp request (given ethernet address, find ip address. RARP - Reverse Address Resolution Protocol 12/1/2020

3. Now, what about the destination ip address? When a user on system A

3. Now, what about the destination ip address? When a user on system A runs an application to send a packet to system B (like email, or ftp, or telnet, or www), the user normally specifies the ip address of the destination system (thus it would be given) or the name of the destination system. If the name is supplied, a DNS server is contacted (Domain Name Service) whose job is to convert a system name to an ip number. 31 12/1/2020

4. What about the destination ethernet address? Either the sending system has the ethernet

4. What about the destination ethernet address? Either the sending system has the ethernet address of all systems on the lan stored in a table (like /etc/ethers in unix), or its loaded in cache memory, or an ARP (address resolution protocol). ARP is a broadcast on the local net, to request an ethernet address from the given ip address (the system with the matching ip address should respond). All this information is then filled in the packet, and the packet is then sent. Done. 32 12/1/2020

Case B Passing a packet from System A to another system (system B), which

Case B Passing a packet from System A to another system (system B), which is on another side of a gateway (another lan). (could be several lans/gateways away. . . maybe far away on the internet). 1. and 2. The source ethernet address and ip address are obtained as above. 33 3. The destination ip address is obtained as above also. 12/1/2020

4. The destination ethernet address is found in a different manner, since the destination

4. The destination ethernet address is found in a different manner, since the destination machine in not on the same subnet (lan). (A machine can tell the packet is going to a different subnet by looking at the destination ip address). Because of this ARP cant be used (ARP broadcasts are limited to a given subnet). . 34 12/1/2020

Instead of trying to discover the destination ethernet address, of system b, the packet

Instead of trying to discover the destination ethernet address, of system b, the packet is sent on the network with the destination ethernet address of the gateway/router. . . and it’s the routers responsibility to pass on the packet. [That is why the router only reads packets addressed to it]. When the gateway/router receives the packet, it will take off its ethernet address. . . then look inside the packet at the destination ip address and decide whether the packet goes to some local subnet or to another gateway/router. 35 12/1/2020

If to another gateway/router, the routing tables are searched and the ethernet address of

If to another gateway/router, the routing tables are searched and the ethernet address of the next gateway is put onto the packet. If the packet goes to a local subnet, the gateway just addresses that packet to the correct system (a gateway/router should know the ethernet address of all nearby systems on all connected subnets). 36 12/1/2020

Long Distance WAN/ Campus Backbones n n n X. 25 - old standard for

Long Distance WAN/ Campus Backbones n n n X. 25 - old standard for packet switching network Gigabit Ethernet ATM (Asynchronous Transfer Mode) n n 37 Fast, good for voice, data, video, speeds of 155 and 600+ Mbps Scalability, within lan, interconnect lans, campus backbone, and WAN (still expensive at lan level, used mostly in wan) 12/1/2020

12/1/2020 38

12/1/2020 38

12/1/2020 39

12/1/2020 39

Other Wan Interesting Facts • Underwater Cables – 1956 1 st underwater cable between

Other Wan Interesting Facts • Underwater Cables – 1956 1 st underwater cable between Europe and US. Handled 36 simult. Phone calls – 1988 – 1 st fiber underwater cable. 40, 000 simultaneous calls – Today over 2. 4 million calls per cable • Microwave Towers – Line of Sight, 20 to 30 miles between – Can be interfered with bad weather 12/1/2020 40

 • Satellite – 22, 300 miles above earh (geosynchronous orbit) – Propagation delay

• Satellite – 22, 300 miles above earh (geosynchronous orbit) – Propagation delay – 90 Mbps trasmission speed, expensive, security issues 12/1/2020 41

Baseband vs. Broadband • Baseband Network – digital. Single signal. – Most Lans are

Baseband vs. Broadband • Baseband Network – digital. Single signal. – Most Lans are baseband • Broadband Network – analog. Multiple signals/channels. Normally Coax. Like CATV (Cable TV). • Note – Broadband has another definition. Any high speed circuit faster then a normal modem (56 k). Like DSL or CATV. 12/1/2020 42

THE END 43 12/1/2020

THE END 43 12/1/2020