Hi everyone, im newbie here. I bought Zyxel NBG6617 and installed openwrt 19.07 then modem switch bridge mode and disable WiFi/DHCP server but now i cant reach modem ui. First try this guide but there no eth0.2 interface then i learned i need active vlan2 settings unfortunately when i do that only acces via wifi to internet/router. How i can fix that? Sorry my bad english (Please use luci interface for guide)
you should add a second vlan, in the second screenshot you posted switch configuration, click add, vlan id 2 and set cpu(eth0) to tagged for both vlan id1 and vlan id 2. lan 1 untagged for vlan2 and lan 2,3,4 untagged for vlan1. lan1 = bridge modem port all other ports are lan.
then your lan will be eth0.1 and your wan eth0.2 bridged with dsl interface
When i do that my internet connect down and i cant access my router via lan cable. My modem and router(NBG6617) connect lan(modem) to wan(NBG6617) but there is no wan icon for switch
eth1 is “hard wired” to port 5 with vid 2. To get multiple vlans working we need to declare vlan 2 in /etc/config/network containing '0t 5' ports. Then we can e.g. bridge a LAN port to WAN. Note that using eth0.2, eth0.1, won't work. Bridging in vlan setup is sufficient.
what is connect to this on lan1 and lan2 (your screenshot)? you wanted 2 vlans but you are not actually using lan4 port which is the vlan we created.. i'm kinda lost atm
try to connect modem to lan4 just a test.. if it does not work i'm lost!
edit: modem lan ip?
edit2: you are just missing and interface with same ip of modem on your device vlan 2, put new interface in wan firewall zone. was all in your link in first post and openwrt wiki
Identify the IP address needed to log into the modem, that is the one that the modem holds for http / TCP connections outside the public IP and pppoE protocol. For cable modems it is usually 192.168.100.1, for DSL it can be others typically 192.168.0.1
If this IP overlaps and conflicts with your LAN you will need to change one of them.
Once that is sorted, create a dummy interface to reach the modem as described in the "WAN via PPPoE" section of the guide that @trendy linked. It needs a static IP and netmask that covers the modem's adminstration network but is not the same (e.g. 192.168.0.2, netmask 255.255.255.0). As the guide describes, place this network in the wan firewall zone because you don't want to trust the modem, you will only make outgoing connections to it.
My modem main ip is 192.168.1.1
I turned my modem into the bridge mode and turned off the dhcp server option
After that i connected my modem from lan port to my router wan port
When i installed openwrt to my router my router converted my main access ip for my router to 192.168.1.1(same main ip as my modem)
When i'm trying to add interfaces and connect it to eth1 it breaks my internet connection