Hi, I've run into an issue while trying to replace the router provided by my ISP and provide all services through my own router. I would like to do this because the router provided does not support 5G wireless and the range of the 2,4 is poor.
Brief description of the issue
Intermitted connection with all channels. I have signal for 5 to 10 seconds. After losing the signal it can be recovered by changing channel, doing so immediately recovers the signal, but again only for 5 to 10 seconds. However, video on demand works without issues.
Notes
ISP: Movistar (Chile)
Type: FTTH
Services: Internet & IPTV
Internet: PPPOE, vlan 2
IPTV: Static IP: 10.76.88.x/21, vlan 7, 4 static routes.
Router
Asus RT-AC68U
Firmware: Asuswrt-Merlin 380.68_4
Configuration
Default PPPOE WAN config
Enable VPN + DHCP Connection: No
IPTV ISP Profile: Manual Setting.
Internet VID 2, PRIO 0
LAN4 empty
LAN4 empty
DHCP routes: RFC3442 & Microsoft
IGMP Proxy: Disabled
IGMP Snooping: Enabled
JFFS partition: Formatted
JFFS custom scripts: yes
Scripts
/jffs/scripts/services-start
/jffs/scripts/nat-start
/jffs/scripts/firewall-start
/jffs/configs/igmpproxy.conf
Scripts made executable & reboot
Any help would be greatly appreciated. Thanks,
Brief description of the issue
Intermitted connection with all channels. I have signal for 5 to 10 seconds. After losing the signal it can be recovered by changing channel, doing so immediately recovers the signal, but again only for 5 to 10 seconds. However, video on demand works without issues.
Notes
- I cant use Movistar ISP profile, since it´s specifically for Spain. They use different routes and vlans. (Unless you know of a way to modify the profile)
- Merlin firmware demonstrates the same issue across different versions. Therefore I also expect the issue to be a configurational issue, not a firmware issue.
- Asus firmware doesn't work, as it doesn't allow for custom scripts. (and also the Movistar ISP profile is incorrect for Chile)
- FYI: Static IP partially omitted in this post.
- In Spain they have had success with this configuration (with their vlans and routes)
- Reference: https://www.adslzone.net/postt404038.html
ISP: Movistar (Chile)
Type: FTTH
Services: Internet & IPTV
Internet: PPPOE, vlan 2
IPTV: Static IP: 10.76.88.x/21, vlan 7, 4 static routes.
Router
Asus RT-AC68U
Firmware: Asuswrt-Merlin 380.68_4
Configuration
Default PPPOE WAN config
Enable VPN + DHCP Connection: No
IPTV ISP Profile: Manual Setting.
Internet VID 2, PRIO 0
LAN4 empty
LAN4 empty
DHCP routes: RFC3442 & Microsoft
IGMP Proxy: Disabled
IGMP Snooping: Enabled
JFFS partition: Formatted
JFFS custom scripts: yes
Scripts
/jffs/scripts/services-start
Code:
#!/bin/sh
MOVISTAR_TV_IP="10.76.88.X"
MOVISTAR_TV_MASK="255.255.248.0"
MOVISTAR_TV_GW="10.76.88.1"
robocfg vlan 7 ports "0t 5t"
vconfig add eth0 7
ifconfig vlan7 $MOVISTAR_TV_IP netmask $MOVISTAR_TV_MASK up
ip route add to 172.30.128.0/23 via $MOVISTAR_TV_GW
ip route add to 200.54.244.0/23 via $MOVISTAR_TV_GW
ip route add to 172.29.0.0/22 via $MOVISTAR_TV_GW
ip route add to 172.29.64.0/19 via $MOVISTAR_TV_GW
sleep 30
/usr/sbin/igmpproxy /jffs/configs/igmpproxy.conf
/jffs/scripts/nat-start
Code:
#!/bin/sh
iptables -t nat -I POSTROUTING -o vlan7 -j MASQUERADE
/bin/echo 0 > /proc/sys/net/ipv4/conf/vlan7/rp_filter
/bin/echo 0 > /proc/sys/net/ipv4/conf/br0/rp_filter
/jffs/scripts/firewall-start
Code:
iptables -I INPUT -p igmp -i vlan7 -d 224.0.0.0/4 -j ACCEPT
iptables -I INPUT -p udp -m udp -i vlan7 -d 224.0.0.0/4 -j ACCEPT
iptables -I FORWARD -p igmp -i vlan7 -d 224.0.0.0/4 -j ACCEPT
iptables -I FORWARD -p udp -i vlan7 -m udp -d 224.0.0.0/4 -j ACCEPT
iptables -I FORWARD -o vlan7 -j ACCEPT
/jffs/configs/igmpproxy.conf
Code:
quickleave
phyint vlan7 upstream ratelimit 0 threshold 1
altnet 172.30.128.0/23;
altnet 200.54.244.0/23;
altnet 172.29.0.0/22;
altnet 172.29.64.0/19;
phyint br0 downstream ratelimit 0 threshold 1
Scripts made executable & reboot
Code:
cd /jffs/scripts/
chmod a+x *
reboot
Any help would be greatly appreciated. Thanks,