summaryrefslogtreecommitdiff
path: root/shared/config/network
blob: 4f15042df3c90ff47458413a827639828815c4f2 (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
config interface 'loopback'
	option device 'lo'
	option proto 'static'
	option ipaddr '127.0.0.1'
	option netmask '255.0.0.0'

config globals 'globals'
	option ula_prefix 'fd72:5afb:a7cf::/48'

config device
	option name 'br-lan'
	option type 'bridge'
	list ports 'eth0'

config device
	option name 'br-wifi0'
	option type 'bridge'
	list ports 'eth0.0'

config device
	option name 'br-wifi1'
	option type 'bridge'
	list ports 'eth0.1'

config device
	option name 'eth0.0'
	option macaddr '28:80:88:2A:6D:01'

config device
	option name 'eth0.1'
	option macaddr '28:80:88:2A:6D:02'

config interface 'wan'
	option device 'br-lan'
	option proto 'static'
	option ip6assign '30'
	option dns '8.8.8.8'

config interface 'wifi0'
	option device 'br-wifi0'
	option proto 'static'
	option netmask '255.255.255.128'
	option ipaddr '192.168.99.1'

config interface 'wifi1'
	option device 'br-wifi1'
	option proto 'static'
	option netmask '255.255.255.128'
	option ipaddr '192.168.99.129'