00:25:44 I thought my knowledge of nsswitch would never be useful outside of NIS but here OmniOS proved me wrong :)))) 09:26:03 antranigv: one place to check for persistent new-style configs is under /etc/ipadm and /etc/dladm 09:26:04 Technically you can edit those files too, but with a caveat that you'd better ungracefully reset the system afterwards (graceful stopping of respective networking services saves their active config) 09:27:15 A safer alternative is to `beadm clone ...` a new environment, edit the files there, and activate it to reboot into it 09:27:37 All that assuming you too don't figure out how to reliably force the CLI tools to do what you want :D 13:48:20 jimklimov well, all is working fine! I have rebooted and everything is working to my liking 13:48:28 I do have a question tho 13:51:52 I am creating vnics from etherstub, but I didn't need it connect to any bridge. why is it working then? 14:57:22 weee I got all the things I needed working 14:57:23 https://omnios0.hackerspace.am 16:36:44 With respect to your bridge question, why did you expect to need the bridge? 16:37:39 There aren't a lot of times you actually need 802.1D per se. 16:41:48 rmustacc On other operating systems I'd create a bridge (say bridge0) and then create other ethernet devices (say tap interface, epair on FreeBSD) and then attach them to the bridge 16:43:18 But are you actually enabling bridge PDUs and spanning tree? 16:45:43 rmustacc nope! 16:46:05 rmustacc so in this case, the VNICs are created from the etherstub and the rest is routing, right? 16:46:33 Without knowing what you've created and what's running on what I can't really say. 16:46:49 rmustacc wait wait, don't leave, lemme paste :D 16:47:19 I wasn't. 16:48:19 rmustacc here you go! https://gist.github.com/antranigv/4bce33cb61a2b02239a0a758c3965ed4 16:51:17 So what's happening here is that a packet arrives in on vioif0 and gets delivered to the global zones netstack. The global zone presumably has forwarding enabled. That will then based on your routing table see that there is 10.10.0.0/24 out internal0. 16:51:52 So the packet will be forwarded to internal0 which will perform ARP to discover 10.10.0.80 and then send it there, because it's a virtual L2 segment. 16:52:05 The way I think of an etherstub is a dumb, unmanaged L2 switch. 16:52:21 rmustacc internal0 or vnic0? I was not able to "configure" internal0 16:52:32 oh you mean vnic0/internal0 16:52:37 got it 16:52:52 Sorry, I meant the IP address internal0 on vnic0. 16:52:56 and VNICs on the physical interfaces require VLAN 16:52:56 I hadn't noticed the overlapping bridge name. 16:53:05 I should delete that 16:53:11 VNICs on a physical interface don't require a vlan. 16:53:15 Unless you require it for some reason. 16:53:22 That is, that isn't specific to the vnic design. 16:53:45 interesting, so I can do `dladm create-vnic -l vioif0 public0` ? hmmm 16:53:46 But your circumstances may require it, in which case you can just specify -v to ensure it performs vlan tagging. 16:53:49 Yes. 16:54:06 The question is do you need a different actual L2 interface for that. 16:54:07 and then pass public0 to the zone and set a public IP. neat!!! 16:54:17 doing the same with FreeBSD involved bridges 16:54:28 Yes, that would work, depending on how you get that IP address. 16:54:39 If something is handing it out to you via dhcp or other things, it may get more nuanced. 16:55:16 nah, just routing via the ISP. 16:55:17 cool 16:55:21 * antranigv thinking 16:55:46 It mostly depends on how you want your management and system access to be done. 16:55:57 then what's the Usecase of bridge? 16:55:58 If you only have on public IP address and that's how you access the system. 16:56:09 If you need 802.1D bridges with spanning tree, trill, etc. 16:56:34 so connecting a 802.1D physical switch to illumos 16:56:52 where STP continues to talk 16:56:57 okay, that's nice too 16:57:06 Yes. But I find that's pretty uncommon. 16:57:17 That is that you need the illumos system to participate in STP. 16:57:25 But there are cases. 17:12:03 rmustacc thank you very much! learned awesome things here and at #SmartOS Discord 17:58:59 antranigv: we're also on IRC's #smartos . Also, #illumos exists here for things that transcend the distros (e.g. device support, and other illumos-y things). 18:03:45 danmcd btw, your talk from a decade ago helped me build this box in our hackerspace. 18:04:27 danmcd I would also like to contribute, for example, yesterday I noticed somethign with dladm, but not sure if it's considered a bug or not. 18:04:43 danmcd lemme ping you at #illumos, I don't want to spam here :) 19:03:11 Greetings Earthlings...   I'm trying to sort out how to setup PXE installation of OmniOS. I have read all the docs but my PXE/TFTP install server is Linux (Rocky8) and the environment is UEFI. If I PXEboot the OmniOS kernel, as per the documentation, I get bad magic number on attempting to load the kernel from the PXE client. I believe I have to 19:03:12 chainload the OmniOS kernel because it isn't a Linux kernel, but I can't seem to get it right. Does anyone know the magic recipe to PXEBoot/UFEI OmniOS kernel from a Linux boot server? Here is the "bad magic number" grub.cfg entry from the PXE server: 19:03:12  menuentry 'OmniOS Install' { 19:03:13   kernel (tftp)/omnios/omnios-r151048.unix -B install_media=http://10.0.0.1/repos/omnios/omnios-r151048.zfs.xz 19:03:13   initrd (tftp)/omnios/omnios-r151048.miniroot 19:03:14  }