Annex E - Interaction of the Integrated IS-IS with Brouters
A "brouter" is a device which operates an both a bridge and a router. One possible type of brouter acts as a router for IP traffic, and acts as a bridge for all other types of traffic.
Depending upon the manner in which a brouter is implemented, and depending upon the network topology, there is an obscure bug which can result from the interaction of the Integrated IS-IS protocol, and brouters. This appendix gives an example of the bug, and proposes a simple correction to the operation of brouters to correct the problem.
This annex is included for informational purposes.
E.1 The Problem
Suppose that we have a brouter which treats IP packets as if it were a normal IP router, and which treats all other packets as if it is a bridge.
Suppose that two routers "X" and "Y" (which implement the integrated IS-IS protocol), two Ethernets, and a brouter B are all connected as follows:
| |
+----+---+ +----+---+
| Router | | Router |
| X | | Y |
+----+---+ +----+---+
| |
-----+------------+- -+------------+----
| |
+-+-----+-+
| Brouter |
| B |
+---------+
Here suppose that X and Y are running the Integrated IS-IS protocol, and are both level 1 routers in the same area. Thus X and Y send IS-IS Hello packets on the LAN. These Hello packets are received and forwarded by the brouter (using normal bridge functions). Similarly, X and Y receive each other's IS-IS LSP packets. In this way, it appears to the Brouter that X and Y are exchanging OSI packets, and so they are forwarded using normal bridge functions. It appears to X and Y as if they are on the same LAN, and so they learn each others 48-bit Ethernet addresses and exchange routing information.
Now, suppose that X receives an IP packet, which it needs to forward via Y. Since X thinks that it and Y are on the same Ethernet, it just forwards the IP packet directly, using normal Ethernet encapsulation and using the 48-bit Ethernet address of Y as the destination address in the Ethernet header. Brouter B, when thinking as a bridge says: "this is an IP packet, I don't forward this as a bridge". Brouter B, when thinking like an IP router says: "this is an IP packet, I know how to forward IP packets. However, this is sent to an Ethernet address which is not me, thus I will ignore it". The result is that the IP packet does not get forwarded.
This problem relates directly to the fact that X and Y are exchanging OSI packets to determine the connectivity of the path between them, but then are trying to send IP packets over the path. Also, there is a device between X and Y on the path which treats OSI and IP packets differently.
Also note that this problem can also occur in more complex topologies, whenever a brouter is treating OSI and IP packets in a fundamentally different manner.
E.2 Possible Solutions
E.2.1 More Sophisticated Brouter
One solution is that brouter B needs to be a little more sophisticated. In particular, it needs to use the following rules:
-
For packets which are not IP packets, act as a bridge (this is the same as before).
-
For IP packets sent to an Ethernet broadcast or multicast address, act as an IP router (this is also the same as before).
-
For IP packets sent to my own Ethernet 48-bit address(es), act as an IP router (this is also the same as before).
-
For IP packets sent to a single station 48-bit address which is not one of my addresses, act at a bridge (THIS IS NEW).
With this change, the IP packet transmitted from X to Y is forwarded by the brouter, acting as a bridge. This allows the Brouter and the multiprotocol routers to interoperate properly.
E.2.2 Dual Router / Brouter
An alternate solution would be for the Brouter to route both OSI and IP equally. If the Brouter used the integrated IS-IS for this purpose, then it could be part of the same routing domain and interoperate like any other dual router (except for the ability to bridge other protocol suites). If it used other protocols for routing OSI and IP, then it would need to be part of another routing domain, and could interoperate with integrated IS-IS routers like any other external router.