09:23:39 hi guys, i'm in a strange situation, one of my internet providers' default gateway is only reachable using an intermediate router 09:23:39 actually i reach that router using a static route but i'm unable to add that router as a default gateway 09:23:40 i'm wondering if it is possible to add a default gateway via a no directly connected router 09:23:40 i'm using a native zone as my router 09:25:46 i'm sorry for my absolutely horrible english 09:34:49 it may be helpful if you can write down the connectivity you have and route maps. The router (for default or specific routes) is system in your subnet, that is, you have to have direct connection to router. If you are using subnets in your private network (that is, network which is not directly routable to outside world), then you need to translate those subnets to usable network addresses first. 12:22:49 hi again, i tried to show the network here 12:22:59 https://pasteboard.co/J2hXuJvM16o7.png 12:23:00 https://pastebin.com/4UQGrZY8 12:25:29 i think i'm unable to add a default gateway when it's not in the same broadcast segment 12:41:14 yes. for your smartos only router1 can be the gateway, and if your smartos needs to reach outside world, your router1 needs to use NAT to translate 149.62.183 network to 10.181.18. 12:42:17 unless your router2 knows how to handle 149.62.183 network of course;) 12:50:43 yes, router2 has in its routing table a entry for 149.62.183 network, in fact the comunication is possible without using NAT, my problem is i need to add router2 as default gateway 12:59:11 i'm reading it is possible to do it with iproute2 in linux, i'm going to trying with a bhyve vm 13:18:29 Make sure NIC protections are set appropriately. SmartOS by default is super picky about what is/isn't allowed on a NIC. 13:19:11 See the "nics:" subsection of vmadm(8) for appropriate properties. 13:28:35 esp. ip and mac spoofing 13:32:24 For a router you don't need mac spoofing unless you're playing proxy-ARP games. IP spoofing, ABSOLUTELY needed for a router. 13:32:50 Also if your router does DHCP you'll need that set too. 17:09:29 Guest34 this could help https://blog.daveeddy.com/2015/05/31/smartos-as-a-home-router/