Wednesday, August 14, 2019
Itm 440 Paper on Bonjour
ITM 440-à ? 540 Introduc0on to Data Networking and the Internet 03/03/12 1 Router Architectures â⬠¢? There are 3 steps a router must follow to process and forward a packet to the next hop. ââ¬â? Check an incoming packet for errors and other parameters ââ¬â? Look up the des0na0on address in a forwarding table to determine the proper output port for the packet ââ¬â? Send the packet out the port 03/03/12 2 Router like a Train Roundhouse 03/03/12 3 Router Architecture â⬠¢? Rou0ng can be implemented using soKware based forwarding ââ¬â? e. g small dsl router, linux box, etc â⬠¢? Hardware Based ââ¬â? These are larger routers ith forwarding fabric architectures. â⬠¢? ISP routers , Internet backbone, etc 03/03/12 4 Basic Hardware Routers â⬠¢? Routers are very much like computers. ââ¬â? CPUââ¬â¢s â⬠¢? Several types used not necessarily as powerful as pc ââ¬â? NVRAM (Flash Memory) â⬠¢? Stores router con? gura0ons ââ¬â? DRAM â⬠¢? Shared working storage ââ¬â? ROM â⬠¢? Bootstrap for router OS 03/03/12 5 03/03/12 6 Larger Internet Routers â⬠¢? Fundamental principle is that the func0ons of a router can be split into two dis0nct parts ââ¬â? Rou0ng and control â⬠¢? Handles protocols, management of router, etc ââ¬â? Forwarding packets â⬠¢? Handles actual forwarding f packets â⬠¢? Many packets go straight through this func0on 03/03/12 7 03/03/12 8 Router Access â⬠¢? Console Port ââ¬â? Port for a serial terminal that is the loca0on as the router and is a]ached by a short cable from the serial port on the terminal to the console port on the router (replaced by RJ45) 03/03/12 9 Console Port 03/03/12 10 Router Access â⬠¢? Auxiliary Port ââ¬â? Port for a serial communica0on that is a remote loca0on 03/03/12 11 Router Access 03/03/12 12 Router Access â⬠¢? Network ââ¬â? Can always be managed over the same network onwhich it is rou0ng packets 03/03/12 13 03/03/12 14 ForwardingTable Lookups â⬠¢? Longest Match Rule ââ¬â? Allows a router to determine the best route based on granularity of the masked address. ââ¬â? Used when a network ID is found to match more than one subnet mask ââ¬â? The longest match rule is implemented because the longer the mask found, the be]er granularity the router has in exactly de? ning the correct route. ââ¬â? It is oKen called the best match or the more speci? c route for a given des0na0on 03/03/12 15 â⬠¢? Example: â⬠¢? ââ¬â Received datagram of 200. 40. 1. 1 â⬠¢? ââ¬â Route table lookup found two entries: ââ¬â? 200. 40. 1. 0/24 ââ¬â? 200. 40. 0. 0/16 â⬠¢? ââ¬â Route would use he 200. 40. 1. 0/24 03/03/12 16 03/03/12 17 Dual Protocol Stacks â⬠¢? Hosts can have dual protocol stacks ââ¬â? If the Ethernet type ?eld is 0x800 the packet is hando? to the IPv4 process ââ¬â? If the Ethernet type ?eld is 0x86DD the packet is handed o? to the IPv6 process 03/03 /12 18 03/03/12 19 Tunneling â⬠¢? Tunneling occurs whenever the normal sequence of encapsula0on headers is violated â⬠¢? Four types of tunnels ââ¬â? Host to router ââ¬â? Put a frame into a frame and violate the normal OSI-à ? RM sequence of headers ââ¬â? Router to router â⬠¢? Hosts with duel stack capabili0es can tunnel IPv6 packets to a dual tack router that is only reachable over a series IPv4 only device â⬠¢? Routers with duel stack capability can tunnel IPv6 packets over an IPv4 infrastructure to other routers 20 03/03/12 Tunneling â⬠¢? Router to host ââ¬â? Routers with duel stack capabili0es can tunnel IPv6 packets over an IPv4 infrastructure to a duel stack des0na0on host â⬠¢? Host to Host ââ¬â? Hosts with duel stack capabili0es can tunnel IPv6 packets over an IPv4 infrastructure to other duel stack IP hosts without an intervening router 03/03/12 21 03/03/12 22 Tunneling â⬠¢? The ?rst two methods is when an IPv6 packet is sent to a router nd the endpoint of the tunnel is not the same des0na0on â⬠¢? The last two methods send the encapsulated IPv6 packet directly to the des0na0on host so the IPv4 and IPv6 addresses used correspond to the same host ââ¬â? The source host or router must have the tunnelââ¬â¢s address con? gured ââ¬â? This is called con? gured tunneling 03/03/12 23 Automa0c Tunneling â⬠¢? Does not require special con? gura0on â⬠¢? Uses a special form of the IPv6 address â⬠¢? All duel stack IP hosts recognize the format and encapsulate the IPv6 packet inside an IPv4 packet using the embedded IPv4 address, crea0ng an end to end tunnel ? Hosts that only run IPv6 can also duel stack routers to communicate using a special form of the IPv6 03/03/12 24 03/03/12 25 Tunneling Mechanisms â⬠¢? Manually con? gure tunnels ââ¬â? De? ned in RFC 2893 and both endpoints of the tunnel must have both IPv4 and IPv6 addresses â⬠¢? Generic Rou0ng Encapsula0on (GRE) tunnels â⬠â? Designed to transport non-à ? IP protcols over IP network â⬠¢? IPv4 compa0ble (6over4) tunnels ââ¬â? Also de? ned in RFC 2893 these are automa0c tunnels based on IPv4 compa0ble IPv6 addresses using the :: (Pv4 address) form of IPv6 address 03/03/12 26 Tunneling Mechanisms â⬠¢? 6to4 unnels ââ¬â? Another form of automa0c tunnel de? ned in RFC 3065. They use and IPv4 embedded in the IPv6 address to iden0fy the tunnel endpoint â⬠¢? Intra-à ? site Automa0c Tunnel Addressing Protcol (ISATAP) ââ¬â? Mechanism much like 6to4 tunneling but for local site networks. Uses a special pre? x and the IPv4 address to iden0fy the endpoint 03/03/12 27 6to4 and ISATAP tunnel addressing showing how the 128 bits of the IPv6 address Are structured in each case. (a) 6to4 (b) ISATAP 03/03/12 28 Transi0on Considera0ons â⬠¢? Terminology used for IPv4 to IPv6 transi0on plans for nodes ââ¬â? IPv4 only node: host or outer that implements only IPv4 ââ¬â? IPv6/IPv4 (duel ) node: A host or router that implements both IPv4 and IPv6 ââ¬â? IPv6 only node: A host or router that implements only IPv6 ââ¬â? IPv6 node: A host or router that implements IPv6 ââ¬â? IPv4 node: A host or router that implements IPv4 â⬠¢? Includes IPv6 only and duel node 03/03/12 29 â⬠¢? Includes IPv4 only and duel node Transi0on Considera0ons â⬠¢? The plan also de? nes three types of addresses ââ¬â? IPv4 compa0ble IPv6 address â⬠¢? An address assigned to an IPv6 node that can be used in both IPv6 and IPv4 packets ââ¬â? IPv4 mapped IPv6 address â⬠¢? An address mapped o an IPv4 only node represented as an IPv6 address ââ¬â? IPv6 only address â⬠¢? An address globally assigned to any IPv4/IPv6 only node 03/03/12 30 Ques0ons 03/03/12 31 03/03/12 32 Q1 â⬠¢? 1. Which router, based on the architecture in the ?gure, is probably a small site router? Which is probably a large Internet backbone router? â⬠¢? Although architectures vary, t he router with only memory is likely to be a smaller site router. The router with separate hardware forwarding and control plane is likely the backbone router. 03/03/12 33 Q2 â⬠¢? 2. Which output interface, based on the rou0ng table shown in he ?gure, will packets arriving from the directly a]ached host for IPv4 address 10. 10. 11. 1 use for forwarding? Assume longest match is used. â⬠¢? 64 is 0100 0000, 128 is 1000 0000, and 11 is 0000 1011. All three routes match the ?rst 16 bits. The /18 masks (01 and 10) do not match the address bit pa]ern (00) in posi0ons 17 and 18. So 10. 10. 0. 0/16 is the longest match and the packet will use output interface #1. 03/03/12 34 Q3 â⬠¢? 3. Which output interface will packets for 10. 10. 192. 10 use? Assume longest match is used. â⬠¢? 192 is 1100 0000. Again, all three routes match the ?rst 16 bits.The /18 masks (01 and 10) do not match the address bit pa]ern (11) in posi0ons 17 and 18. So 10. 10. 0. 0/16 is again the longest matc h and the packet will use output interface #1. 03/03/12 35 Q4 â⬠¢? 4. Is 6to4 tunneling automa0c? How many bits will be used for the subnet iden0? er? â⬠¢? Yes, 6to4 automa0c tunnels are de? ned in RFC 3065. Sixteen bits are used for subnet ID. See Figure 9-à ? 9. 03/03/12 36 Q5 â⬠¢? 5. Do the routers require IPv6 support to deliver packets between the two hosts? â⬠¢? No. If IPv6 is not supported on the routers, 6to4 tunneling can be used to deliver packets. 03/03/12 37
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.