Root/target/linux/adm5120/base-files/etc/config/network

1#### VLAN configuration
2config switch
3    option eth0 "0 1 2 3"
4    option eth1 "4"
5
6
7#### Loopback configuration
8config interface loopback
9    option ifname "lo"
10    option proto static
11    option ipaddr 127.0.0.1
12    option netmask 255.0.0.0
13
14
15#### LAN configuration
16config interface lan
17    option type bridge
18    option ifname "eth0"
19    option proto static
20    option ipaddr 192.168.1.1
21    option netmask 255.255.255.0
22
23
24#### WAN configuration
25config interface wan
26    option ifname "eth1"
27    option proto dhcp
28

Archive Download this file



interactive