summaryrefslogtreecommitdiffstats
path: root/target/linux/x86/alix2/base-files/etc/config/network
blob: 9d70100add82098f13919c3275563833242c3411 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright (C) 2011 OpenWrt.org

config interface loopback
	option ifname	lo
	option proto	static
	option ipaddr	127.0.0.1
	option netmask	255.0.0.0

# N.B. the labels on the Netgate boxes actually reverse the LAN and WAN
# port markings.
config interface lan
	option ifname	eth1
	option type 	bridge
	option proto	static
	option ipaddr	192.168.1.1
	option netmask	255.255.255.0
	option ip6assign 64

config interface wan
	option ifname	eth0
	option proto	dhcp

config interface wan6
	option ifname   @wan
	option proto    dhcpv6

config globals globals
	option ula_prefix auto