Pppoe edgerouter 4

I have decided to try 24.10.1 on my edgerouter 4. I have managed to get an image loaded however as soon as I reconfigure wan port lan0 to be pppoe the lan bridge interface and port lan1 that I was physically connected to looses connectivity from the browser to Luci. I've done the failsafe to start over but this keeps happening.

Console is clear of errors right up until save the pppoe on the wan. Then this error appears for port 2 which lines up to lan1 in the bridge. If I move cable to another bridge port error moves there.
Now just to be sure I swapped out cable. Only other thing I thought is lan1 connected to 2.5G switch which autoneg down to 1G as you would expect. If that was a problem surely I would have these errors from start and never even reach the gui. Soon as I configure pppoe,creds and mtu as 1480 save and apply it strikes.

receive error code 4, packet dropped

Did you remove the port from original bridge and tapped on save+apply first?

But according to

lan0 is only the WAN port aka eth0 and the br-lan is eth1, eth2 and eth3 (sfp) ?

1 Like

The lan1 port? No because that’s the got the management/gateway ip I’m trying to connect to. I don’t understand why that would or should be necessary or desirable.

Exactly that. Why would config applied to WAN port instantly kill the management connection and fire up an error? Doesn’t seem logical to me.

We can probably figure this out by looking at the default state of the config and then recommending changes to do directly on that file.

Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button:
grafik
Remember to redact passwords, MAC addresses and any public IP addresses you may have:

ubus call system board
cat /etc/config/network

Do you mean the config as I have configured it (ssh connection to died same time as gui but could use console) or firstboot to restore then I would be able to ssh? The latter config being clean.

reset the device to defaults and then grab the config files.

2 Likes

Done

ubus call system board
{
        "kernel": "6.6.86",
        "hostname": "OpenWrt",
        "system": "UBNT_E300 (CN7030p1.2-1000-AAP)",
        "model": "Ubiquiti EdgeRouter 4",
        "board_name": "ubnt,edgerouter-4",
        "rootfs_type": "squashfs",
        "release": {
                "distribution": "OpenWrt",
                "version": "24.10.1",
                "revision": "r28597-0425664679",
                "target": "octeon/generic",
                "description": "OpenWrt 24.10.1 r28597-0425664679",
                "builddate": "1744562312"
        }
}


 cat /etc/config/network

config interface 'loopback'
        option device '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::/48'

config device
        option name 'br-lan'
        option type 'bridge'
        list ports 'lan1'
        list ports 'lan2'
        list ports 'lan3'

config interface 'lan'
        option device 'br-lan'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'
        option ip6assign '60'

config interface 'wan'
        option device 'lan0'
        option proto 'dhcp'

config interface 'wan6'
        option device 'lan0'
        option proto 'dhcpv6'

Your config looks OK, under normal conditions you use lan0 as ppp backend, which should not impact br-lan memb€rs in any way.
Try PADO discovery before saving.

I understand lan0 is mapped as WAN and changing it to pppoe from dhcp should not kill my management connectivity on the bridged ports but it does. I looked up PADO and that seems to be related to my internet connection stability which seems like putting the cart before the horse. I might try ditching the bridge altogether.

Tried taking the lan1 interface out of the bridge group. As before no issues connecting initially but as soon as configured all my pppoe credentials it died. So I started with clean install again and saved after each step configuring then moving back to status page. So far so good. Then I changed mtu to 1480 on wan/lan0 and that's when I lose connectivity. Flipping MSS clamping or mtu_fix in the firewall settings doesn't help either. ISP requires this fixed mtu so I'm kinda stuck. changing mtu on wan interface should not present issue to connections terminating on green/lan/bridge. So is this a bug?

Need more info. It works with default 1492/1500/1504 mtu set but then you reduce (whichof them?) and it self-KO-s?

which ISP requires an MTU of 1480 on FTTP?

GoFibre in the UK and any of the smaller providers that need to sublet from openreach backbone. I live in rural area. This is the only fibre to the home provider.

Ok,

UK here as well, currently behind a Virtual1 FTTP connection.

Gofibre works with a 1508 MTU, see
https://forums.thinkbroadband.com/fibre/4761894-gofibre-install.html

I don't know know what self-KO means. It was on default of 1500 yes.
This is my wan config as it stands at the moment and captured from console port. The cisco cable really working hard this week :slight_smile:

# From /etc/config/network
config interface 'wan'
        option device 'lan0'
        option proto 'pppoe'
        option username 'xxx'
        option password 'xxx
        option mtu '1480'
        option ipv6 'auto'

and the MSS clamp setting. I get the logic of this as there ISP gets the same size irrespective of customer equipment or it's own.

# /etc/config/firewall mtu_fix set to 0 by me since 1 wasn't working.
config zone
        option name 'wan'
        option input 'REJECT'
        option output 'ACCEPT'
        option forward 'REJECT'
        option masq '1'
        option mtu_fix '0'
        list network 'wan'

MSS clamp patches (small) syn packets to fit future connection inside ppp tunnel mtu, contrary to large from start udp which get "frag-needed" icmp feedback from the very start.

Could you post full (no passwords) /etc/config/network ? There should be no operational issues down to 1280 mtu

Yeah I saw that post as well when I was preparing to switch over and deliberately asked for mtu size. I was told be gofibre that 1480 was the setting and it's been working great on my other edgerouter that's still running EdgeOS. Irrespective of ISP settings I should not lose management connectivity by changing the mtu on the WAN interface which. I assume that gofibre needs the headroom as there is futher encapsulation from all local areas before it's forwarded on.
((gofibre-local)->(gofibre-central))->(openreach)

1 Like