-
szilard
So my NAS got ipV6 address, however after 1-2 hours the ipv6 address disapears. Restarting the ndp service restores the ipv6 adress:
i.kek.sh/7uN27YLGMC0.png But then it disappears again. What have I missed during the setup, how can I set up the NAS to keep the IPV6 adress? I am using SLAAC here.
-
szilard
root@omnios:~# cat /etc/inet/ndpd.conf
-
szilard
ifdefault StatelessAddrConf on
-
szilard
ifdefault StatefulAddrConf off
-
szilard
ifdefault TmpAddrsEnabled true
-
szilard
ifdefault TmpPreferredLifetime 600
-
szilard
ifdefault TmpValidLifetime 600
-
sjorge
Might be rhe tmpaddrsenabled
-
szilard
I had this before I have added the tmpaddr too.
-
szilard
root@omnios:~# cat /etc/hostname6.e1000g0
-
szilard
token ::10/64
-
szilard
I also have this.
-
szilard
I didn't had IPV6 connectivvity during the install, so maybe I missed some important setting / file / service.
-
tsoome
nas is omnios?
-
szilard
yes
-
tsoome
does ipadm show address objects for v6?
-
szilard
have you see nthe screenshot I posted? Does that contain the info you was asking for?
-
tsoome
like: vioif0/v6 addrconf ok fe80::8:20ff:fe4d:a12a%vioif0/10
-
szilard
-
szilard
I have censored it because it is a global ipv6 adress
-
tsoome
ok, objects are there.
-
tsoome
this is physical host with direct connection or vm?
-
szilard
this is a physical host
-
tsoome
essentially, if your setup is using stateless addrconf, then the router is supposed to send periodically out prefix announcements, if those announcements stop, then the prefix will expire and the address is dropped from interface. With dhcpv6, you get stateful config and address (with prefix) is coming from dhcp server and lease lifetime settings apply.
-
szilard
But as I have mentioned, restarting the service makes the ipv6 address show up immediately. So I think the router announces the prefix just fine, just omnios ignores it and lets the address expire.
-
tsoome
in case of stateless setup, it is possible your ISP is not sending prefix announcements (then the prefix will expire in your router and it will stop announcements in your lan), or your router is buggy.
-
tsoome
you should be able to monitor the announcements with snoop/tcpdump/tshark
-
tsoome
I had similar issue with my netgear orbi, and at some point in time it got "fixed", I'm not even sure if the cause was at ISP or in my router...
-
szilard
I understand, but none of the other clients have any issue with the router. So I suspect the issue is in omnios or in its config.
-
szilard
I have created the ndpd.conf and the ipv6 address did not dissapeared in the last 30 min. I will monitor it further and hope it will work now.
-
tsoome
oh, rhight, ndpd has option to switch on the debug printout
-
szilard
the ndpd log shows me the following:
-
szilard
Mar 16 13:10:37 /etc/inet/ndpd.conf line 6: TmpDesyncFactor (600) is greater than TmpPreferredLifetime (120)
-
szilard
Mar 16 13:10:37 /etc/inet/ndpd.conf line 7: TmpPreferredLifetime (86400) is greater than TmpValidLifetime (120)
-
szilard
86400 is 24h. I suspect omniOS simply lets the address expire. So i have reordered the entries in the ndpd.conf like this:
-
szilard
ifdefault TmpPreferredLifetime 600
-
szilard
ifdefault TmpValidLifetime 600
-
szilard
since then no warning. MAybe the default 86400 sec alue is simply too long.
-
szilard
but this config options are for the temp addresses, so it should not impact the global ipv6 address.
-
tsoome
yep.
-
szilard
no idea then :S
-
tsoome
well, you can run in.ndpd -d (or -D XXX where XXX is value you can find from source), this will stop turning into daemon, so you need to disable smf service and start it manually
-
tsoome
-d does enable full debug, so it will spam some...
-
tsoome
but my symptoms were quite similar -- phones and macos had ipv6, illumos got them expired
-
tsoome
I was already suspecting if its related to missing ND_OPT_ROUTE_INFO feature, but then it was "magically" fixed:D
-
szilard
ipv6 adress just disapeared.
-
szilard
Lets try with the -d
-
szilard
strange, but I can1t sem to find the in.ndpd executable, it is not in $PATH
-
szilard
/usr/lib/inet/in.ndpd
-
tsoome
yep
-
szilard
-
szilard
The router is running up-to-date openwrt.
-
tsoome
-
szilard
It says: "Address removed due to timeout "
-
szilard
-
szilard
I have buped the "IPv6 Valid Prefix Lifetime" and "IPv6 Preferred Prefix Lifetime" to 10 years.
-
sommerfeld
szilard: router should be periodically multicasting a prefix advertisement to ff02::1 ; if ndpd doesn't see the advertisement it will time out the prefix and the address will go away.
-
Kurlon
And... second time my box has just randomly hung, then self rebooted with no crashdump or other clue as to why. First on 151054ad, this time on 151054am. 'feels' like a storage IO hang as it'll ping but not complete an ssh attempt before it reboots?
-
Kurlon
Of course it's remote so no idea what was on screen when it tanked.
-
nomad
Sometimes I miss the old hard-copy console.
-
Kurlon
Yeah.... would be so nice right about now.
-
Kurlon
Save for the hour drive to get to it...
-
nomad
RS-232 console server with log ....
-
Kurlon
smartctl looks healthy across the board
-
Kurlon
nvme slogs show healthy
-
Kurlon
Ok,
illumos.org/issues/8391 matches up pretty well to what I've observed, short of seeing the console output.
-
fenix
→
BUG 8391: mr_sas controller lockup on Dell H330 (New)
-
Kurlon
-
Woodstock
if you can, replace it with a HBA330
-
Kurlon
Or, toss it given the mandate is no more local anything... blech. This will be a fun chat tomorrow.
-
Kurlon
Can I convince work to spend $65 to fix it short term so I'm not down storage while migrating to AWS?
-
Woodstock
i paid something like $25 for my hba330 :)
-
Kurlon
The trick is convincing for ANY spend on HW is now stupid difficult.
-
nomad
Kurlon: is the hardware otherwise good? convince them to let you take it for $homelab.
-
Kurlon
R640 with 512GB RAM, I suspect they're going to try and sell it despite it being EOL, but I'm hoping otherwise. :D
-
nomad
EOL doesn't mean it can't be resold... just not for as much $$$.
-
» nomad doesn't deal with dell so has no idea if that's good hardware or not.
-
Kurlon
It's OK for it's age, loud as heck and not exactly skimping on power draw for homelab use.
-
nomad
so.. classic :)
-
Kurlon
Other than this problem, it's been rock solid for the 7, 8? years we've had them.
-
Kurlon
Take the HW, find a matching generation bare workstation to transpose the ram / cpu(s) into, add big ol video card... battle station status: Excellent
-
Kurlon
If the lights in the block don't dim when you hit power, it's not big enough.