Embed Notice
HTML Code
Corresponding Notice
- Embed this notice
feld (feld@friedcheese.us)'s status on Saturday, 19-Oct-2024 02:58:27 JSTfeld @poes 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