blob: b2985d37bb90e1bdb9771d30edd3d266af264120 (
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
# 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 alias wan1
option proto static
option interface wan
option ipaddr 192.168.99.1
option ip6addr 2a01:4f8:131:30e2::2/59
option netmask 255.255.255.0
option gateway 192.168.99.3
config route6
option interface wan1
option target ::0/0
option gateway 2a01:4f8:131:30e2::1
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
option peerdns 0
option dns 192.168.10.1
config route
option target 192.168.0.1
option netmask 24
option gateway 192.168.5.2
option interface wan
|