Copyright (c) 2026 MindMesh Academy. All rights reserved. This content is proprietary and may not be reproduced or distributed without permission.
2.12.3. VRF (Virtual Routing and Forwarding)
VRF creates multiple isolated routing tables on a single router, effectively creating multiple virtual routers. Each VRF has its own:
- Routing table
- Interfaces (assigned to VRF)
- Routing protocol instances
Use case: Service providers hosting multiple customers on shared infrastructure (each customer gets a VRF).
Router(config)# ip vrf CustomerA
Router(config)# interface GigabitEthernet0/1
Router(config-if)# ip vrf forwarding CustomerA
Router(config-if)# ip address 10.1.1.1 255.255.255.0