summaryrefslogtreecommitdiffhomepage
path: root/config/network
blob: 6e9d7a609a127ab7ad6fce669e2fa3070a5d4bd8 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
# Copyright (C) 2006 OpenWrt.org

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

config device
	option name		br-lan
	option type 	bridge
	list ifname		eth0.1
	list ifname		eth0.2
	option mtu		1500

config device
	option name		dummy

config interface lan
	option ifname	'br-lan'
	option proto	static
	option ipaddr	192.168.1.1
	option netmask	255.255.255.0

config interface dummy
	option ifname	eth0.4
	option proto	none

config interface lan2
	option ifname	"eth0.3 eth0.5"
	option type		bridge
	option proto	static
	option ipaddr	192.168.1.1
	option netmask	255.255.255.0
	option gateway	192.168.1.2

config interface wan
	option proto	pppoe
	option ifname	br-lan2
	option username	foo
	option password bar