Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#2789 - WAN-LAN leakage during boot on Asus RT-N11P #7599

Open
openwrt-bot opened this issue Jan 31, 2020 · 2 comments
Open

FS#2789 - WAN-LAN leakage during boot on Asus RT-N11P #7599

openwrt-bot opened this issue Jan 31, 2020 · 2 comments
Labels
flyspray kernel

Comments

@openwrt-bot
Copy link

@openwrt-bot openwrt-bot commented Jan 31, 2020

TmorKax:

On Asus RT-N11P (MT7620N) not work properly DHCP. Zero-day bug. Affected all firmwares from 18.06.0 to 19.07.1. No additional packages used.

Steps to reproduce:

1: Reboot router when any OS fully loaded.
2: After reboot router give through DHCP internal ip my ISP.
3: No internet connection.

If restart OS network, router give normal ip. But if again reboot router then the problem is repeated. Its a bug MT7620N but official router firmware have solution to bypass it and DHCP gives normal ip.
For now, to bypass the bug, I use manual entry in OS network settings:

Addres 192.168.1.127
Netmask 255.255.255.0
Gateway 192.168.1.1
DNS 192.168.1.1

@openwrt-bot
Copy link
Author

@openwrt-bot openwrt-bot commented Feb 1, 2020

bjonglez:

This looks like a WAN-LAN leakage during boot because the switch is not yet configured.

Can you provide your switch configuration (/etc/config/network)?

@openwrt-bot
Copy link
Author

@openwrt-bot openwrt-bot commented Feb 2, 2020

TmorKax:

Sure. Only when this happens I do not have access through ssh. Have to re-enable OS network to make it work. Therefore, I do not know if the network config contains traces of the problem or after I re-enable OS network, no longer.

config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'

config globals 'globals'
option ula_prefix 'XXXX:XXXX:XXXX::/XX'

config interface 'lan'
option type 'bridge'
option ifname 'eth0.1'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'

config device 'lan_eth0_1_dev'
option name 'eth0.1'
option macaddr 'XX:XX:XX:XX:XX:XX'

config interface 'wan'
option ifname 'eth0.2'
option proto 'dhcp'

config device 'wan_eth0_2_dev'
option name 'eth0.2'
option macaddr 'XX:XX:XX:XX:XX:XX'

config interface 'wan6'
option ifname 'eth0.2'
option proto 'dhcpv6'
option auto '0'

config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'

config switch_vlan
option device 'switch0'
option vlan '1'
option ports '0 1 2 3 6t'

config switch_vlan
option device 'switch0'
option vlan '2'
option ports '4 6t'

@aparcar aparcar added the kernel label Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray kernel
Projects
None yet
Development

No branches or pull requests

2 participants