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

device: add support for configuring vrf #38

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Linaro1985
Copy link

@Linaro1985 Linaro1985 commented Oct 31, 2024

This adds vrf configuring support to netifd.

network config example:

config device
	option type 'vrf'
	option name 'dcn'
	option table '20'
	option mtu '1500'
	option ipv6 '0'
	list ports 'l2tp-wanvpn'
	list ports 'lan3'

config interface 'dcn'
	option proto 'none'
	option device 'dcn'

note: using "ports" in config simplifies luci integration

Signed-off-by: Maxim Anisimov <[email protected]>
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

Successfully merging this pull request may close these issues.

1 participant