mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 17:01:14 +00:00
438dfe5c6f
SVN-Revision: 9069
42 lines
716 B
Plaintext
42 lines
716 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 ifname eth0
|
|
option proto static
|
|
option ipaddr 192.168.1.1
|
|
option netmask 255.255.255.0
|
|
|
|
|
|
|
|
## 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
|
|
|
|
|
|
# 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"
|