08:51:33 o/ 13:36:50 Hi there! I am running a Triton CoaL VM in a hypervisor in Windows and have been trying to get a global IPv6-address and routing enabled in a zone, but it has not worked out so far. The VM gets the local fe80-address which has been configured in het json file I used to setup the machine and sometimes the global prefix after starting usr/lib/inet/in.ndpd but that's all. 13:43:30 I have assigned a static IPv6-address to the SmartOS global zone and added the global IPv6-address of the uplink router to "route -p" and my pings to ipv6.google.com in gobal zone get answered. But if I try to ping this IPv6-address(2a02:), I get "Destination host unreachable", which is odd 13:46:56 I however get ping replies if I try to ping the fe80 IPv6-addresses of both global and the vm. 13:48:41 Any idea about what I might be doing wrong? 14:11:18 vmadm update allowed_ips= only changes the linklocal fe80 address to the prefix. Setting up a static IPv6-address in the vm(zlogin) is not allowed because "from-gz" 15:10:20 Is your IPv6 address literally just 2a02:: ? 15:10:24 THat seems... light. 15:22:17 danmcd: No, it consist of a prefix(2a02:xxxx:yyyy:1) and the device address(wwww:xxxx:yyyy:zzzz). 15:26:25 Ahh. 15:26:27 SOrry. 15:27:03 What does "route get -inet6 " say? 15:36:47 https://i.gyazo.com/02cd8b4d4d860c3b626f6ff29e316547.png 15:37:13 This is in global zone by the way 15:38:53 TheTim0Nat0r: I use IPv6 in zones all the time. I can help you out in about an hour when I'm free. 15:46:21 bahamat: Really? I am curious how you managed to get it up and running. Been trying with both zones and kvm for some days now without luck. 15:47:47 Yes, really. I'm using it right now. And, like I said, I'll help you out in an hour :-) 15:57:57 Great :) 15:59:49 dynamic ipv6 without allowing ip spoofing doesn't work :( 16:01:51 nbjoerg: I have allowed ip spoofing in the json config which i used to create the vm, did not help either unfortunately 16:02:54 who is handling the ipv6 uplink in your case, the gz? 16:10:01 nbjoerg: Dont know if gz really handles the uplink. I enable ipv6 on external0 after boot of the system(ifconfig external0 inet6 plumb up), restart ndp to get the prefix with addrconf, assign a static address to the gz(ipadm create-addr -T static -a external0) and add a route (route -p add -inet6 default If you can reach ipv6.google.com you can reach other IPv6 which means traceroute(8) SHOULD work. 16:16:49 traceroute -A inet6 16:17:06 (Note: Leaving for 20mins for an appt.) 16:35:00 danmcd: https://i.gyazo.com/836ebcb9dcca9cb6ca2d8e3a687c8eae.png 16:35:59 I forgot to ask, what does "route get -inet6 " say? 16:36:28 I'm curious if there's a prefix mismatch or something. ALSO is ndp running? 16:36:38 `pgrep in.ndpd` and/or `svcs -xv ndp` 16:37:27 I have to leave now, so sorry for any delay. I saw bahamat may have some cycles to help up top so he might be able to pickup. Sorry for any latency, and I can't promise anything from other people either. 16:40:41 danmcd: route get -inet6 => https://i.gyazo.com/116e88a4f8843d1fec4f894407225aa9.png 16:46:02 danmcd: svcs -vx ndp => https://i.gyazo.com/6d634ab3ff5bde7daab5e7b01dfea9aa.png 16:49:33 danmcd: No problem, I'll make sure to keep the irc client online to be able to read any answers or questions regarding the issue :) 16:51:43 TheTim0Nat0r -> log.omnios.org 17:03:37 TheTim0Nat0r: If you have router advertisements on your network you shouldn't need to add a static default route. 17:09:15 I'm trying to install smartos but fails on fdisk https://pastebin.com/9qeLnGcM how do I fix this ?, I'm installing in a cloud provider so I need the pool to be booteable 17:09:41 I mean it asks to use fdisk to fix the problem, but I don't know what the problem is 17:09:55 neirac: When you're in the installer you can hit ctrl-C to drop to a shell. 17:10:12 Then you can use fdisk to try to figure out what's going on. 17:10:43 Usually this means there's something else on the disk and just deleting everything with fdisk should be sufficient to start over and try again. 17:12:37 Bahamat thanks, I'll try that 17:14:10 bahamat: I get a prefix assigned in global zone, but that's all. I am not able to ping6 without configuring a static IP and route myself. 17:14:33 neirac: In any case, you're still booted tot he full PI there, so you should be able to do whatever investigation you need to figure out what's going wrong. 17:15:01 TheTim0Nat0r: Are you in control of the router? 17:15:13 bahamat: Yes. 17:15:49 Can you ping the fe80 address if the router? 17:23:27 bahamat: Address Unreachable 17:26:06 Check ndp -an 17:31:28 It's not there 17:32:56 so that's your first problem. 17:33:10 Can you trace packets on your router? 17:42:10 I think I have been looking at the wrong fe80. I have been looking for the fe80 which shows up in Win10, which is the host PC. I ran this script setting up some different network adapters in Windows, which VMWare uses for the NIC with tag "external0". 17:42:58 the fe80 of the VM8 adapter shows up with "ndp -an" 17:43:34 Yeah, that would explain a lot. 17:45:05 So the correct way to configure IPv6 for the global zone is to put _ip6= in /usbkey/config 17:45:59 e.g.,: admin_ip6=addrconf or external_ip6=2001:db8::37 17:46:18 Since this is a Triton headnode, that also needs to be in /mnt/usbkey/config 17:46:39 So do that first, then reboot and see if it just works. 17:47:30 When the install script fails how do I go back to the installing or do I need to reboot ? 17:53:43 Okay, it is rebooting. 17:54:03 neirac: If you've dropped to a shell you can just exit to get back to the installer. If the installer failed in some way it's best to reboot to start fresh. 17:57:29 Bahamat I use dd to copy the iso to the disk, I assume when it boots is all in ram then I could write the disk again, but seems the installer don't like how the disk looks like 18:00:14 Yeah, I don't think that's going to work out as well as you think it will... 18:00:26 Are you able to chain load ipxe with that provider? 18:05:58 It just finished boot, and it now shows the prefix in ifconfig without me having to plumb up :) 18:06:54 bahamat: https://i.gyazo.com/e333185f012d14970468909d45a2595d.png 18:09:53 Bahamat let me check is oracle cloud 18:12:22 TheTim0Nat0r: And can you ping ipv6.google.com now? 18:14:25 neirac: If you can, chain load https://netboot.smartos.org/smartos.ipxe 18:17:55 bahamat: Yes 18:18:16 There you go. 18:21:56 Bahamat thanks! 18:35:50 bahamat: If I setup a new zone/VM with a json file like "vmadm create -f file.json", will it inherit those IPv6 settings from global zone automatically? 18:36:08 No 18:36:16 You need explicit configuration for the vm. 18:38:10 Okay, so in that case I will need to add both a fe80- and a 2a02-address tot the "nics".ällowed_ips" property in the json file to make it work? 18:38:43 No 18:38:58 Just add addrconf to the ips array 18:47:46 Does IPv6-support depend on the image I use? I keep getting an fe80 in the vm after logging in with zlogin and checking ifconfig 18:48:08 Show me your nics from the json 18:51:44 https://i.gyazo.com/1d7f4078a09de2009a671e25220a7aa3.png 18:56:37 Do you have the ndp service enabled in that zone? 19:26:12 Yes 19:26:26 Result after reboot of headnode and vm: https://i.gyazo.com/53e7c96eae439f2c7f9c1a53e220f6e3.png 19:27:00 Seems like it works. :) 19:28:52 https://i.gyazo.com/aa0556175611c2e6531a1a71810cccf8.png 19:31:09 ifconfig does not show the external IPv6 address of the vm, is there another way to determine it? 19:34:02 Where are you running ifconfig? 19:44:43 Each zone has its own netstack (TCP/IP instance) so ifconfig in global will NOT show you things that ifconfig in zone will (and vice versa). 19:50:47 bahamat: In the non-global zone 19:51:35 danmcd: I know, but ifconfig in both global and non-global zone only show the prefix if i run ifconfig 19:51:57 ipadm only shows a local fe80 19:53:11 Screenshot: https://i.gyazo.com/7cd84d2bdbe1513b0e311cee95350004.png 19:56:50 multiarch 15.4.1 is quite old though 20:01:13 "quite" ;) 20:18:43 Downloaded another image(base-64 21.4.1), but it does not show anything at all if I run ifconfig 20:30:11 Seems like I need to enable ndp each first run after creation. Now I also get the prefix here, I can run "ping -A inet6 ipv6.google.com" and it's alive :) 20:45:23 That tracks. 21:22:09 TheTim0Nat0r: Yes, you need to enable ndp manually once.