Repository navigation
Expand file tree
/
Copy pathnetwork.example
More file actions
70 lines (57 loc) · 1.57 KB
/
Copy pathnetwork.example
File metadata and controls
70 lines (57 loc) · 1.57 KB
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
# Sanitized OpenWrt network configuration example
#
# This file documents the major network interfaces and VLAN structure used
# by the project. Deployment-specific values such as the WAN MAC override
# have been replaced with placeholders.
config interface 'loopback'
option device '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 ports 'eth1'
config bridge-vlan
option device 'br-lan'
option vlan '1'
list ports 'eth1:u*'
config bridge-vlan
option device 'br-lan'
option vlan '10'
list ports 'eth1:t'
config bridge-vlan
option device 'br-lan'
option vlan '20'
list ports 'eth1:t'
config bridge-vlan
option device 'br-lan'
option vlan '30'
list ports 'eth1:t'
config interface 'lan'
option device 'br-lan.1'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
config interface 'trusted'
option device 'br-lan.10'
option proto 'static'
option ipaddr '10.0.10.1'
option netmask '255.255.255.0'
config interface 'iot'
option device 'br-lan.20'
option proto 'static'
option ipaddr '10.0.20.1'
option netmask '255.255.255.0'
config interface 'guest'
option device 'br-lan.30'
option proto 'static'
option ipaddr '10.0.30.1'
option netmask '255.255.255.0'
config interface 'wan'
option device 'eth0'
option proto 'dhcp'
# Deployment-specific workaround used with the ARRIS G34.
# Remove or update this value when using a different modem or ISP.
option macaddr '<G34-WAN-MAC>'
# WireGuard is documented separately in wireguard.example.