Static route to bridged PPPoE modem

An OpenWRT device does PPPoE via a simple VDSL router+modem that does not run OpenWRT and is configured in bridge mode:

config interface 'wan'
        option ifname 'eth0.2'
        option proto 'pppoe'
        option username 'user'
        option password 'pass'

The router/modem is configured as with all DHCP disabled, per best practices for such configuration. The OpenWRT device is and assigns local addresses within

How do I create a static route such that all devices on the LAN can access This is useful e.g. when needing to look up DSL line diagnostics.

Currently when I need to do that I connect a device directly to the modem with a static IP and then access, but obviously it would be nice if the OpenWRT box would be able to handle this route natively.

I would assume something like this would work:

config route
        option interface 'wan'   # or 'lan'
        option target ''
        option netmask ''
        option gateway ''

But seems that's not enough.

You have to create another interface on the underlying interface of PPPoE

1 Like

You need to create another interface on eth0.2 with static IP and add that interface to the same firewall zone with wan.

1 Like

Yep, that did it, thanks!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.