Skip to content

Instantly share code, notes, and snippets.

@hongquan
Created November 26, 2016 02:12
Show Gist options
  • Save hongquan/9118cfcad0bee13ab53e44ae9c86a0c4 to your computer and use it in GitHub Desktop.
Save hongquan/9118cfcad0bee13ab53e44ae9c86a0c4 to your computer and use it in GitHub Desktop.
Sample config for OpenWrt in VirtualBox
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 'fd2c:312f:e853::/48'
config interface 'lan'
option type 'bridge'
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.2.1'
option netmask '255.255.255.0'
option ip6assign '60'
config interface 'wan'
option ifname 'eth1'
option proto 'dhcp'
config interface 'wan6'
option ifname 'eth1'
option proto 'dhcpv6'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment