This document will introduce you to RSRB, or Remote Source-Route Bridging. With Cisco routers, RSRB allows you to bridge traffic between two Token Rings from separate routers. First we will talk about creating virtual rings, or ring groups. Then we'll give you configuration examples for RSRB, using Direct, FST (Fast Sequenced Transport), and TCP encapsulation, including some helpful design guidelines. Finally, you'll get a 888 of indirect bridging, a technique by which two or more ring groups can be bridged together.
All the examples given here only show the parts of the configuration that pertain to the RSRB config. In addition, you may need to add the command source-bridge spanning to the Token Ring interfaces to specify how single-route broadcast traffic should be handled. For more details on how this is configured, see the document on single-route broadcasts and Automatic Spanning Tree.
Virtual rings or ring groups are mechanisms for bridging together two or more rings. These virtual rings can be extended between multiple routers, so that all of the rings on multiple routers are able to communicate with each other. This extension is done with source-route remote-peer statements.
There are some things to keep in mind when setting up virtual rings. In order to pass SRB traffic between them, routers must be part of the same ring-group (virtual ring). Also, routers being peered together must have source-route remote-peer statements pointing to each other. For example, picture three routers (A, B, and C) all in a ring-group. A is peered to B, and B is peered to C, but A is not peered to C. Routers A and C will not be able to pass SRB traffic from one to the other, even though they appear to have a path through router B. The peering is not commutative.
----------S0 ---------- T0 | |--- | | T0 Token-----|Router A| / |Router B|-----Token Ring 1 | | ---| | Ring 2 ---------- S0---------- // F0 FDDI F0 // ---------- T1 | | Token-----|Router C| Ring 4 | | ---------- |T0 | Token Ring 3
Direct encapsulation is the simplest type of remote peering. In order to use direct encapsulation, the routers to be peered together must be directly attached to each other (i. e. no intermediate hops) with HDLC- encapsulated serial lines or with LAN media. When serial lines are slow, or not completely clean, FST or TCP are better choices for encapsulation types.
ROUTER A:
source-bridge ring-group 4095 source-bridge remote-peer 4095 interface serial 0
interface serial 0 encapsulation hdlc {default}
interface tokenring 0 source-bridge 1 1 4095 source-bridge spanning
ROUTER B:
source-bridge ring-group 4095 source-bridge remote-peer 4095 interface serial 0 source-bridge remote-peer 4095 interface fddi 0 4000.0000.0003
interface serial 0
encapsulation hdlc {default}
interface fddi 0 mac-address 4000.0000.0002
interface tokenring 0 source-bridge 2 1 4095 source-bridge spanning
ROUTER C:
source-bridge ring-group 4095 source-bridge remote-peer 4095 interface fddi 0 4000.0000.0002
interface fddi 0 mac-address 4000.0000.0003
interface tokenring 0 source-bridge 3 1 4095 source-bridge spanning
interface tokenring 1 source-bridge 4 1 4095 source-bridge spanning
NOTES:
FST encapsulation's major advantage over direct encapsulation is that it allows you to extend over multiple hops. However, it does require a bit more protocol overhead than direct encapsulation (FST encapsulates SRB packets into an IP packet), and it relies on a level 3 protocol (IP), while direct encapsulation only needs level 2 connectivity (HDLC, LAN LLC).
FST introduces a new configuration requirement as well. Each router using FST peering must have an fst-peername defined. This name must be an IP address that is in use by an active interface on the router. The remote-peer statements of routers trying to access this router must reference the IP address that has been defined as the fst-peername for the router - using any other IP address on the box will not work. Use either a loopback interface or a LAN interface as the fst-peername for stability.
ROUTER A
source-bridge fst-peername 1.1.1.1 source-bridge ring-group 4095 source-bridge remote-peer 4095 fst 1.2.2.2 source-bridge remote-peer 4095 fst 1.3.3.3
interface serial 0 ip address 1.255.1.1 255.255.0.0
interface tokenring 0 ip address 1.1.1.1 255.255.0.0 source-bridge 1 1 4095 source-bridge spanning
router rip network 1.0.0.0
ROUTER B
source-bridge fst-peername 1.2.2.2 source-bridge ring-group 4095 source-bridge remote-peer 4095 fst 1.1.1.1 source-bridge remote-peer 4095 fst 1.3.3.3
interface serial 0 ip address 1.255.1.2 255.255.0.0
interface fddi 0 ip address 1.254.1.2 255.255.0.0
interface tokenring 0 ip address 1.2.2.2 255.255.0.0 source-bridge 2 1 4095 source-bridge spanning
router rip network 1.0.0.0
ROUTER C
source-bridge fst-peername 1.3.3.3 source-bridge ring-group 4095 source-bridge remote-peer 4095 fst 1.1.1.1 source-bridge remote-peer 4095 fst 1.2.2.2
interface fddi 0 ip address 1.254.1.1 255.255.0.0
interface tokenring 0 ip address 1.3.3.3 255.255.0.0 source-bridge 3 1 4095 source-bridge spanning
interface tokenring 1 source-bridge 4 1 4095 source-bridge spanning
router rip network 1.0.0.0
NOTES:
The most commonly used encapsulation type, is TCP. This encapsulation has greater overhead than direct and FST, both on the network, where every RSRB packet gets encapsulated within a full IP and TCP header, and in the routers, where there is additional processor overhead for maintaining a TCP session for every remote-peer required. The advantage of TCP encapsulation is the reliable delivery of packets, which lessens the recovery responsibility of end stations in the case of a lost or corrupted packet.
TCP configuration is very similar to FST configuration. Instead of a special command to configure the peername, the IP address representing the local router is treated exactly the same as a remote peer. Here is a TCP peering configuration equivalent to the previously presented FST configuration:
ROUTER A:
source-bridge ring-group 4095 source-bridge remote-peer 4095 tcp 1.1.1.1 source-bridge remote-peer 4095 tcp 1.2.2.2 source-bridge remote-peer 4095 tcp 1.3.3.3
interface serial 0 ip address 1.255.1.1 255.255.0.0
interface tokenring 0 ip address 1.1.1.1 255.255.0.0 source-bridge 1 1 4095 source-bridge spanning
router rip network 1.0.0.0
ROUTER B:
source-bridge ring-group 4095 source-bridge remote-peer 4095 tcp 1.2.2.2 source-bridge remote-peer 4095 tcp 1.1.1.1 source-bridge remote-peer 4095 tcp 1.3.3.3
interface serial 0 ip address 1.255.1.2 255.255.0.0
interface fddi 0 ip address 1.254.1.2 255.255.0.0
interface tokenring 0 ip address 1.2.2.2 255.255.0.0 source-bridge 2 1 4095 source-bridge spanning
router rip network 1.0.0.0
ROUTER C:
source-bridge ring-group 4095 source-bridge remote-peer 4095 tcp 1.3.3.3 source-bridge remote-peer 4095 tcp 1.1.1.1 source-bridge remote-peer 4095 tcp 1.2.2.2
interface fddi 0 ip address 1.254.1.1 255.255.0.0
interface tokenring 0 ip address 1.3.3.3 255.255.0.0 source-bridge 3 1 4095 source-bridge spanning
interface tokenring 1 source-bridge 4 1 4095 source-bridge spanning
router rip network 1.0.0.0
NOTE: In this configuration, the local remote-peer statement is always the first of the configured remote-peers. This makes it easier to understand for troubleshooting.
It is alright to mix encapsulation types within a ring group, but there are some simple rules to be follow.
The example below shows all three encapsulation types within the same ring group. Routers A and B are peered using direct encapsulation, routers A and C use TCP encapsulation, and routers B and C use FST encapsulation.
ROUTER A:
source-bridge ring-group 4095 source-bridge remote-peer 4095 tcp 1.1.1.1 source-bridge remote-peer 4095 tcp 1.3.3.3 source-bridge remote-peer 4095 interface serial 0
interface serial 0 ip address 1.255.1.1 255.255.0.0
interface tokenring 0 ip address 1.1.1.1 255.255.0.0 source-bridge 1 1 4095 source-bridge spanning
router rip network 1.0.0.0
ROUTER B:
source-bridge fst-peername 1.2.2.2 source-bridge ring-group 4095 source-bridge remote-peer 4095 interface serial 0 source-bridge remote-peer 4095 fst 1.3.3.3
interface serial 0 ip address 1.255.1.2 255.255.0.0
interface fddi 0 ip address 1.254.1.2 255.255.0.0
interface tokenring 0 ip address 1.2.2.2 255.255.0.0 source-bridge 2 1 4095 source-bridge spanning
router rip network 1.0.0.0
ROUTER C:
source-bridge fst-peername 1.3.3.3 source-bridge ring-group 4095 source-bridge remote-peer 4095 fst 1.2.2.2 source-bridge remote-peer 4095 tcp 1.3.3.3 source-bridge remote-peer 4095 tcp 1.1.1.1
interface fddi 0 ip address 1.254.1.1 255.255.0.0
interface tokenring 0 ip address 1.3.3.3 255.255.0.0 source-bridge 3 1 4095 source-bridge spanning
interface tokenring 1 source-bridge 4 1 4095 source-bridge spanning
router rip network 1.0.0.0
So far we have only dealt with situations with one ring-group, but there are times when we might want to bridge multiple ring-groups together. There is no command which directly bridges two ring-groups together, but we can accomplish this with indirect bridging. Through the use of multiple token ring interfaces on the same segment, two or more ring groups can be indirectly bridged together. Here's an example:
Token Ring 2 T0| |T1 | | ----------S0 ----------S1 ---------- T0 | |--- | |--- | | T0 Token-----|Router A| / |Router B| / |Router C|-----Token Ring 1 | | ---| | ---| | Ring 3 ---------- S0---------- S0----------
ROUTER A:
source-bridge ring-group 4095 source-bridge remote-peer 4095 interface serial 0
interface serial 0 encapsulation hdlc
interface tokenring 0 source-bridge 1 1 4095 source-bridge spanning
ROUTER B:
source-bridge ring-group 4095 source-bridge remote-peer 4095 interface serial 0 source-bridge ring-group 4094 source-bridge remote-peer 4094 interface serial 1
interface serial 0 encapsulation hdlc
interface serial 1 encapsulation hdlc
interface tokenring 0 source-bridge 2 1 4095 source-bridge spanning
interface tokenring 1 source-bridge 2 1 4094 source-bridge spanning
ROUTER C:
source-bridge ring-group 4094 source-bridge remote-peer 4094 interface serial 0
interface serial 0 encapsulation hdlc
interface tokenring 0 source-bridge 3 1 4094 source-bridge spanning
NOTES: