source: trunk/target/linux/ar71xx/base-files/etc/defconfig/ap96/network @ 26180

Last change on this file since 26180 was 26180, checked in by nbd, 6 years ago

ar71xx: add default configuration for the switch on AP96

Enables forwarding of frames between the switch ports (eth0).
Patch by Jouni Malinen

File size: 469 bytes
Line 
1config interface loopback
2        option ifname   lo
3        option proto    static
4        option ipaddr   127.0.0.1
5        option netmask  255.0.0.0
6
7config interface lan
8        option ifname   eth0
9        option type     bridge
10        option proto    static
11        option ipaddr   192.168.1.1
12        option netmask  255.255.255.0
13
14config interface wan
15        option ifname   eth1
16        option proto    dhcp
17
18config switch
19        option name     eth0
20        option reset    1
21        option enable_vlan 1
22
23config switch_vlan
24        option device   eth0
25        option vlan     1
26        option ports    "0 1 2 3 4"
Note: See TracBrowser for help on using the repository browser.