Presentation is loading. Please wait.

Presentation is loading. Please wait.

ITEC 275 Computer Networks – Switching, Routing, and WANs Week 6 Robert D’Andrea 2016.

Similar presentations


Presentation on theme: "ITEC 275 Computer Networks – Switching, Routing, and WANs Week 6 Robert D’Andrea 2016."— Presentation transcript:

1 ITEC 275 Computer Networks – Switching, Routing, and WANs Week 6 Robert D’Andrea 2016

2 Administrative Midterm Exam The midterm exam will be administered the eighth week of the term, February 22 through 27, 2016.

3 Agenda Learning Activities – IP Addressing – Hierarchical structure – Static and Dynamic Assignment – IPv6 – IPv4 to IPv6 Transition Methods – SNMP Monitoring

4 Guidelines for Addressing and Naming Use a structured model for addressing and naming. A topology may be useful for viewing the hierarchy in the network and recognize address boundaries. Assign addresses and names hierarchically Decide in advance if you will use – Central or distributed authority for addressing and naming. Determine who is in charge of delegating addresses and naming conventions. – Public or private addressing (IANA or RFC 1918) – Static or dynamic addressing and naming (DHCP Dynamic Host Configuration Protocol)

5 Advantages of Structured Models for Addressing & Naming Easier to understand by – Reading network maps – Operating network management software – Recognize devices in protocol analyzer traces – Meeting goals for usability – Designing filters on firewalls and routers – Implementing route summarization The Structured Model for addressing provides the IP address with meaning and hierarchical organization.

6 Public IP Addresses Managed by the Internet Assigned Numbers Authority (IANA)IANA Users are assigned IP addresses by Internet service providers (ISPs). ISPs obtain allocations of IP addresses from their appropriate Regional Internet Registry (RIR) Internet Assigned Numbers Authority (IANA). IANA allocates IP addresses to the Regional Internet Registries (RIRs)

7 Regional Internet Registries (RIR) American Registry for Internet Numbers (ARIN) serves North America and parts of the Caribbean. American Registry for Internet Numbers (ARIN) RIPE Network Coordination Centre (RIPE NCC) serves Europe, the Middle East, and Central Asia. RIPE Network Coordination Centre (RIPE NCC) Asia-Pacific Network Information Centre (APNIC) serves Asia and the Pacific region. Asia-Pacific Network Information Centre (APNIC) Latin American and Caribbean Internet Addresses Registry (LACNIC) serves Latin America and parts of the Caribbean. Latin American and Caribbean Internet Addresses Registry (LACNIC) African Network Information Centre (AfriNIC) serves Africa. African Network Information Centre (AfriNIC)

8 Static Vs. Dynamic Addressing Bases for addressing criteria – The number of end systems – The likelihood of needing to renumber – The need for high availability – Security requirements – The importance of tracking addresses – Whether end systems need additional information – (DHCP can provide more than just an address)

9 IPv4 Address Classes ClassesRangeCIDRSubnet Mask A1 – 126/8255.0.0.0 B128 - 191/16255.255.0.0 C192 - 223/24255.255.255.0 D224 – 239N/AMulticast E240 – 255N/A

10 Private IPv4 Addresses StartEnd No. of addresses 24-bit block (/8 prefix, 1 × A) 10.0.0.010.255.255.25516777216 20-bit block (/12 prefix, 16 × B) 172.16.0.0172.31.255.2551048576 16-bit block (/16 prefix, 256 × C) 192.168.0.0192.168.255.25565536

11 IPv4 Addresses Class Bits Traditional routing, also known as classful routing. No information is transmitted about the prefix length. The hosts and router examine the first three bits of the IP address to determine its class. Class A 00000000 = 0 01111111 = 127

12 IPv4 Addresses Class Bits Class B 10000000 = 128 10111111 = 191 Class C 11000000 = 192 11011111 = 223

13 IPv4 Addresses Caveats 1.Network ID zero is always reserved as the universal gateway 2.IP addresses 127.0.0.0 – 127.255.255.255 is considered loopback. IP address 127.0.0.1 address is most commonly used address for loopback. 3.Private IP addresses are not routable on the Internet.

14 Parts of an IPv4 Address PrefixHost 32 Bits Prefix Length

15 An IPv4 address is accompanied by an indication of the prefix length Classful dotted-decimal notation subnet mask 192.168.55.1 255.255.255.0 Classless Inter Domain Routing (CIDR) / Length 192.168.55.1/24

16 IPv4 Address Subnet Notations Subnet size 32 bits long (4 octets) Specifies which part of an IP address is the network/subnet field and which part is the host field – The network/subnet portion of the mask is all 1s in binary. – The host portion of the mask is all 0s in binary. – Convert the binary expression back to dotted-decimal notation for entering into configurations. Alternative IPv4 address representation – Use slash notation (for example /24) – Specifies the number of 1s

17 IPv4 Address Subnet Notation Classless Inter Domain Routing (CIDR) notation identifies the prefix length with a length field, followed by a slash. Example: 10.1.0.1/16 The prefix length is 16 bits long. The subnet mask would be 255.255.0.0.

18 Shorthand Subnet Mask BinaryDecimalShorthandCIDR 10000000128/25 11000000192/26 11100000224/27 11110000240/28 11111000248/29 11111100252/30 11111110254/31 11111111255/32 The shorthand notations represent how many bits are used in the subnet mask. The minimum subnet mask for a Class C address must be 255.255.255.0, which is 24 bits (8 bits in each octet), or CIDR notation /24.

19 Shorthand Subnet Mask Prefix sizeNetwork mask Available subnets Usable hosts per subnet Total usable hosts /24255.255.255.01254 /25255.255.255.1282126252 /26255.255.255.192462248 /27255.255.255.224830240 /28255.255.255.2401614224 /29255.255.255.248326192 /30255.255.255.252642128 /31255.255.255.2541282 * 256

20 Shorthand Subnet Mask * The prefix size /31, is only achievable when using a point-to-point type network connection.

21 Shorthand Subnet Mask 2^0 = 1 2^1 = 2 2^2 = 4 2^3 = 8 2^4 = 16 2^5 = 32 2^6 = 64 2^7 = 128 2^8 = 256

22 Subnet Mask Example 11111111 11111111 11111111 00000000 What is this in slash notation? What is this in dotted-decimal notation?

23 Subnet Mask Example 11111111 11111111 11111111 00000000 What is this in slash notation? /24 What is this in dotted-decimal notation? 255.255.255.0

24 Subnet Mask Example 11111111 11111111 11110000 00000000 What is this in slash notation? What is this in dotted-decimal notation?

25 Subnet Mask Example 11111111 11111111 11110000 00000000 What is this in slash notation? /20 What is this in dotted-decimal notation? 255.255.240.0

26 One More Subnet Mask Example 11111111 11111111 11111000 00000000 What is this in slash notation? What is this in dotted-decimal notation?

27 One More Subnet Mask Example 11111111 11111111 11111000 00000000 What is this in slash notation? 21 What is this in dotted-decimal notation? 255.255.248.0

28 Private and Public Addresses

29 Private IPv4 Addresses Caveat with Private Addressing Outsourcing network management responsibilities to an outside vendor. With private addressing, the internal networks are not advertised to the outside. NAT problems would occur handling network management protocols like Simple Network Management Protocol (SNMP). Advantages with Private Addressing Any user may use any of the reserved blocks. Typically, a network administrator will divide a block into subnets; for example, many home routers automatically use a default address range of 192.168.0.0 through 192.168.0.255 (192.168.0.0/24 block).

30 Network Address Translation (NAT) Static translations – One private address to one public address – Used for servers that must be visible to the public network Dynamic translations – Many unregistered addresses to one registered address from a pool of addresses (similar to PBX) – Used for workstations that only connect to the public network when required Combination of both translations – Used by most organizations

31 Network Address Translation (NAT) Network Address Translation (NAT) is a methodology of modifying network address information in Internet Protocol (IP) datagram packet headers while they are in transit across a traffic routing device for the purpose of remapping one IP address space into another.

32 Address Usage in the Enterprise Figure 6-3

33 Classful IP Addressing ClassFirst First BytePrefixIntent Few BitsLength A01-126*8Very large networks B10128-19116Large networks C110192-22324Small networks D1110224-239NAIP multicast E1111240-255NAExperimental *Addresses starting with 127 are reserved for IP traffic local to a host.

34 ClassPrefixNumber of Addresses Lengthper Network A82 24 -2 = 16,777,214 B162 16 -2 = 65,534 C242 8 -2 = 254 Division of the Classful Address Space

35 Classless Addressing Prefix/host boundary can be anywhere Less wasteful Supports route summarization Also known as Aggregation Super netting Classless routing Classless inter-domain routing (CIDR) Prefix routing

36 Classless Addressing Classless routing protocols transmit a prefix length with the IP address. This allows classless routing protocols to group networks into one entry and use the prefix length to specify which networks are grouped. Classless routing protocols include RIPv2, EIGRP, OSPF, BGP, and IS-IS.

37 Definitions Sub-netting is when you take one large network and break it into a bunch of smaller networks. A subnet mask is a 32-bit value that allows the recipient of IP packets to distinguish the network ID portion of the IP address from the host ID portion of the IP address. The 1s in the subnet mask represent the position referred to as the network or subnet addresses.

38 Routing Protocols Distance vector finds the best path to a remote network by judging distance. Each time the packet goes through a router, that’s called or considered a hop. Link State, also called shortest path first protocols, the routers each create three separate tables. One to keep track of directly attached neighbors. A second table to determine the topology of the entire internetwork. The third table is used as a routing table.

39 Routing Protocols With a Distance Vector protocol, the path or 'route' chosen would be from A to B directly over the ISDN serial link, even though that link is about 10 times slower than the indirect route from A to C to D to B. A Link State protocol would choose the A to C to D to B path because it's using a faster medium (100 Mb Ethernet). In this example, it would be better to run a Link State routing protocol, but if all the links in the network are the same speed, then a Distance Vector protocol would be the best choice.

40 Supernetting Move prefix boundary to the left Branch office advertises 172.16.0.0/14 172.16.0.0 172.17.0.0 172.18.0.0 172.19.0.0 Branch-Office Networks Enterprise Core Network Branch-Office Router

41 Addressing Hierarchy Figure 6-6 – Page 387

42 Summary 192.168.0/21 Route summarization Figure 6-5 – Page 386

43 172.16.0.0/14 Summarization First Octet in Decimal First Octet in binary 172 10101100 Second Octet in DecimalSecond Octet in Binary 16 000100 00 17 000100 01 18 000100 10 19 000100 11

44 172.16.0.0/14 Summarization First Octet in Decimal First Octet in binary 172 10101100 Second Octet in DecimalSecond Octet in Binary 16 000100 00 17 000100 01 18 000100 10 19 000100 11

45 Dis-Continuous Subnets In traditional classful IP addressing it was assumed that subnets would be contiguous. What that means is basically that to get from one subnet of some major network to any other subnet of that network, you would go through only subnets of that network. For example if you were in subnet 10.10.10.0 and you were going to 10.30.30.0 you might go through 10.20.20.0. That would be contiguous.

46 Dis-Continuous Subnets Dis-contiguous subnets means that to go from one subnet of a network to another subnet of that network you must go through subnets of a different network. For example if you are in subnet 10.10.10.0 and to get to 10.30.30.0 you must go through 172.16.10.0 then that would be dis-contiguous.

47 Dis-contiguous Subnets Area 1 Subnets 10.108.16.0 - 10.108.31.0 Area 0 Network 192.168.49.0 Area 2 Subnets 10.108.32.0 - 10.108.47.0 Router ARouter B

48 Dis-contiguous Subnets Router A advertises access to network 10.0.0.0. Router B ignores the advertisement because it can already get to network 10.0.0.0. This occurs in both directions with the routers. Classless routing protocol is one method for solving this problem.

49 Dis-contiguous Subnets

50 A Mobile Host Mobile Host is a host that moves from one network to another and has a statically defined IP address. The administrator can move a mobile host to another and configure a router with a host-specific route to specify that traffic for the host should be routed through that router. Classless routing protocols match the longest prefix. Example: 10.108.16.0/20 and 10.108.16.1/32

51 A Mobile Host Subnets 10.108.16.0 - 10.108.31.0 Router ARouter B Host 10.108.16.1

52 Is a new technology developed to overcome the limitations of the current standard, IPv4 Combines expanded addressing with a more efficient and feature-rich header to improve scaling Satisfies the increasingly complex requirements of hierarchical addressing that IPv4 does not support IPv6 Addressing

53 Larger address space: – IPv6 addresses are 128 bits, compared to IPv4's 32 bits – Allows more support for addressing hierarchy levels – A much greater number of addressable nodes – Simpler auto-configuration of addresses Globally unique IP addresses: – Every node can have a unique global IPv6 address – Eliminates the need for NAT. Site multi-homing: – IPv6 allows hosts to have multiple IPv6 addresses – Allows networks to have multiple IPv6 prefixes – Sites can have connections to multiple ISPs without breaking the global routing table IPv6 Address Features

54 Header format efficiency: – A simplified header with a fixed header size makes processing more efficient. Improved privacy and security: – IPsec is the IETF standard for IP network security, available for both IPv4 and IPv6. Although the functions are essentially identical in both environments, IPsec is mandatory in IPv6. IPv6 also has optional security headers. IPv6 Features (continued)

55 Flow labeling capability: – A new capability enables the labeling of packets belonging to particular traffic flows for which the sender requests special handling, such as non default quality of service (QoS) or real-time service. Increased mobility and multicast capabilities: – Mobile IPv6 allows an IPv6 node to change its location on an IPv6 network and still maintain its existing connections. With Mobile IPv6, the mobile node is always reachable through one permanent address. A connection is established with a specific permanent address assigned to the mobile node, and the node remains connected no matter how many times it changes locations and addresses IPv6 Features (continued)

56 IPv6 Dynamic addressing supports both static and dynamic addressing Dynamic addressing is referred to as auto-configuration and is made up of two components. Part 1: Stateful auto-configuration method, hosts retrieve addresses and other information from a server set up with a database. Part 2: Stateless auto-configuration method, a hosts generates it’s own address using locally available information. This includes advertised information from routers. The process starts by generating a link-local address for an interface. This involves combining the well-known link-local prefix (fe80::/10) with a 64 bit interface identifier. IPv6 Features (continued)

57 The format is x:x:x:x:x:x:x:x, where x is a 16-bit hexadecimal field – 2035:0001:2BC5:0000:0000:087C:0000:000A Leading 0s within each set of four hexadecimal digits can be omitted, and replaced with a pair of colons (::), once within an address, to represent any number of successive 0s. – 2035:1:2BC5::87C:0:A IPv6 Address Format

58 Link-local address: The host configures its own link-local address autonomously, using the link-local prefix fe80::0/10 and a 64-bit identifier for the interface, in an EUI-64 format. A link-local address is a network address that is valid only for communications within the network segment (link) or the broadcast domain that the host is connected to. Link-local addresses are usually not guaranteed to be unique beyond a single network segment. IPv6 Addresses

59 IPv6 Addresses Link Local Prefix

60 A link-local address is a network address that is valid only for communications within the network segment (link) or the broadcast domain that the host is connected to. Link-local addresses are usually not guaranteed to be unique beyond a single network segment. Routers therefore do not forward packets with link-local addresses. IPv6 Addresses

61 For protocols that have only link-local addresses, such as Ethernet, hardware addresses that the manufacturer delivers in network circuits are unique, consisting of a vendor identification and a serial identifier. Link-local addresses for IPv4 are defined in the address block 169.254.0.0/16, in CIDR notation. In IPv6, they are assigned with the fe80::/10 prefix. IPv6 Addresses

62 The link-local address is useful in the context of a single link or network. IPv6 link- local addresses can be configured automatically on an interface. Link-local addresses serve as a way for connecting devices on the same local network without the need for globally unique addresses. A router utilizing IPv6 must not forward packets that have either link-local source or destination address. IPv6 Addresses

63 Link-local addresses are used in neighbor discovery and in stateless auto-configuration process. Media access control (MAC) addresses are used in local broadcast networks, such as Ethernet which are link-local addresses. Such devices are configured with an address in hardware by the manufacturer. IPv6 Addresses

64

65 Stateless auto-configuration: A router on the link advertises—either periodically or at the host's request—network information, such as the 64-bit prefix of the local network and its willingness to function as a default router for the link. Hosts can automatically generate their global IPv6 addresses by using the prefix in these router messages; the hosts do not need manual configuration or the help of a device such as a DHCP server. IPv6 Addresses

66 Stateful using DHCP for IPv6 (DHCPv6): DHCPv6 is an updated version of DHCP for IPv4. DHCPv6 gives the network administrator more control than stateless auto-configuration and can be used to distribute other information, including the address of the DNS server. DHCPv6 can also be used for automatic domain name registration of hosts using a dynamic DNS server. DHCPv6 uses multicast addresses. IPv6 Addresses

67 IPv6 Aggregatable Global Unicast Address Format FPFormat Prefix (001) TLA IDTop-Level Aggregation Identifier RESReserved for future use NLA IDNext-Level Aggregation Identifier SLA IDSite-Level Aggregation Identifier Interface IDInterface Identifier 3 13 8 24 16 64 bits FPTLA ID RESNLA ID SLA ID Interface ID Public topology Site Topology

68 Upgrading to IPv6 Dual stack Tunneling Translation

69 Dual-Stack A dual-stack node enables both IPv4 and IPv6 stacks. Applications communicate with both IPv4 and IPv6 stacks; the IP version choice is based on name lookup and application preference. This is the most appropriate method for campus and access networks during the transition period, and it is the preferred technique for transitioning to IPv6. A dual-stack approach supports the maximum number of applications.

70 Tunneling Figure 2-25

71 Translation Dual-stack and tunneling techniques manage the interconnection of IPv6 domains. For legacy equipment that will not be upgraded to IPv6 and for some deployment scenarios, techniques are available for connecting IPv4-only nodes to IPv6-only nodes, using translation, an extension of NAT techniques.

72 Guidelines for Assigning Names Names should be – Short – Meaningful – Unambiguous – Distinct – Case insensitive Avoid names with unusual characters – Hyphens, underscores, asterisks, and so on

73 Map names to IP addresses Supports hierarchical naming – example: frodo.rivendell.middle-earth.com A DNS server has a database of resource records (RRs) that maps names to addresses in the server’s “zone of authority” Client queries server – Uses UDP port 53 for name queries and replies – Uses TCP port 53 for zone transfers Domain Name System (DNS)

74 DNS Details Client/server model Client is configured with the IP address of a DNS server – Manually or DHCP can provide the address DNS resolver software on the client machine sends a query to the DNS server. Client may ask for recursive lookup.

75 DNS Recursion A DNS server may offer recursion, which allows the server to ask other servers – Each server is configured with the IP address of one or more root DNS servers. When a DNS server receives a response from another server, it replies to the resolver client software. The server also caches the information for future requests. – The network administrator of the authoritative DNS server for a name defines the length of time that a non- authoritative server may cache information.

76 DNS Root Zone The DNS root zone is the top-level DNS zone in the hierarchical namespace of the Domain Name System (DNS) of the Internet.

77 DNS Root Servers The authoritative name servers that serve the DNS root zone, commonly known as the “root servers”, are a network of hundreds of servers in many countries around the world. They are configured in the DNS root zone as 13 named authorities.

78 List of Root Servers a.root-servers.net198.41.0.4, 2001:503:ba3e::2:30VeriSign, Inc. b.root-servers.net192.228.79.201University of Southern California (ISI) c.root-servers.net192.33.4.12, 2001:500:2::cCogent Communications d.root-servers.net199.7.91.13, 2001:500:2d::dUniversity of Maryland e.root-servers.net192.203.230.10NASA (Ames Research Center) f.root-servers.net192.5.5.241, 2001:500:2f::fInternet Systems Consortium, Inc. g.root-servers.net192.112.36.4US Department of Defence (NIC) h.root-servers.net128.63.2.53, 2001:500:1::803f:235US Army (Research Lab) i.root-servers.net192.36.148.17, 2001:7fe::53Netnod j.root-servers.net192.58.128.30, 2001:503:c27::2:30VeriSign, Inc. k.root-servers.net193.0.14.129, 2001:7fd::1RIPE NCC l.root-servers.net199.7.83.42, 2001:500:3::42ICANN m.root-servers.net202.12.27.33, 2001:dc3::35WIDE Project

79 Root Server Website Who owns root? View: http:// www.root-servers.orghttp:// www.root-servers.org

80 Simple Network Management Protocol (SNMP) Enterprise networks are heterogeneous. In addition to multi-tiered applications, a critical part of the infrastructure consists of network devices and other applications that are vendor specific. However, these devices normally have a Simple Network Management Protocol (SNMP) agent (interface) and this facilitates SNMP monitoring.

81 Simple Network Management Protocol (SNMP) What is SNMP? SNMP stands for Simple Network Management Protocol and is an industry standard for the communication among devices in your IT infrastructure. It is used for collecting information from and sending configuration to devices such as servers, printers, hubs, switches, and routers in your network. SNMP lets you keep an eye on network and bandwidth usage and track important issues such as uptime and traffic levels.

82 SNMP Agent Computer Running SNMP Manager Requests Status Information from Devices Running SNMP Agent

83 Summary Use a systematic, structured, top-down approach to addressing and naming Assign addresses in a hierarchical fashion Distribute authority for addressing and naming where appropriate IPv6 looms in our future

84 Review Questions Why is it important to use a structured model for addressing and naming? When is it appropriate to use IP private addressing versus public addressing? When is it appropriate to use static versus dynamic addressing? What are some approaches to upgrading to IPv6?

85 This Week’s Outcomes IP Addressing Static and Dynamic Assignment IPv4 IPv6 IPv4 to IPv6 Transition Methods SNMP

86 Due this week 5-1 – Concept questions 4 1-5-1 – Network design project – Switches

87 Next week Read chapters 7 in Top-Down Network Design 6-1 – Concept questions 5 FranklinLive session 7

88 Q & A Questions, comments, concerns?


Download ppt "ITEC 275 Computer Networks – Switching, Routing, and WANs Week 6 Robert D’Andrea 2016."

Similar presentations


Ads by Google