Let's say I have the following four networks:
- Network A: 10.0.1.0/24
- Network B: 10.0.0.0/24
- Network C: 10.0.01.0/24
- Network D: 10.0.10.0/24
I would like to connect networks A and B together, and do the same between C and D (while A/B can't access C/D). IWith only have a single router, so can I havecould this be configured by usingsetting two different VRF like in the following pictureas shown below ?
If yes, what would happens if I set up BGP to exchange route between the two VRF, like in the following link: https://www.cisco.com/c/en/us/support/docs/multiprotocol-label-switching-mpls/multiprotocol-label-switching-vpns-mpls-vpns/47807-routeleaking.html#diffvrfs