summaryrefslogtreecommitdiffhomepage
path: root/config/network
blob: 97032084e14b407ee387a1fdc3086eb2b866b61c (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# 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 mtu		1500
	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
	option dns		'192.168.1.5 192.168.1.6'

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

config interface wlan
	option proto	static
	option ipaddr	192.168.2.1
	option netmask	255.255.255.0

config interface pptp
	option proto	pptp
	option server	1.1.1.1

config route
	option target	192.168.0.1
	option netmask	24
	option gateway	192.168.5.2
	option interface wan