-
Notifications
You must be signed in to change notification settings - Fork 35
VRF
Amy Buck edited this page Jan 22, 2019
·
4 revisions
OPX currently uses the Linux kernel’s network namespace to create VRFs. As a result of this approach, isolation extends beyond Layer 3 (L3). Using namespace also isolates interfaces to a particular namespace - separate processes may need to be created for monitoring services so they monitor their own individual namespace.
There are two ways to setup VRFs in OPX. The recommended way is to use the opx_config_vrf
command, but there is also a way to do it via CPS commands.
root@OPX:~# opx-config-vrf --create --vrf blue
Configuration Successful...
root@OPX:~# opx-config-vrf --show
Key: 1.292.44.2883617.2883612.2883613.
ni/network-instances/network-instance/name = blue
Key: 1.292.44.2883617.2883612.2883613.
ni/network-instances/network-instance/name = default
root@OPX:~# opx-config-vrf --create --vrf red
Configuration Successful...
root@OPX:~# opx-config-vrf --show
Key: 1.292.44.2883617.2883612.2883613.
ni/network-instances/network-instance/name = red
Key: 1.292.44.2883617.2883612.2883613.
ni/network-instances/network-instance/name = blue
Key: 1.292.44.2883617.2883612.2883613.
ni/network-instances/network-instance/name = default
root@OPX:~#
© 2019 OpenSwitch project. All information is contributed to and made available by OPX under the Creative Commons Attribution 4.0 International License (available at http://creativecommons.org/licenses/by/4.0/).
- Home
- System overview
- Software releases
- Hardware support
- FAQs
- Install
- Build
- Configure
- Develop
- Administer
- Troubleshoot
- Software compatibility
- Contribute
- DevOps
- Join