29. Layer 3 Switching
ROX™ v2.2 User Guide
294
RuggedBackbone™ RX5000
• Add egress interface Switch.0300.
This configuration creates Layer 3 switching rules which can be verified in switch/layer3-switching/rules-
summary.
Even if Hw-accelerate is not enabled, Layer 3 switching is still performed, but all switching
rules for the multicast streams will have to be auto-learned.
29.1.9.3. Configuring Static Layer 3 Switching Rules for Servers
We can also create static Layer 3 switching rules for traffic destined to the servers so that those rules
do not have to be auto-learned.
• Create a static route in routing/static/ipv4/route and enter the server’s IP address (172.30.30.10/32).
• Set Hw-accelerate to Enable
• Set the via parameter to the same IP address (172.30.30.10).
Repeat these steps for each server.
29.1.9.4. Configuring Static ARP Table Entries for Servers
Even if configuring static rules for the servers is not desired, certain optimization is still possible. Each
server in the server farm would be polling device IP addresses one after the other in order. Given that
each server would always be talking to at least one device, we could create static ARP entries for the
servers in the Layer 3 Switch ARP Table. This would keep the servers’ MAC addresses always resolved
so that the switch will not have to repeatedly resolve them when the addresses age out from the router’s
ARP table.
To create an ARP entry for a given server, navigate to switch/layer3-switching/arp-table. Enter the IP
address of the server and then provide the MAC address of the server along with VID=300. If the MAC
address of the server is not known, then leave it unspecified and the switch will automatically resolve
the address and save it statically. Do the same for each server.
29.1.9.5. Layer 3 Switching Rules for Devices in VLANs 150 and 250
As the number of devices in VLANs 150 and 250 is quite large, it is impractical to configure a static
route (or a static ARP table entry) for each of them, as we have done for the servers. Because of this,
Layer 3 switching rules for traffic destined to those devices will have to be auto-learned.