Created
November 26, 2016 02:12
-
-
Save hongquan/9118cfcad0bee13ab53e44ae9c86a0c4 to your computer and use it in GitHub Desktop.
Sample config for OpenWrt in VirtualBox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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