Given by Roman Markowski at Lectures at Xi'an Jaotong University on Sept 1998. Foils prepared Dec. 6 98
Outside Index
Summary of Material
Bridging protocols
|
Switching protocols
|
Outside Index Summary of Material
Roman Markowski |
IS Manager |
Northeast Parallel Architectures Center |
September 1998 |
http://www.npac.syr.edu/users/roman/ |
Bridging protocols
|
Switching protocols
|
Routing protocols
|
Bridges and switches divide networks into self-contained units; minimizing traffic |
Kinds of bridging
|
Bridges can filter frames based on: source, destination, upper-level protocols |
Types of bridges
|
Switching - replace bridges and complements routers |
Switches
|
Switches methods
|
Types of switches
|
developed by Digital in the early 1980s |
IEEE 802.1 standard |
transparent bridges are transparent to network hosts; they learn the network topology by analyzing the source addresses of incoming frames from all attached networks |
transparent bridge builds a table (host address, bridge port); the table is called filtering data base; the table is used for traffic forwarding |
transparent bridge reduces the traffic by isolating intra-segment traffic |
without a bridge-to-bridge protocol bridging fails because of a bridging loop; in addition to connectivity problem, proliferation of broadcast messages in networks with loops creates broadcast storms (both bridges will forward broadcast frames endlessly, using all available network bandwidth). On the other hand "a loop" implies the existence of multiple paths improves topological flexibility |
H1 |
H2 |
B1 |
B2 |
H1 |
H1 |
H1,H2 |
H1,H2 |
Spanning Tree Algorithm
|
IBM bridge architecture defined for Token Ring |
IEEE 802.5 specification |
2 numbers defined during configuration: ring number (12 bits) and bridge number (4 bits); the pair of numbers require a network uniqueness. |
Support for parallel routes |
Token |
Ring |
Token |
Ring |
bridge |
Source Route Bridge assumes that the complete source-to-destination route is placed in all inter-LAN frames sent by the source |
Source Route Bridge stores and forwards frames |
Frames: test frame and explorer frame used to discover source-to-destination path between host X and host Y |
After a route is defined and selected, it is inserted into a routing information field (RIF) in frames |
RIF consists of Routing Control Field and Routing Descriptor (up to 13 bridges / hops allowed) |
Allows for unlike LANs to communicate ( for example Ethernet and Token Ring) |
The key to Ethernet to token ring translation is the reverse order of significant bits for the MAC addresses in the destination and source address fields |
Token |
Ring |
bridge |
Ethernet |
There is a few implementations of Translational Bridging |
Bits representing Token Ring functions that have no Ethernet corollary typically are thrown out by translational bridges ( priority, reservation, monitor bits) |
Frame conversion:
|
Translation Challenges (Ethernet vs. Token Ring)
|
Designed by IBM in 1990 |
Allows to inter-operate source route bridges and transparent bridges on the same network |
Routing Information Indicator Bit is used to distinguish transparent bridging frames and source route bridging frames |
SRT bridging permits the coexistence of two incompatible environments (Ethernet and Token Ring) |
Spanning Tree Algorithm and Source Routing Path are used |
LAN switches (developed in 1990)
|
LAN switch supports:
|
LAN switch forwarding
|
LAN switch bandwidth
|
LAN switch vs. OSI RM
|
Components
|
Tag switching can be implemented over any media type (point-to-point, ATM, etc) |
Forwarding component
|
Forwarding component
|
Control component
|
Modules to support routing functions
|
Modules to support routing functions
|
QoS is a tag switch capability based on
|
DLSw provides means of transporting IBM SNA and NetBIOS traffic over an IP network |
Alternative to source-route bridging (SRB), which allows to transport SNA and NetBIOS traffic in Token Ring environment |
IBM solution in 1992 (RFC 1434, 1795) |
The principal difference between SRB and DLSw is in support of local termination
|
Fixed-size cells simplify requirements on the switching hardware (ATM, SMDS)
|
Most suitable to carry voice, video,data,image over the same physical link |
Referred to as cell relay |
Connectionless cell switching DQDB (IEEE 802.6) used by SMDS services; connection-oriented and connection-less used in ATM (53-byte cells) |
Routing - act of moving information across a network from source to destination; routing occurs at Layer 3 of OSI RM; routing became popular in mid-1980s |
Routing components
|
Path determination
|
Routing protocols
|
Routed protocols (network protocols) are transported by routing protocols across an inter-network
|
Routing algorithms
|
RIP is a distance vector protocol that uses hop count as a metric |
widely used in a global Internet |
RIP is an interior gateway protocol - performs routing within a single routing domain (autonomous system) |
"routed" - implementation of RIP shipped with Unix |
AppleTalk RTMP and VINES RTP are based on RIP |
There are 2 RIP specifications : RIP (RFC 1058 (1988)) and RIP 2 (RFC 1723 (1994)) |
RIP Characteristics
|
Developed in the mid-1980s by Cisco Systems |
Robust routing within a routing domain |
many organizations replaced RIP by IGRP (RIP is limited to small networks) |
IGRP works in IP networks and in CLNP (OSI ConnectionLess-Network Protocol) networks |
Enhanced IGRP replaced IGRP in early 1990s |
By default routing tables are updated every 90 sec |
IGRP has a number of features (hold-downs, split-horizons,poison-reverse updates) designed to enhance IGRP stability |
IGRP Characteristics
|
Open System Interconnection protocol suit uses a suite of routing protocols developed by ISO
|
OSI Terminology
|
OSI Terminology
|
area |
area |
ES |
IS |
IS |
IS |
IS |
ES |
domain |
Level 2 |
IS-IS |
based on work done at Digital for DECnet Phase V |
originally developed for CLNP (Connection-Less Network Protocol), then extended to IP (Integrated IS-IS) |
ISO 10589 - specification of IS-IS |
link-state hierarchical routing protocol |
IS-IS packets have complex structure (hello packets, link-state packets, sequence number packets) |
link-state update messages - ISs learn the network topology |
IS-IS distinguishes between Level 1 and Level 2 ISs |
default single metric assigned by an administrator (max path value 1024); optional metrics: delay, expense and error; IS-IS uses these metrics to compute routes through the network. |
ES-IS |
ISO 9542 specification |
defines how hosts (ESs) and routers (ISs) learn about each other ( configuration process) |
it is a "discovery" protocol ( ES hello messages and IS hello messages) |
3 types of sub-networks: point-to-point (like WAN serial), broadcast (like Ethernet), general topology (like X.25) |
IDRP |
ISO 10747 specification |
routing between domains |
operates seamlessly with CLNP, ES-IS, IS-IS |
based on BGP; support for CLNP QoS; reliability |
security (cryptographic signatures on the per-packet basis) |
Terminology:
|
OSPF - developed (1988) for IP networks by IETF ( Internet Engineering Task Force) |
interior gateway protocol |
specification RFC 1247 |
based on SPF (shortest path algorithm = Dijkstra algorithm) developed in 1978 for ARPAnet; and a few other research efforts |
OSPF characteristics
|
AS is divided into areas
|
Link-state routing protocol from Novell designed to overcome some of the limitations associated with the IPX RIP and Service Advertisement Protocol (SAP) |
Based on OSI IS-IS |
Better efficiency, scalability, routing than IPX RIP |
Backwards compatible with RIP |
NLSP-based routers store a complete map of the network |
Routing information is exchanged only when topology changes |
Supports: multicast addressing; parallel paths with load balancing; up to 127 hops (RIP only 15 hops) |
NLSP supports: hierarchical routing ( areas, domains, inter-networks <--> Level 1, Level 2, Level 3) |
Hierarchical addressing scheme:
|
Replaced its predecessor IGRP in early 1990s (by Cisco Systems) |
Integrates capabilities of link-state protocol into distance-vector protocols |
Incorporates Diffusing Update Algorithm (DUAL) |
E-IGRP inter-operates with older IGPR routers and consumes less bandwidth than IGRP routers |
E-IGRP supports
|
Technologies used in E-IGRP:
|
Types of packets: hello and acknowledgment, update, query, replay |
Four routing concepts used by E-IGRP
|
routing technique that allows IP traffic to be sent from one or multiple sources to multiple destinations |
a single packet is sent to a multicast group ( single IP destination group address) |
IP multicasting is similar to IP broadcasting except that instead of all hosts receiving the data, only systems which belong to a multicast host group receive the data. |
a multicast host group is a group of systems which have the same Class D IP destination address (for example 224.99.0.6); Class D covers addresses: 224.0.0.0 - 239.255.255.255 |
multicast must be enabled on hosts and routers. If multicast is not supported, we have to built a tunnel i.e. encapsulate multicast messages in unicast datagrams |
IGMP - Internet Group Membership Protocol (RFC 1112) used to dynamically register hosts in a multicast group with a class D address |
IP multicast routing protocols (communication between routers):
|
IP multicast routing protocols
|
Routing involves 2 activities
|
BGP performs inter-domain routing in TCP/IP networks |
BGP is an exterior gateway protocol (performs routing between multiple autonomous systems or domains and exchanges routing information with other BGP systems) |
BGP was developed to replace its predecessor: EGP (Exterior Gateway Protocol - a particular instance if an exterior gateway protocol) |
RFC 1771, 1654 (obsolete 1105, 1163, 1267) |
autonomous system (routing domain) - portion of inter-network under common administrative authority |
3 types of routing between BGP routers
|
BGP operation
|
Types of BGP messages (version 4)
|
RSVP - Resource Reservation Protocol |
enables Internet applications to obtain special QoS |
it is not a routing protocol, but it works in conjunction with routing protocols |
RSVP is a Transport Protocol in OSI RM ( 4th layer) |
RSVP supports 3 types of traffic
|
RSVP supports unicast and multicast sessions |
QoS requirements are communicated through a network via a flow specification from receiver to sender |
Session set-up
|
RSVP operation
|
RSVP Tunnel
|
RSVP soft state implementation
|
RSVP messages
|
RSVP reservation style
|
CIDR stands for Classless Inter-Domain Routing |
developed to solve IPv4 address space problems
|
Traditional addressing system (classful addressing) - class A,B,C |
Class A |
Class B |
Class C |
1-127 16,777,214 |
128-191 65,534 |
192-223 254 |
The inflexibility of the traditional A-B-C scheme meant addresses were frequently wasted |
CIDR addresses are classless |
The network prefix comprises the network address and the mask: x.y.z.w/22 is equivalent to using a network mask 255.255.252.0 (the first 22 bits identify the network) |
addresses can be supernetted and subnetted (supernetting means combining two or more contiguous network addresses: for example 4 class C networks can be combined in one 128.230.117.0/22) |
CIDR Prefix Nr of hosts Equivalent Class Cs
|
The widespread implementation of CIDR and hierarchical routing could cause a significant reduction in the number of routing-table entries |
The key to making CIDR work on the internet is the Border Gateway Protocol (BGP) version 4. Within an organization, routers can still use any of protocols (RIP, OSPF, EIGRP) |
Windows NT server can be setup as router: two or more network interfaces (different topologies : Ethernet, token ring) |
Multihomed NT router |
Software :
|
MPR and RRAS are necessary for dynamic routing |
When you install two NICs in a server, enable routing, but do not install MPR and RRAS, NT will work as a static router. Routing table must be built manually:
|
MPR
|
RRAS
|
NT tools
|