中文 English

VyOS Configuration Command Generator - Sub-Interfaces, PPPoE, WAN Load Balancing, QinQ VLAN, Multi-Line NAT, VLAN, IP, and Static Routes

This is a tool designed for VyOS configuration, generating commands for pseudo-ethernet sub-interfaces, PPPoE accounts, WAN load balancing, QinQ VLAN, multi-line NAT, VLAN, IP, and static routes with customizable parameters. Use this page to quickly create commands for your VyOS console.

How to Use - Generating and Applying VyOS Commands

  1. Prepare the following parameters:
    • Sub-Interfaces: Main interface name, count, MAC prefix, multi-VLAN option, VLAN range
    • PPPoE: Account and password, QinQ mode, main interface, outer VLAN, inner VLAN start or source interface prefix
    • WAN Load Balancing: Line count, inbound interface, exclude local traffic, local IP, health check target, define weights option
    • QinQ VLAN: Main interface, outer VLAN, inner VLAN range, MAC prefix
    • Multi-Line NAT: Entry count, interface prefix, internal IP ranges
    • VLAN: Interface name, VLAN ID
    • IP: Interface name, IP address
    • Static Routes: Destination network, next-hop address
  2. Use the command generator below, input parameters to create VyOS-compatible commands.
  3. Enter VyOS configuration mode:
    configure
  4. Paste the generated commands into the VyOS console line by line, then commit and save:
    commit
    save

Sub-Interface Command Generator

Enter the parameters below to generate your custom VyOS sub-interface commands:

PPPoE Command Generator

Enter the parameters below to generate your custom VyOS PPPoE commands (one account and password per line, separated by a space): (Uses default-route-distance 200 by default)

WAN Load Balancing Command Generator

Enter the parameters below to generate your custom VyOS WAN load balancing commands (supports weight configuration):

QinQ VLAN Command Generator

Enter the parameters below to generate your custom VyOS QinQ VLAN commands (supports multi-VLAN dialing):

Multi-Line NAT Command Generator

Enter the parameters below to generate your custom VyOS multi-line NAT commands:

VLAN Command Generator

Enter the parameters below to generate your custom VyOS VLAN commands:

IP Command Generator

Enter the parameters below to generate your custom VyOS IP commands:

Static Route Command Generator

Enter the parameters below to generate your custom VyOS static route commands (use 0.0.0.0/0 for default route):