Skip to content

openwrt_network_static #8

@Foxboron

Description

@Foxboron

Lookup should be network, interface, proto = static + id / .name.

config interface 'loopback'
	option device 'lo'
	option proto 'static'
	option ipaddr '127.0.0.1'
	option netmask '255.0.0.0'

https://openwrt.org/docs/guide-user/network/ucicheatsheet#section_interface

resource "openwrt_network_static" "loopback" {
  id = "loopback"
  device = "lo"
  ipaddr = "127.0.0.1"
  netmask = "255.0.0.0"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions