Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Multiprotocol Switching Development Networking Division International Business Machines Corporation Research Triangle Park, N.C.
The master copy of this document is online. When printed, the hard copy is to be used as a reference only and is valid only as long as the date of issue agrees with the online master. It is the responsibility of the user of this document to verify that any printed copy is current and valid. Distribution of this document is to the Document Location shown above. The user may verify the durrent date of issue by checking at this Document Location.
3 3 5 5 6 7 8
Functionality
In its simplest form of deployment at least two Switch ports are required for every Router port that is to be accelerated. These pairs of ports are connected as illustrated in the diagram below. The Router port that was initially connected to a LAN segment is now connected to a Switch port. Another port on the Switch is now connected to the LAN segment that the Router port was initially connected to. So with a simple wiring change for Router ports, and with no reconfiguration to the Router, the Switch can start offloading the IP forwarding from the Router. In this particular example, routing of all the IP traffic between the Server Farms, Engineering and Marketing is handled by the Switch. All traffic to the Internet (Wan) is still handled by the Router. Also note that in the illustration below, not only have the IP forwarding duties been offloaded to the Switch, but uplinks from the LAN segments to the Router have also been upgraded to 100Mbps without having to incur an expensive router upgrade. So this is yet another way that Self-Learning IP can be used to improve network performance.
5/18/99
WAN
Legacy Router
Subnet 1 10 Mbps
Subnet 2 10Mbps
Subnet 3 10 Mbps
Engineering
Marketing
Server Farm
5/18/99
Features
Some of the main features of Self-Learning IP are listed below: Auto Configuration - Self-Learning IP snoops IP address information from traffic passing through the switch. No device configuration is required. Also, for most deployments, no reconfiguration of existing network equipment is required. Routing Protocol Independence - Self-Learning IP does not use routing protocols to improve network performance. It can be deployed in any routed network. Router Mimicking - Self-Learning IP will mimic the Router that it is accelerating. This means that a packets routed by the Switch will be indistinguishable from packets routed by the Router. The Switch will modify both destination and source MAC addresses, decrement the IP header TTL, recalculate the checksum. etc, Performance - The routing performed by Self-Learning IP is hardware based. Layer-3 traffic can be forwarded at wire speed over Fast Ethernet LANs. Speed Matching - The Ethernet ports are 10/100 Mbps auto-sensing. This means that intersubnet links can be upgraded to 100 Mbps while the routers connections can remain at 10Mbps, thus avoiding expensive router upgrades to Fast Ethernet. Cost - A switch with Self-Learning IP will be much less expensive than traditional routers on a per-port basis. Port Fanout - Self Learning is independent of wiring constraints. It is NOT necessary to wire the switch to the router in a specific way (like most of the Router Accelerators today). So one could fanout a single router port to multiple LAN segments.
Benefits
The Self-Learning IP capability in a switch allows network administrators to have a simple incremental migration path from traditional routers to the next-generation multilayer switching. Self-Learning IP can play an important role in this migration path by producing immediate benefits by handling a congested backbone routers inter-LAN traffic and letting the router handle the backbone WAN traffic. So initially the LAN Switch can be immediately deployed into existing networks without any disruption and then gradually the routing protocols (like RIP, OSPF etc.) can be enabled in the multilayer Switch and the Router in the backbone can be removed. If so desired the network manager can also keep the Router around for a while, functioning as a peer router to the multilayer LAN Switch. This multistage deployment is illustrated in the diagram below. As we can see fork-lift upgrades are not necessary. 5/18/99 Router Accelerator: Self-Learning IP 5
To LAN segments
To LAN segments
Stage 1: Classic Backbone A legacy Router is used to route traffic not only between local segments but also traffic between the local segments and the backbone.Typically such a Router is heavily loaded as it has to serve both the local LAN and the backbone traffic
Stage 2: Accelerated Router Switch with Self-Learning IP is "inserted" in front of the Router. The Switch now takes over the local routing between LAN segments and offloads the Router to concentrate on routing the backbone traffic. No configuration is required.
Stage 3: Peer Router Routing function is now turned on in the Switch. which can now finction as a full-blown router. The old Router can now act as a peer router to support old WAN links. The interfaces on the old Router may be collapsed so it can function as a 'one armed'. router.
Stage 4: L-3/L-4 Switching The Multilayer switch can now replace the legacy Router completely if a move is made to a switched backbone.
Figure 2 Example: Migration to a switched L-3/L-4 Network To summarize, the Self-learning IP feature in the LAN Switch makes it an immediate plug-and-play accelerator for the backbone Router, which can now concentrate on the backbone WAN traffic instead of the local inter-LAN traffic, which is now handled by the Switch.
Limitations
The Self-Learning IP function has certain limitations that one should be aware of: 5/18/99 It does not run routing protocols like RIP, OSPF etc. and hence does not replace a traditional router, but rather assists it. For it to off load a Routers interfaces, the interfaces that are connected to the switch must respond to ICMP frames, or have routing protocols enabled on them. Self-Learning IP currently will not learn hosts that reside behind routers. Self-Learning IP does not work across ATM links. Router Accelerator: Self-Learning IP 6
The graph below illustrates the decrease in CPU utilization of the router when a switch with Self-Learning IP is used to front-end it.
100 90 80 CPU Utilization % 70 60 50 40 30 20 10 0 CPU Utilization Router Router Front Ended by Switch
5/18/99
Before
Backbone Router (Loaded)
10Mbps 10Mbps 10Mbps 10Mbps 10Mbps 10Mbps
After
Backbone Router (Offloaded)
10Mbps 10Mbps 10Mbps 10Mbps
To LAN Subnets
To LAN Subnets
Figure 3 Deployment: Simple Connection This is the most common scenario for inserting a switch with Self-Learning IP into a network. One port of the switch is connected up to the router, while another port is connected to the LAN segment. The other ports on the switch can be used for L-2 bridging. Note that the network was initially only limited to 10Mbps. After deployment of the switch the part to whole of the network can be upgraded to 100Mbps with no reconfiguration. For eg. In the figure above three subnets have been upgraded to 100 Mbps while two are still at 10Mbps, and the router interfaces are still 10Mbps.
5/18/99
Before
Backbone Router (Loaded)
After
Backbone Router (Offloaded)
Hub
Hub
Hub
Hub
To LAN Subnets
This scenario is the same as the previous, with the exception that for every port on the switch that is connected to the router, one or more ports can be connected to LAN segments. In fact now even more subnets can be added in the network, without having to take into account the traffic handling capabilities of the router.
5/18/99
Before
Backbone Router (Loaded)
After
Backbone Router (Collapsed & Offloaded)
To LAN Subnets
To LAN Subnets
Figure 5 Deployment: Collapsed Router In this scenario a network administrator can free up arms of the backbone router and connect all the subnets onto one arm. The switch will route traffic between ports to the router interface will be relatively load free. This scenario requires reconfiguration of the router.
5/18/99
10
Before
Backbone Router1 (Loaded) Backbone Router2 (Loaded)
After
Backbone Router1 (OffLoaded) Backbone Router2 (OffLoaded)
To LAN#1 Subnets
To LAN#2 Subnets
To LAN#1 Subnets
To LAN#2 Subnets
Figure 6 Deployment: Shared Switch In this scenario a single switch with Self Learning IP can be shared among more than one router. Note that the reverse is currently not possible, that is, multiple switches cannot be used by a single router.
5/18/99
11
Before
After
To LAN Subnets
To LAN Subnets
In many small offices today, the server, whether it be Netware, Unix, Linux, OS/2 or NT, has dual personalities. It acts both as a server and a router. The machine cycles that are required for the router function degrade the overall performance of the server. Inserting a switch with Self-Learning IP will increase the routing performance of the system and reduce the unnecessary load on the server. Overall network performance is increased.
5/18/99
12
Before
After
WAN Router
WAN Router
Server
Hub
Hub
Hub
Hub
To LAN Subnet1
To LAN Subnet2
To LAN Subnet1
To LAN Subnet2
Figure 8 Deployment: Small Office with WAN connection As before, the server is doing both routing and server functions. In addition a low performance router is installed for a WAN connection. Now the routing function can be turned off in the server, and the WAN router configured with all the subnets. Normally, such a router would be much too slow to do the routing function. However, with the Self-Learning IP switch assisting it, routing can be done at wire-speed.
5/18/99
13
Before
Nways 2210 Backbone Router (Loaded)
10Mbps 10Mbps 10Mbps
After
Nways 2210 Backbone Router (Offloaded)
10Mbps
8242 Hub
8242 Hub
To 10Mb LAN Subnets 2210 - Nways Multiprotocol Router 8242 - 16 Port Ethernet Hub 8371 - 32 Port Multilayer Ethernet Switch
In the above scenario the total IP routing capacity of the system is limited by the routing capacity of the 2210. For example, an Nways 2210 Model 24E can route 64 byte packets ethernet-to-ethernet at 15,000 PPS while using 95% of the CPU. If the 8242 hubs are now replaced by the 8371 switch, and the LAN subnets remain at full-duplex 10Mbps the IP routing capacity suddenly becomes almost 450,000 PPS for 64 byte packets, and the CPU utilization on the 2210 goes down to 5%. This 30-fold increase is achievable with no reconfiguration at all. But if the LAN subnets are upgraded to 100Mbps full-duplex, the total routing capacity becomes 3 million PPS for 64 byte frames, and the CPU utilization on the 2210 still remains at a paltry 5%. These scenarios described above attempt to broadly illustrate just a few of the useful ways that a switch with Self-Learning IP can be deployed.
5/18/99
14
End of Document