Owners Manual
Layer 3 routing
OpenSwitch OPX supports unicast routing over Linux interfaces using routes in the Linux kernel routing table. Applications can also use the
CPS API to congure routes. This information describes how to congure Layer 3 unicast routing to provision the NPU.
The OpenSwitch OPX routing subsystem manages the forwarding information base (FIB). The routing subsystem programs routes with
resolved next hops using ARP/Neighbor table entries received from the Linux kernel.
Topics:
• IPv4 routing
• IPv6 routing
• Neighbor table entries
• Next-hop routing
• L3 routing topology
• Quagga routing
• Routing using Quagga
IPv4 routing
Use the iproute command to create a route. A routing table entry consists of a destination IP address prex and at least one next-hop
address or a Linux interface.
Congure static route
$ ip route show
default dev eth0 scope link
3.3.3.0/24 dev e101-003-0 proto kernel scope link src 3.3.3.1
$ ip route add 11.10.10.0/24 dev e101-003-0
4
Layer 3 routing 13










