Switch from ISP provided router to openwrt

Hello,

My ISP uses FTTH.
They provided a modem+router device, which got an interface where fiber cable is connected. And two lan ports.
One of the lan port is connected to my Access point and every one connect to that access point to access internet.

In the Network->WAN configuration page of ISP provided device,


There is this VLAN Id.

I would like to stop this device acting acting as a router and use an openwrt device (Aruba AP-303H flahed with openwrt) as a router.

  • In the WAN configuration page of openwrt, I didnt find any place to put this VLAN ID and Multicast VLAN ID.
  • My Aruba AP-303H powers based on POE only via the port labelled as E0. And I use a POE switch to power it up.
  • So should I be connecting one of the LAN port from ISP provided device to the SWITCH as uplink? And from SWITCH to E0 of Aruba AP-303H to power it up as well act as WAN port?
  • Or can I make any other port (E1, E2 or E3) on Aruba AP-303H as wan port? And use E0 just to power up the device?

You have to direct your questions about connecting switch in place of their router to your provider ONLY. Probably you can figure out things on your own if the switch supports VLANs.

What are the other choices for Mode in the second box down?

You have to keep this device since there is no GPON (fiber) connection on the AP-303. Many "home gateway" boxes offer a "bridge" or "IP Passthrough" mode which is mostly a transparent unrouted link from your router's Ethernet to the ISP. When a Home Gateway is operating as a bridge, its wifi is not operational, and the only connection to it from your side would be one Ethernet cable to the WAN side of your system.
Another option is the ISP may be able to provide a simplified "ONT" box to replace the gateway you have now. An ONT operates as a bridge to one Ethernet port for a customer-supplied router.

Ideally the gateway or ONT will be able to continue to terminate the PPPoE tunnel (including applying VLAN tags). That is certainly supported on OpenWrt but there is no hardware acceleration for pppoe so it is rather CPU intensive on OpenWrt.

I was finally able to make it working by setting the modem in bridge mode as below,

Wired openwrt (Aruba AP-303H) wan (E0) to modem LAN 2 port.
And in openwrt I configured WAN as PPPoE with username and password.
And once I applied, I got a public IPv4 assigned on wan interface and IPv6 and IPv6-PD got assigned on wan_6 interrace.

Everything is working except I am not able to reach modem (192.168.20.1) console from the network. Any thoughts on how to fix that?

Add an explicit route to router subnet via openwrt’s wan.

Is above correct?
192.168.20.1 is my my modem address, which I want to access from clients connect to openwrt router at 192.168.1.1

Does gateway 1.1 know how to reach it? I think you were complaining it did not?

@simtcrom I think you’ll need to set a wan ip alias in the same subnet as your modem IP

2 Likes

In the new interface modem, What should be the IPV4 address I have to give?
My actual ISP modem console address is 192.168.20.1

gateway 192.168.1.1 is my openwrt router, from openwrt I am not able to reach 192.168.20.1

Any address in the same subnet as the modem interface. The 192.168.20.10 you have in your example will be fine. However the device for the modem interface needs to be the L2 device not @wan

I am not able to fully understand "L2 device"

Which one I should pick from the drop down?

Read the last paragraph in the link I posted.

Its probably ‘Switch port wan’

2 Likes

Thank you. That worked.