Virtual routing and forwarding (VRF) allows multiple instances of a routing table to exist and function simultaneously in a router; because the routing instances are independent, the same or overlapping IP addresses can be used without conflicting with each other, eliminating the need to implement the path using multiple devices. VRF also enhances security by preventing traffic from being forwarded outside a specific VRF path and excluding traffic that must remain outside the path.
A VRF could be implemented using distinct routing instances, or the device could configure different logical routers where each one is inaccessible to others on the same device.
The APIs in this section allow you to retrieve a VRF routing instance and bind a socket to the instance or to the logical router.