I just upgraded my AX6000 router FW with version 24.10.4. I am using 192.168.1.1/24. It couldnt be simpler. DHCP addresses are in the range of 100-150. Now none of my static Ip addresses that I assigned on the machines themselves work any longer. I can ping the router address of 192.168.1.1 but get no response from GW and no connectivity to WAN. I have reset router and even reloaded FW but static addresses are a no go.
Post your /etc/config/dhcp.
config dnsmasq
option domainneeded '1'
option boguspriv '1'
option filterwin2k '0'
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
option local '/lan/'
option domain 'lan'
option expandhosts '1'
option nonegcache '0'
option cachesize '1000'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.d/resolv.conf.aut
option nonwildcard '1'
option localservice '1'
option ednspacket_max '1232'
option filter_aaaa '0'
option filter_a '0'
config dhcp 'lan'
option interface 'lan'
option start '100'
option limit '150'
option leasetime '12h'
option dhcpv4 'server'
option dhcpv6 'server'
option ra 'server'
option ra_slaac '1'
list ra_flags 'managed-config'
list ra_flags 'other-config'
config dhcp 'wan'
option interface 'wan'
option ignore '1'
config odhcpd 'odhcpd'
option maindhcp '0'
option leasefile '/tmp/hosts/odhcpd'
option leasetrigger '/usr/sbin/odhcpd-update'
option loglevel '4'
option piofolder '/tmp/odhcpd-piofolder'
config dhcp 'Guest'
option interface 'Guest'
option start '100'
option limit '150'
option leasetime '12h'
As far as I can tell this config does not include any static address assignments at all.
Wait or do you mean with static assignments you configured these address staticly on the client system?
Yes I had several machines that were configured on the client side with static IPs,mask, gateway, DNS and they all worked fine until I did the upgrade to the new version of FW. Now they cant get out the default gateway. They can ping the openwrt router and other devices on the LAN but I cannot get out the WAN port.
If you disable the static ip address and use automatic dhcp do you have internet?
If not:
What were you running before you upgraded?
Did you keep settings while upgrading?
What is on the wan side and what subnet is on the wan side?
What are the values of all of those settings (from one or two of the statically assigned hosts)?
Let’s also see your /etc/config/network config file.
Here are the configs
Windows IP Configuration
Ethernet adapter Ethernet:
Connection-specific DNS Suffix . :
IPv6 Address. . . . . . . . . . . : fd3e:d1d0:b023::28e
IPv6 Address. . . . . . . . . . . : fd3e:d1d0:b023:0:77a6:aa28:a00:f968
Temporary IPv6 Address. . . . . . : fd3e:d1d0:b023:0:6579:85ad:3fa4:6cb9
Link-local IPv6 Address . . . . . : fe80::79d4:c7a2:2dcb:3ae%6
IPv4 Address. . . . . . . . . . . : 192.168.1.40
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.254
DNS.....8.8.8.8
Ethernet adapter Ethernet:
Connection-specific DNS Suffix . :
IPv6 Address. . . . . . . . . . . : fd3e:d1d0:b023::28e
IPv6 Address. . . . . . . . . . . : fd3e:d1d0:b023:0:77a6:aa28:a00:f968
Temporary IPv6 Address. . . . . . : fd3e:d1d0:b023:0:6579:85ad:3fa4:6cb9
Link-local IPv6 Address . . . . . : fe80::79d4:c7a2:2dcb:3ae%6
IPv4 Address. . . . . . . . . . . : 192.168.1.40
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.254
And here is the router network file
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 'fd3e:d1d0:b023::/48'
option packet_steering '1'
config device
option name 'br-lan'
option type 'bridge'
list ports 'lan1'
list ports 'lan2'
list ports 'lan3'
list ports 'lan4'
list ports 'lan5'
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 'eth1'
option proto 'dhcp'
config interface 'wan6'
option device 'eth1'
option proto 'dhcpv6'
config interface 'Guest'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
Your gateway is wrong:
compared to:
The gateway needs to be updated to 192.168.1.1 or your OpenWrt lan IP needs to be changed to 192.168.1.254.
Meanwhile, you also have a major conflict:
The guest network conflicts directly with the lan subnet. Delete it or change it to another subnet.
I cant believe I missed that on the GW. I am still getting used to OpenWRT. I had a FW update go sideways and had to recreate everything, making a couple of mistakes along the way. A difficulty I have is the videos and stuff that are out there dont match the current version and things get really confusing. Thank you for your help, it is greatly appreciated. Can you recommend a good source to read on how Openwrt works, I find the OpenWRT use of "interface" not very intuitive.
Thanks again
Jon
It happens to all of us. This is one of the downsides to using static IP assignments on the host itself -- you don't need to worry about this type of thing if you use DHCP (and you can set static DHCP assignments within the DHCP server).
Local/manual static IPs are a good idea for devices that must be reachable even if the router/DHCP server is down... this often applies to things like APs/managed switches/servers, but less often to the rest of the hosts on your network. There's no right or wrong here, but DHCP is undoubtably less fussy.
That's annoying, but actually a positive in terms of getting to know the system better. Failure/mistakes and/or fixing things is how we really learn and internalize stuff.
Pay attention to the age of the videos and/or the version numbers they are using. While there can be other factors that account for discrepancies between the videos and what you have in front of you, generally speaking the versions are the big part of this. If the video is not current (say n-1 or maybe n-2), there may be minor differences that you can probably find your way around... if it's old (like n-3 or more), it may be very different and you should look to other more recent content.
I most often recommend the OpenWrt wiki. While there can be errors (i.e.typos, unclear directions, and the like; less often but occasionally the result of edits by inexperienced users), it's generally well vetted. It's not always up to date with respect to screenshots, but these are usually not major impediments).
There have been "threats" of creating a wiki article to try to disambiguate the terms (ports, devices, interfaces, etc.).
In the network config file:
Interfacesare layer 3 (routed) constructs -- your lan and wan network interface stanzas are good examples of these.Devicescan refer to physical ports, virtual ports (like a VPN tunnel) or a combination of physical ports by means of a bridge.Portsare usually the names of the actual physical ports on the device.- In the firewall file and a few other places, you will see ports as defined as the listening port for services (such as 22 for ssh, or 80/443 for web, etc.).
Finally:
If your problem is solved, please consider marking this topic as [Solved]. See How to mark a topic as [Solved] for a short how-to.
Thanks! ![]()
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.