F5F Stay Refreshed Power Users Networks Configurar DHCP en OpenWRT

Configurar DHCP en OpenWRT

Configurar DHCP en OpenWRT

B
BCFgames
Junior Member
6
08-15-2022, 09:55 AM
#1
Hello everyone, I'm using an OpenWRT router with a main LAN named "lan" that has the IP 10.230.0.1. When devices connect via Ethernet or Wi-Fi, they receive 10.0.0.x instead of the original 10.230.0.1. The network still works online, but I'm curious about why this change occurs and if it's possible to fix it. My goal is to have a guest network using 10.0.0.x and understand what's happening after I reset and reconfigured the router today. Previously, with the same setup, a guest WAN at 10.0.0.1 gave all devices the same address, and wireless connections often failed to provide internet access. Any suggestions would be appreciated.
B
BCFgames
08-15-2022, 09:55 AM #1

Hello everyone, I'm using an OpenWRT router with a main LAN named "lan" that has the IP 10.230.0.1. When devices connect via Ethernet or Wi-Fi, they receive 10.0.0.x instead of the original 10.230.0.1. The network still works online, but I'm curious about why this change occurs and if it's possible to fix it. My goal is to have a guest network using 10.0.0.x and understand what's happening after I reset and reconfigured the router today. Previously, with the same setup, a guest WAN at 10.0.0.1 gave all devices the same address, and wireless connections often failed to provide internet access. Any suggestions would be appreciated.

K
Kytzis
Member
183
08-16-2022, 07:45 PM
#2
Your network's subnet mask is not provided, and the DHCP range on the server isn't specified in the request. Please share the relevant details for accurate information.
K
Kytzis
08-16-2022, 07:45 PM #2

Your network's subnet mask is not provided, and the DHCP range on the server isn't specified in the request. Please share the relevant details for accurate information.

N
nbp05123
Member
63
08-18-2022, 10:42 PM
#3
My subnet mask is 255.0.0.0. Regarding the DHCP range, I’m not sure. OpenWRT doesn’t display that information clearly. In the DHCP settings, you can turn the server on/off and adjust a few other options, but the range isn’t changed like with most routers.
N
nbp05123
08-18-2022, 10:42 PM #3

My subnet mask is 255.0.0.0. Regarding the DHCP range, I’m not sure. OpenWRT doesn’t display that information clearly. In the DHCP settings, you can turn the server on/off and adjust a few other options, but the range isn’t changed like with most routers.

D
DigoTheKiller
Junior Member
17
08-20-2022, 09:20 AM
#4
This explains why your router's IP is 10.230.0.1 and it can reach devices on 10.0.0.1. Your network range is essentially 10.x.x.x. Since you're using LEDE, the interface might differ from OpenWRT, but the settings are under LAN interfaces. Adjust the interface where DHCP is enabled and at the bottom. It's a basic setup—start with the DHCP pool location and end it where you want. I suggest changing your router IP to 10.0.0.1, updating the subnet mask to 255.255.255.0, and setting the DHCP range from 100 to 100. If you need a separate guest network, use 10.1.0.1 with a 255.255.255.0 mask, starting at 100 and going up to 50.
D
DigoTheKiller
08-20-2022, 09:20 AM #4

This explains why your router's IP is 10.230.0.1 and it can reach devices on 10.0.0.1. Your network range is essentially 10.x.x.x. Since you're using LEDE, the interface might differ from OpenWRT, but the settings are under LAN interfaces. Adjust the interface where DHCP is enabled and at the bottom. It's a basic setup—start with the DHCP pool location and end it where you want. I suggest changing your router IP to 10.0.0.1, updating the subnet mask to 255.255.255.0, and setting the DHCP range from 100 to 100. If you need a separate guest network, use 10.1.0.1 with a 255.255.255.0 mask, starting at 100 and going up to 50.

G
Gh0sTrider17
Member
58
08-20-2022, 09:51 AM
#5
Great job setting up the guest network! Your LAN is at 10.230.0.1 and the guest LAN at 10.230.1.1, with firewall rules from OpenWRT.org. The subnet mask is now correctly set to 255.255.255.0 for both networks. Thanks for sharing your progress—OpenWRT is definitely making you learn more!
G
Gh0sTrider17
08-20-2022, 09:51 AM #5

Great job setting up the guest network! Your LAN is at 10.230.0.1 and the guest LAN at 10.230.1.1, with firewall rules from OpenWRT.org. The subnet mask is now correctly set to 255.255.255.0 for both networks. Thanks for sharing your progress—OpenWRT is definitely making you learn more!