How to setup an AP with only one ethernet interface as a router?

I'm trying to setup a TP Link EAP225 as an edge device. I don't have any wired clients so the one ethernet port needs to connect to my ISP's modem. How do I achieve this? So far I've created a new wan interface and assigned eth0 as the device and added the interface to the wan firewall group. But I'm not sure how to proceed after that. It seems I need to get rid of the LAN bridge? Any help is appreciated. Thanks.

Posted Dec 21, 2021, 4:08 AM UTC

54
fuxxociety•

Keep the LAN bridge, but remove the Switchport Interface from the bridge. You should have a LAN bridge consisting of the CPU interface and the wireless interface.

The wan interface would also be a bridge, connecting the other CPU interface to the Switchport Interface.

I don't have one of these devices, so that was just a guess. I'm assuming the CPU has two internal network interfaces, but it may only have one. If the CPU only has one interface you would have to resort to using vLANs on the CPU interface. Unsure if your hardware actually supports this.

2
bob_in_the_west•

There likely is no "other cpu interface".

1
[deleted]•

Cross-posted on OpenWRT as well.

https://forum.openwrt.org/t/how-to-setup-an-ap-with-only-one-ethernet-interface-as-a-router/115164

Make sure when you cross-post that you include the link to the other thread(s) in each thread you start.

That way, folks will know what has been suggested, and what has been tried.

Eliminates confusion and people wasting their time researching stuff that has already been done.

1
asimons04•

Might be cheating using a smart switch, but I put my cable modem on a VLAN port where its untagged traffic was put onto VLAN 4. On my single-NIC device, I created a new interface called eth0.4 and configured it as the WAN and left the untagged eth0 as my LAN.

Worked well enough as my internet was only 400 Mbps so the gigabit Ethernet was just enough.

1