aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86/alix2/base-files/etc/config/network
blob: b46423fe156d8834015fec298fea3dd1e7817802 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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

config interface wan
	option ifname	eth0
	option proto	dhcp