On 22.6.2019, after storm and energy loss, two Turris Omnia routers got strange behaviour. Vlan stopped working. Maybe it is due the update to latest 3.11.5 or energy lost? Have been trying reboot, but with no success.
TO1 at my parent´s:
Vlan (for internet sharing with their neigtbour) - devices unable to obtain correct ip (169.xxx.xxx.xxx instead expected 192.168.3.xxx ) = no internet. When connected to normal network (port with no vlan) everything works fine.
TO2 at my home:
Vlan - device obtain ip from normal network range (192.168.1.xxx instead expected 192.168.3.xxx), but internet is working.
No settings were changed by me or anyone else. Any idea what could happen?
the 3.11.5 update should have created a snapshot, actually 2 - one prior commencing the update and one upon completion.
If you are familiar with cli and the schnapps tool you could schnapps list and find the snapshot number for the snapshot done prior to the update. then schnapps rollback - append the snapshot number you want to rollback to. that done reboot.
If everything works after the reboot you can be sure at least that the hardware is working and not not having suffered some sort power surge or something during the tempest.
But, I have backup of network settings and dhcp settings files (made after proper setting of vlan). According to compare of the two files:
for TO1 case:
DHCP - changes only made by me after backup (start ip range), no other changes. This should be ok, Only order of settings has changed, but it is not important (am I right?).
Well, I did rollback to snapshot before last update and no change. IP assigned in VLAN is from the same range as on normal network= 192.168.1.xxx instead 192.168.3.xxx
It seems problem is somewhere else then in dhcp or network settings. Is there any chance to find out why is this happening?
dnsmasq is pretty chatty with its logs. it should reveal when and which ip gets assigned and to which client. if that matches your observation then there is likely a misconfiguration in network a/o dnsmasq
If it does not match your observation than there might be another party distributing dhcp leases to your vlan ifaces.
At at glance it looks ok. Did you check the logs? Is there any other device in the network that hands out dhcp leases, e.g. upstream modem/router that handles connectivity with the ISP?
A have no access to router now, I´ll check logs in the evening.
There are no devices on VLAN on my own TO - that VLAN serves only for testing of VLAN for my parent´s TO. So I didn´t noticed this problem unless neightbour called me, that internet is not working after storm.
On my normal network, there is only GPON connected to WAN port and it is in bridge mode.
It is very strange that two TO with almost the same network and dhcp settings, independently, started behaving strange, almost at the same time…
2019-07-01 20:41:00 info dnsmasq-dhcp[5729]: DHCPREQUEST(br-lan) 192.168.1.225 20:1a:06:4f:da:08
2019-07-01 20:41:00 info dnsmasq-dhcp[5729]: DHCPACK(br-lan) 192.168.1.225 20:1a:06:4f:da:08 DESKTOP-UKDAUIT
2019-07-01 20:41:01 info /usr/sbin/cron[18254]: (root) CMD (/usr/bin/rainbow_button_sync.sh)
2019-07-01 20:41:01 warning odhcpd[3671]: DHCPV6 SOLICIT IA_NA from 000100012084fd64201a064fda08 on br-lan: ok fd2a:c5a2:11ed::39c/128
2019-07-01 20:41:01 info dnsmasq-dhcp[5729]: read /etc/ethers - 0 addresses
2019-07-01 20:41:02 warning odhcpd[3671]: DHCPV6 REQUEST IA_NA from 000100012084fd64201a064fda08 on br-lan: ok fd2a:c5a2:11ed::39c/128
2019-07-01 20:41:02 info dnsmasq-dhcp[5729]: read /etc/ethers - 0 addresses
I don´t understand it very much, but strange is that DHCPREQUEST and DHCPACK (don´t know what it is) has there “br-lan” - it should be “br-lan_2”, I think…
Second strange thing (for me) is /etc/ethers - that file is empty
And now I can see that port 3 has pvid 1 (the same as ports 0 and 1) and port 2 has pvid 3… After connecting cable to port 2 ip has the right range 192.168.3.xxx
I really don´t know what happened, that ports changed…