Skip to content

Instantly share code, notes, and snippets.

@andrewhoff
Last active December 9, 2015 20:02
Show Gist options
  • Save andrewhoff/1f2a253eba1058db4050 to your computer and use it in GitHub Desktop.
Save andrewhoff/1f2a253eba1058db4050 to your computer and use it in GitHub Desktop.
base network config for Unifi UAP (/etc/config/network)
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd66:64f9:30cd::/48'
config interface 'lan'
option ifname 'eth1'
option force_link '1'
option type 'bridge'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '60'
option ipaddr '192.168.86.1'
config interface 'wan'
option ifname 'eth0'
option proto 'dhcp'
option hostname 'BoldX-2'
option type 'bridge'
config interface 'wan6'
option ifname '@wan'
option proto 'dhcpv6'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment