mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
66 lines
1.3 KiB
Text
66 lines
1.3 KiB
Text
|
|
config interface 'loopback'
|
|
option is_lan '1'
|
|
option ifname 'lo'
|
|
option proto 'static'
|
|
option ipaddr '127.0.0.1'
|
|
option netmask '255.0.0.0'
|
|
|
|
config interface 'lan'
|
|
option is_lan '1'
|
|
option type 'bridge'
|
|
option proto 'static'
|
|
option ipaddr '192.168.1.1'
|
|
option netmask '255.255.255.0'
|
|
option ifname '$LAN1 $LAN2 $LAN3'
|
|
option ip6assign '60'
|
|
|
|
config interface 'wan'
|
|
option type 'anywan'
|
|
option proto 'dhcp'
|
|
option hostname 'iopsys-$MAC'
|
|
option vendorid '$HARDWAREID'
|
|
option ifname 'ptm0.1 atm0.1 $WAN.1'
|
|
option ipv6 '1'
|
|
|
|
config interface 'iptv'
|
|
option type 'bridge'
|
|
option proto 'dhcp'
|
|
option gateway '0.0.0.0'
|
|
option reqopts 'staticroutes'
|
|
option ifname 'ptm0.100 $WAN.100 $LAN4'
|
|
option defaultroute '0'
|
|
|
|
config interface 'wan6'
|
|
option proto 'dhcpv6'
|
|
option ifname '@wan'
|
|
|
|
config device 'atmwan'
|
|
option type 'untagged'
|
|
option ifname 'atm0'
|
|
option name 'atm0.1'
|
|
|
|
config device 'ptmwan'
|
|
option type 'untagged'
|
|
option ifname 'ptm0'
|
|
option name 'ptm0.1'
|
|
|
|
config device 'ethwan'
|
|
option type 'untagged'
|
|
option ifname '$WAN'
|
|
option name '$WAN.1'
|
|
|
|
config device 'ethtv'
|
|
option type '8021q'
|
|
option name '$WAN.100'
|
|
option ifname '$WAN'
|
|
option vid '100'
|
|
option priority '0'
|
|
|
|
config device 'ptmtv'
|
|
option type '8021q'
|
|
option name 'ptm0.100'
|
|
option ifname 'ptm0'
|
|
option vid '100'
|
|
option priority '0'
|
|
|