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

Commits on Nov 8, 2024

  1. device: add support for configuring vrf

    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
    
    Tested-by: Paul Donald <[email protected]>
    Signed-off-by: Maxim Anisimov <[email protected]>
    Linaro1985 committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    4207780 View commit details
    Browse the repository at this point in the history