CEN 5501C - Computer Networks - Spring 2007 - UF/CISE - Newman1 Computer Networks Chapter 4 – Source Routing Bridges.

Slides:



Advertisements
Similar presentations
Communication Networks Recitation 3 Bridges & Spanning trees.
Advertisements

University of Calgary – CPSC 441.  We need to break down big networks to sub-LANs  Limited amount of supportable traffic: on single LAN, all stations.
Packet Switching COM1337/3501 Textbook: Computer Networks: A Systems Approach, L. Peterson, B. Davie, Morgan Kaufmann Chapter 3.
Joining LANs - Bridges. Connecting LANs 4 Repeater –Operates at the Physical layer no decision making, processing signal boosting only 4 Bridges –operates.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 19 Introduction to Computer Networks.
Fundamentals of Computer Networks ECE 478/578 Lecture #13: Packet Switching (2) Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University.
CPSC 441 TUTORIAL TA: FANG WANG HUBS, SWITCHES AND BRIDGES Parts of the slides contents are courtesy of the following people: Jim Kurose, Keith Ross:
Bridging. Bridge Functions To extend size of LANs either geographically or in terms number of users. − Protocols that include collisions can be performed.
CSE University of Washington Multipath Routing Protocols in AdHoc Networks.
“Internetworking” Bridges –Transparent bridges –Source Routing - Transparent Bridges Routers (Network Layer) Brouters
5/31/05CS118/Spring051 twisted pair hub 10BaseT, 100BaseT, hub r T= Twisted pair (copper wire) r Nodes connected to a hub, 100m max distance r Hub: physical.
1 I.S Introduction to Telecommunication in Business Chapter 6 Network Hardware Components Dr. Jan Clark FALL, 2002.
1 Computer Networks Internetworking Devices. 2 Repeaters Hubs Bridges –Learning algorithms –Problem of closed loops Switches Routers.
Dec 6, 2007CS573: Network Protocols and Standards1 Transparent Bridging Network Protocols and Standards Winter
Internet Networking Spring 2003
1 Interconnection ECS 152A. 2 Interconnecting with hubs r Backbone hub interconnects LAN segments r Extends max distance between nodes r But individual.
1 Interconnecting LAN segments Repeaters Hubs Bridges Switches.
IP Address 0 network host 10 network host 110 networkhost 1110 multicast address A B C D class to to
1 LAN switching and Bridges Relates to Lab 6. Covers interconnection devices (at different layers) and the difference between LAN switching (bridging)
1 LAN switching and Bridges Relates to Lab 6. Covers interconnection devices (at different layers) and the difference between LAN switching (bridging)
DataLink Layer1 Ethernet Technologies: 10Base2 10: 10Mbps; 2: 200 meters (actual is 185m) max distance between any two nodes without repeaters thin coaxial.
CMPT 471 Networking II Address Resolution IPv6 Neighbor Discovery 1© Janice Regan, 2012.
Connecting LANs, Backbone Networks, and Virtual LANs
Chapter 4: Managing LAN Traffic
CSC 336 Data Communications and Networking Lecture 7d: Interconnecting LAN Dr. Cheer-Sun Yang Spring 2001.
CS3502: Data and Computer Networks Local Area Networks - 4 Bridges / LAN internetworks.
CMPT 471 Networking II Address Resolution IPv4 ARP RARP 1© Janice Regan, 2012.
1 Transparent Bridging Advanced Computer Networks.
5: DataLink Layer5a-1 Chapter 5: The Data Link Layer Last time: r multiple access protocols and LANs r link layer addressing, ARP r specific link layer.
Bridging. Bridge Functions To extend size of LANs either geographically or in terms number of users. − Protocols that include collisions can be performed.
Connecting The Network Layer to Data Link Layer. ARP in the IP Layer The Address Resolution Protocol (ARP) The Address Resolution Protocol (ARP) Part.
IP Routing Table (Linux) eth0 eth0 UG UG lo lo U eth0 eth0 U
Review the key networking concepts –TCP/IP reference model –Ethernet –Switched Ethernet –IP, ARP –TCP –DNS.
Review: –Ethernet What is the MAC protocol in Ethernet? –CSMA/CD –Binary exponential backoff Is there any relationship between the minimum frame size and.
Ethernet (LAN switching)
Computer Networks 15-1 Connecting Devices. Connecting Device We divide connecting devices into five different categories based on the layer in which they.
Computer Networks 15-1 Chapter 15. Connecting LANs, Backbone Networks, and Virtual LANs 15.1 Connecting devices 15.2 Backbone networks 15.3 Virtual LANs.
Chapter 9 Hardware Addressing and Frame Type Identification 1.Delivering and sending packets 2.Hardware addressing: specifying a destination 3. Broadcasting.
CEN 5501C - Computer Networks - Spring UF/CISE - Newman1 Computer Networks Chapter 5 – Hubs, Switches, VLANs, Fast Ethernet.
1 Data Link Layer Lecture 23 Imran Ahmed University of Management & Technology.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Connecting Devices CORPORATE INSTITUTE OF SCIENCE & TECHNOLOGY, BHOPAL Department of Electronics and.
5: DataLink Layer5-1 Chapter 5 Link Layer and LANs Computer Networking: A Top Down Approach Featuring the Internet, 3 rd edition. Jim Kurose, Keith Ross.
ICMPv6 Error Message Types Informational Message Types.
ICS 156: Networking Lab Magda El Zarki Professor, ICS UC, Irvine.
5: DataLink Layer 5a-1 Bridges and spanning tree protocol Reference: Mainly Peterson-Davie.
4: DataLink Layer1 Hubs r Physical Layer devices: essentially repeaters operating at bit levels: repeat received bits on one interface to all other interfaces.
5: DataLink Layer5-1 Hubs Hubs are essentially physical-layer repeaters: m bits coming from one link go out all other links m at the same rate m no frame.
5: DataLink Layer5-1 Link-layer switches. 5: DataLink Layer5-2 Hubs … physical-layer (“dumb”) repeaters: m bits coming in one link go out all other links.
1 LAN switching and Bridges Relates to Lab Outline Interconnection devices Bridges/LAN switches vs. Routers Bridges Learning Bridges Transparent.
Chapter 3 Part 1 Switching and Bridging
Chapter 16– Connecting LANs
Link Layer 5.1 Introduction and services
Advanced Computer Networks
Scaling the Network: The Internet Protocol
MAC Addresses and ARP 32-bit IP address:
Chapter 4 Data Link Layer Switching
Chapter 6 Delivery & Forwarding of IP Packets
: An Introduction to Computer Networks
Hubs Hubs are essentially physical-layer repeaters:
ARP: Address Resolution Protocol
Chapter 3 Part 1 Switching and Bridging
Hubs Hubs are essentially physical-layer repeaters:
LAN switching and Bridges
Source Routing Bridges
LAN switching and Bridges
Scaling the Network: The Internet Protocol
LAN switching and Bridges
LAN Addresses and ARP IP address: drives the packet to destination network LAN (or MAC or Physical) address: drives the packet to the destination node’s.
Chapter 5 Data Link Layer – Hub, Switch
Connectors, Repeaters, Hubs, Bridges, Switches, Routers, NIC’s
Presentation transcript:

CEN 5501C - Computer Networks - Spring UF/CISE - Newman1 Computer Networks Chapter 4 – Source Routing Bridges

CEN 5501C - Computer Networks - Spring UF/CISE - Newman2 Why Source Routing? It exists –802 standards –IP option –GWEN –MANETs Instructive alternative –Variety provides insight –Variety provides options

CEN 5501C - Computer Networks - Spring UF/CISE - Newman3 Pure Source Routing Packet header contains route How does the source get the route? –Manually set –Cached from history –Discovered How to indicate source routed packet? –No field set aside for this in LAN header –Use “useless” bit…which one? Data Dest AddrSrc Addr

CEN 5501C - Computer Networks - Spring UF/CISE - Newman4 Routing Information (RI) Magic bit –Multicast bit in source address field (never send from a multicast address!) DataDest AddrSrc Addr RI Dest AddrSrc Addr Data Multicast bit = 0 Multicast bit = 1 Normal packet (transparent bridge routing): Source routed packet with Routing Information field:

CEN 5501C - Computer Networks - Spring UF/CISE - Newman5 RI Fields Type (3 bits) –Specifically routed (route in header) –All paths explorer (collect route as traversed) –Spanning tree explorer (only traverse ST) Length (5 bits) = # bytes in RI field Direction (1 bit) = traverse route L to R? Largest Frame (3 bits) –Represents one of a few popular packet sizes (516, 1500, 2052, 4472, 8144, 11407, 17800, 65535) Route (variable, multiple of 2 octets)

CEN 5501C - Computer Networks - Spring UF/CISE - Newman6 Route Designators 2-octet sub-fields of Route field in RI –12-bit LAN number –4-bit bridge number LAN numbers –Unique over all LANs in extended LAN Bridge Numbers –Unique for all bridges that connect the same pair of LANs

CEN 5501C - Computer Networks - Spring UF/CISE - Newman7 Bridge Numbers Suppose route were only LAN numbers… B1 B2 B3 B4 B5 LAN A LAN B … How many copies show up on LAN B?

CEN 5501C - Computer Networks - Spring UF/CISE - Newman8 Bridge Numbers Suppose there were multiple layers… LAN ALAN C … now how many copies show up on LAN C? LAN B

CEN 5501C - Computer Networks - Spring UF/CISE - Newman9 Bridge Numbers Single bridge number per bridge Can duplicate, but not for two bridges connecting same pair of LANs Easier if bridge could have different number per pair of LANs it connects, but –Not standard –Does not scale well (N 2 bridge numbers for N port bridge) Can make due with “internal LAN” if needed –Pretend each port connects to hallucinated LAN –Internal LAN will always have unique number, so no collisions across bridges! Last bridge number in route always “0”

CEN 5501C - Computer Networks - Spring UF/CISE - Newman10 Why Parallel Bridges? Robustness Underpowered bridges Low capacity links –Need SR to use both –Best if both links between same bridges LAN ALAN B LAN A LAN B LAN ALAN B

CEN 5501C - Computer Networks - Spring UF/CISE - Newman11 SR Bridge Frames 4 Frame types to handle –Transparent frames (no RI field) –Specifically routed –All paths explorer –Spanning tree explorer To each his own –Transparent bridges ignore SR frames –Pure SR bridges ignore transparent frames

CEN 5501C - Computer Networks - Spring UF/CISE - Newman12 Specifically Routed Frames SR Bridge B gets SR Frame on port P1 from LAN #X (to B, anyway) B sees SR frame, checks direction bit B forwards to port P2 iff –X is on the route, followed by Bridge # N, followed by LAN #Y –B associates LAN #Y with P2 –B’s bridge # w.r.t. (P1,P2) is N –Y appears only once on the route

CEN 5501C - Computer Networks - Spring UF/CISE - Newman13 All Paths Explorer Frames Source host first sends with no route info SR Bridge B gets APEx Frame on port P1 from LAN #X (to B, anyway) If no route info yet, B does for every port P other than P1 –Initialize route to [X,N,Y] where Y is LAN on P, N is B’s bridge # w.r.t. (P1,P) –Update largest frame field – LF min= MF(P) –Recalculate CRC –Transmit on P

CEN 5501C - Computer Networks - Spring UF/CISE - Newman14 All Paths Explorer Frames If length = 6-28 bytes of route info, B forwards to every port P (to LAN Y) except P1 (from LAN X) iff –The final collected hop is X (else drop, log error) –Y is not yet in collected RI If port P is eligible, B does –Adjust RI += 2 –Replace [X] with [X|N,Y] in RI –Update largest frame field – LF min= MF(P) –Recalculate CRC –Transmit on P If RI field is full, B discards

CEN 5501C - Computer Networks - Spring UF/CISE - Newman15 Spanning Tree Explorer Frames Source host first sends with no route info Handled in same way as APEx Frame, except –Don’t check if output LAN repeated –Only forward if STEx Frame appears on a spanning tree port –Only forward to other spanning tree ports

CEN 5501C - Computer Networks - Spring UF/CISE - Newman16 Hybrids LANs and Bridges TB and SR LANs wish to interconnect SR-TB Bridges –TB frames –SR frames Pure SR and SR-TB declared “non- standard” … so 4 types of bridges SRT Bridges –TB frames treated as a TB –SR frames treated as an SR Bridge

CEN 5501C - Computer Networks - Spring UF/CISE - Newman17 End Systems No standard How to route – build cache When to find a route –Don’t keep trying if failed recently When to flush cache –Higher layer signals –No recent traffic from D on cached route –After some time, even if in use Be careful!

CEN 5501C - Computer Networks - Spring UF/CISE - Newman18 How to Find a Route Would be nice if source could distinguish –Destination down –Destination only available via transparent bridging –D reachable by SR, but SR worse than TB route –D reachable by SR, and SR better than TB route Strategy 1 –S sends APEx frame to D –D replies with SR frame for each APEx frame, with direction flipped –D does not modify its cache Strategy 2 –S sends “need route” frame transparently first –D replies with “need route response” transparently –S then tries to find SR –Need standard!

CEN 5501C - Computer Networks - Spring UF/CISE - Newman19 How to Find a Route Strategy 3 –S sends “need route” frame transparently first –D replies with APEx –S picks a route from APEx frames Strategy 4 –Like 3, but D replies with two frames: APEx frame Transparent “need route reply” Strategy 5 –S sends APEx frame to D –D selects a single route, replies with SR frame for that route, with direction flipped –S updates its cache

CEN 5501C - Computer Networks - Spring UF/CISE - Newman20 How to Find a Route Strategy 6 –Always use transparent bridging!

CEN 5501C - Computer Networks - Spring UF/CISE - Newman21 How to Find a Route Strategy 6 –Always use transparent bridging! + Simple + Always works + No route discovery overhead –Won’t find a better SR route –End STAs don’t find maximum frame size –Traffic only uses spanning tree paths

CEN 5501C - Computer Networks - Spring UF/CISE - Newman22 Destination Route Discovery D can obtain information from APEx –Route selected may not be same as S’s –No assurance route works D can wait until it has to send frames –Same issues, less efficient! D can learn from received data frames –Symmetric –Must examine all data frames –What to do if route differs?

CEN 5501C - Computer Networks - Spring UF/CISE - Newman23 Route Selection End STA may have many options Criteria for route selection –First received APEx frame –Route with largest max frame size –Route with fewest hops –Combine the above –Most recently received route (  )

CEN 5501C - Computer Networks - Spring UF/CISE - Newman24 TB vs SR Overhead –Route discovery –RI field –Suboptimal routing (esp. TB) Configuration ease –LAN number assignment –Bridge number assignment Universality –End nodes must have compatible SR –TB does not find max frame size –Route change may change max frame size….