08:38:59 What's the best manual for setting up networking on SmartOS , for using single IP for zones (not getting new IP for gateway zone, but single IP for the whole machine) 21:10:20 none of the manuals I found and tried didn't work for me, for using single IP and share it to zones 21:11:21 I like the most firewall/nat zone providing internet to other zones, yet that worked when I have more local IPS for Smartos machine, not just only one 21:12:06 So basically, that firewall zone needs to have full access to internet using same IP as global zone / admin 21:13:35 Or I should just give up for time being for setting up zones for same-IP Smartos install, on shot notice. 21:20:25 Didn't get internet access form the zone with https://gist.github.com/baetheus/5e1e5ab1eb68fae3490d 21:20:58 nikolam: I don't have a manual, only a setup that works :) 21:20:58 Would love to use that zone as a firewall for others. 21:21:06 nbjoerg, :P 21:21:17 in my case I use /opt/custom in the gz to do NAT + routing 21:21:58 if it lies in /opt/custom/share/svc/smartos_setup.sh maybe I could replicate 21:22:49 I put the solution where there's separate firewall zone on 2 machine (was 3) and I can work with it fine, but not with single IP 21:24:17 https://www.netbsd.org/~joerg/custom.tar 21:24:25 that's the idea of what I use 21:25:15 thanks nbjoerg 21:25:19 you can replace the dhcpcd use with a static config, that's a pecularity of my hoster 21:26:54 I also use something special on that instance on Herzner cloud for DHCP 21:28:05 scaleway in my case 21:32:09 route add -host 172.31.1.1 X.X.X.X -interface -ifp vioif0 route add -inet default 172.31.1.1 route add -host -inet6 fe80::1 X:X:X:X::1 -interface -ifp vioif0 route add -inet6 default fe80::1 21:53:01 I actually got it all by https://gist.github.com/baetheus/5e1e5ab1eb68fae3490d but zone can't ping anything after global zone gateway.. 21:53:39 Basically would love to give power of single Ip to this: https://web.archive.org/web/20220703031731/https://timboudreau.com/blog/smartos/read 21:55:21 I like how you link ipf and ipnat rules