We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Networkmanager supports VRF since Version 1.24
VRF allows running services on custom routing tables with attached interfaces.
Create a VRF named vrf0 with table 101 nmcli connection add type vrf ifname vrf0 con-name vrf0 table 101 ipv4.method disabled ipv6.method disabled
nmcli connection add type vrf ifname vrf0 con-name vrf0 table 101 ipv4.method disabled ipv6.method disabled
Attach an interface to the VRF nmcli connection add type ethernet con-name enp1s0 ifname enp1s0 controller vrf0 port-type vrf ipv4.method manual ipv4.address 192.0.2.1/24 ipv4.gateway 192.0.2.254
nmcli connection add type ethernet con-name enp1s0 ifname enp1s0 controller vrf0 port-type vrf ipv4.method manual ipv4.address 192.0.2.1/24 ipv4.gateway 192.0.2.254
The text was updated successfully, but these errors were encountered:
vft is already supported in network_state variable, can you try to configure the vrf interface via network_state variable ?
network_state
Sorry, something went wrong.
I will do so!
No branches or pull requests
Networkmanager supports VRF since Version 1.24
VRF allows running services on custom routing tables with attached interfaces.
Create a VRF named vrf0 with table 101
nmcli connection add type vrf ifname vrf0 con-name vrf0 table 101 ipv4.method disabled ipv6.method disabled
Attach an interface to the VRF
nmcli connection add type ethernet con-name enp1s0 ifname enp1s0 controller vrf0 port-type vrf ipv4.method manual ipv4.address 192.0.2.1/24 ipv4.gateway 192.0.2.254
The text was updated successfully, but these errors were encountered: