Настройка роутера dir300(rev.A1) dual access
Стоит альтернативная прошивка OPENWRT 10.03.1. Не получается присоединить на один порт wan и pppoe,поэтому сеть работает, а интернета нет (((
настройки роутера:
etc/config/NETWORK:
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 'proto' 'static'
option 'ipaddr' '192.168.1.1'
option 'netmask' '255.255.255.0'
config 'switch' 'eth0'
option 'name' 'eth0'
option 'reset' '1'
option 'enable_vlan' '1'
config 'switch_vlan' 'eth0_1'
option 'device' 'eth0'
option 'vlan' '1'
option 'ports' '0 1 2 3 5t'
config 'switch_vlan' 'eth0_2'
option 'device' 'eth0'
option 'vlan' '2'
option 'ports' '4 5t'
config 'interface' 'wan'
option '_orig_ifname' 'eth0.2'
option '_orig_bridge' 'false'
option 'proto' 'static'
option 'ipaddr' '192.168.71.136'
option 'netmask' '255.255.254.0'
option 'gateway' '192.168.70.1'
option 'macaddr' '00:21:85:6E:11:8C'
option 'ifname' 'eth0.1'
config 'route'
option 'interface' 'wan'
option 'target' '1.2.2.0'
option 'netmask' '255.255.254.0'
option 'gateway' '192.168.70.1'
config 'route'
option 'interface' 'wan'
option 'target' '192.168.12.0'
option 'netmask' '255.255.254.0'
option 'gateway' '192.168.70.1'
config 'route'
option 'interface' 'wan'
option 'target' '192.168.10.0'
option 'netmask' '255.255.254.0'
option 'gateway' '192.168.70.1'
config 'route'
option 'interface' 'wan'
option 'target' '192.168.80.0'
option 'netmask' '255.255.254.0'
option 'gateway' '192.168.70.1'
config 'interface' 'pppoe'
option 'proto' 'pppoe'
option 'username' '------------------'
option 'password' '------------------'
option 'service' 'PSTU-PPPOE/'
option '_orig_ifname' 'eth0.1'
option '_orig_bridge' 'false'
option 'ifname' 'eth0'