1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 07:51:55 +02:00
openwrt-xburst/target/linux/ar7/base-files/etc/config/network
florian 495bc28ca7 [ar7] enable mvswitch driver
And fix the default network configuration to create the required VLANs.

Patch from Daniel Gimpelevich.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33750 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-13 17:47:09 +00:00

43 lines
832 B
Plaintext

# Copyright (C) 2006 OpenWrt.org
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
config interface lan
option type bridge
option ifname "eth0 eth1 eth0.1 eth0.2"
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
option nat 1
## Example for ATM bridging.
## Useful for PPPoE or IP over ATM. Will create 'nas${unit}'
#
# config atm-bridge
# option unit 0
# option encaps llc
# option vpi 8
# option vci 35
# option payload bridged # some ISPs need this set to 'routed'
# config interface wan
## PPPoE:
# option ifname nas0
# option proto pppoe
## PPPoA:
# option ifname atm0
# option proto pppoa
# option encaps llc
# option vpi 8
# option vci 35
## Both:
# option username "my_username"
# option password "my_password"