OpenWrt UCI Network Generator
Render an OpenWrt UCI /etc/config/network interface and device section from bounded, reviewable fields.
This tool handles input and primary processing in your browser and is designed not to send the input to QuickKit’s server.
Avoid live production secrets; use dummy or masked data where possible. Data handling details
Generated /etc/config/network section
File
How it works
Targets OpenWrt 21.02 and later, which introduced config device sections and option device on config interface; the pre-21.02 option ifname style is never emitted. It supports the full shared addressing model, including an 802.1Q VLAN expressed as a config device with option type 8021q. IPv6 only accepts static, dhcp, and none: OpenWrt's dhcpv6 protocol already accepts router advertisements on its own, so this subset has no separate router-advertisement mode, and the shared model's auto method is rejected rather than silently mapped onto dhcpv6 or ignored. A UCI config interface section carries exactly one proto, so the section layout follows the family combination: both families static share one static section; an IPv6-only static configuration is still a static section, because proto none leaves the interface unmanaged and would not apply ip6addr; every other combination gets one section per configured family, mirroring OpenWrt's own wan/wan6 convention, with the IPv6 section named <name>6 whenever an IPv4 section also exists. proto none is therefore never emitted. When manual resolvers are supplied, option peerdns 0 is placed on each section that would otherwise take resolvers from its own peer, so a DHCPv6 section carries its own copy. This tool never contacts a router; apply the result yourself with uci commit network and service network reload, and place any new interface into a firewall zone with the OpenWrt Firewall Rule Generator or the router's own firewall configuration.