aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/adm5120/base-files/etc/config/network
blob: df2f201053036f9018a379e9f398f750cce46672 (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
#### VLAN configuration 
config switch
	option eth0	"0 1 2 3"
	option eth1	"4"


#### Loopback configuration
config interface loopback
	option ifname	"lo"
	option proto	static
	option ipaddr	127.0.0.1
	option netmask	255.0.0.0


#### LAN configuration
config interface lan
	option type 	bridge
	option ifname	"eth0"
	option proto	static
	option ipaddr	192.168.1.1
	option netmask	255.255.255.0


#### WAN configuration
config interface	wan
	option ifname	"eth1"
	option proto	dhcp