How to configure a port for a special device

I have a need to use the LAN2 port for a separate IP address space (say 192.168.10.X). This will port will be plugged into a New Packet Radio modem which has an ethernet port. This device will require a group of DHCP addresses that it will request for client devices as needed. I am relatively new to Openwrt and struggling a bit with the documentation, especially the concept of interfaces. in Luci can I just create an interface call it NPR with static address, assign it to device LAN2 and then go and configure it for DHCP?

The specifics for the port assignment will depend on your router model, but in general you can start with the guest wifi guide.

  • If wifi isn't required, you can simply skip the wifi SSID creation, and just focus on the network, dhcp, and firewall functions.
  • if the "special device" is trusted, you can add the new network to the lan firewall zone and simplify the config. If not, configure it as the guide suggests which will isolate it from the main lan and prevent it from accessing the router itself. You can always modify the firewall to make adjustments to the accessibility and/or privileges of the new network.

Once that's done, post your configs for review and we can then advise about the specifics of the port assignment (usually quite easy).

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 (red circle; this works best in the 'Markdown' composer view in the blue oval):

Screenshot 2025-10-20 at 8.14.14 PM

Remember to redact passwords, VPN keys, MAC addresses and any public IP addresses you may have:

ubus call system board
cat /etc/config/network
cat /etc/config/wireless
cat /etc/config/dhcp
cat /etc/config/firewall
1 Like

Yep, and good luck with the packet radio.

73

Thank you. That was what I thought but being new it is always helpful to ask more experienced people before I make a mess! I must say I am totally impressed by OPenwrt, its features, performance and above all else the help I can get in the forums.

Thanks again
Jon

1 Like

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