Oddbean new post about | logout
 @0716fa66 I haven't done exactly that before but I observe you are running ifconfig on vtnet0 instead of in /etc/rc.conf and you're not setting the interface to "up" either which the rc script would do automatically


try this


sysrc ifconfig_vtnet0="inet 103.45.54.45/24"
sysrc defaultrouter="103.45.54.1"
service netif restart && service routing restart