Skip to content
New issue

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

VRF Support #715

Open
eliaswimmer opened this issue Aug 7, 2024 · 2 comments
Open

VRF Support #715

eliaswimmer opened this issue Aug 7, 2024 · 2 comments

Comments

@eliaswimmer
Copy link

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

@liangwen12year
Copy link
Collaborator

vft is already supported in network_state variable, can you try to configure the vrf interface via network_state variable ?

@eliaswimmer
Copy link
Author

I will do so!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants