Hello, i have a wdr3600 and set it as pppoe. It was working correctly, but the last days it random loose the connection, it tries many times with Network device 'pppoe-wan' link is down
. The solution that i found is that If i reboot the ISP's modem/router, the openwrt starts a valid wan connection again, until the next time that will fail again. I read in the forum about the keepalive, do i have to use it? If so what value should i use?
Also i have try numerous times to set the ipv6 to work,throught the wiki, but i can not.
My current set up is
<----ISP/modem/router/voip---> openwrt(pppoe)---> openwrt(dummy access point)
This set up was working for many years, without any trouble.
Finally i can not set the ISP'S router (vendor: speedport) in bridge mode, because the voip then it will stop working, so i have set it to ppppoe passthrought mode.
Here is my network file:
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
config interface 'lan'
option ifname 'eth0.1'
option type 'bridge'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.2.1'
option igmp_snooping '1'
#option ip6assign '64'
config interface 'wan'
option ifname 'eth0.2'
option proto 'pppoe'
option peerdns '0'
option password ''
option username ''
option ipv6 '1'
option force_link '1'
#option vid '835'
option pppd_options 'debug'
list dns '208.67.222.222'
list dns '208.67.220.220'
config interface 'wan6'
option ifname 'eth0.2'
option proto 'dhcpv6'
option reqaddress 'try'
option reqprefix 'auto'
option auto '0'
config interface 'modem'
option proto 'static'
option auto '0'
list ipaddr '192.168.1.254'
option ifname 'eth0.2'
option netmask '255.255.255.0'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '0t 2 3 4 5'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '0t 1'
config interface 'tun0'
option proto 'none'
option ifname '@tun0'
option auto '0'
dhcp:
config dnsmasq
option domainneeded '1'
option localise_queries '1'
option localservice '1'
option local '/lan/'
option domain 'lan'
option expandhosts '1'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option nonwildcard '0'
option serversfile '/tmp/adb_list.overall'
option rebind_protection '0'
config dhcp 'lan'
option interface 'lan'
option start '100'
option limit '150'
option leasetime '24h'
option force '1'
option ra 'server'
option dhcpv6 'server'
option ra_management '1'
config dhcp 'wan'
option interface 'wan'
option ignore '1'
config odhcpd 'odhcpd'
option maindhcp '0'
option leasefile '/tmp/hosts/odhcpd'
option leasetrigger '/usr/sbin/odhcpd-update'
option loglevel '3'