What settings do I need to change to run OpenWrt in switch mode. I’m installing it on a switch this weekend

I’m installing OpenWrt on a switch this weekend. Is there any settings that I need to adjust or change in OpenWrt to make it operate better as a switch? I assume I turn off DHCP and the firewall. How do I turn off the routing functions of OpenWrt as I won’t need that as my OpenWrt One wireless router will handle that. Anything else I need to do?

Thank you.

What is the device in question? If it is a router/all-in-one wifi device, you'll basically follow the same process as you would for a bridged AP.

If your device it is a managed switch (and not a router), I think that the DHCP server is disabled by default. But you'll probably need to change the interface address.

I’m installing it onto the Linksys LGS310C managed switch. Why would I need to change the interface address?

I don't have any OpenWrt supported managed switches, so I've never set one up from scratch. Others may chime in with corrections if I'm wrong here...

IIRC, the DHCP server is disabled in the default state. But, I think that the default address on the lan interface is 192.168.1.1. This is a common address for the main router in many home networks, so it could conflict. Even if you're using a different subnet in your environment, you'll probably want to put the switch on the same subnet so that you can administer it. Either way, you may need to change the address before you connect it to your network. After you flash, you'll probably need to set your computer to a static IP address in the 192.168.1.0/24 network, with 192.168.1.1 as the expected switch address -- once you connect to the switch, you can change the address as appropriate for your network (i.e. on the desired subnet, outside the DHCP pool, and not used by any other devices with static IP assignments).

Thank you. This is what I was looking for.

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