I have a Digital Ocean droplet running FreeBSD 12.1-p10 and I am experiencing slow responses to pkg(1) commands. In order to investigate I tried disabling IPv6 (without much success) and did a
after which my droplet was unavailable. Accessing it via the console showed me that the default gateway was missing, which I added back with
My /etc/rc.conf file contains the line
How can I troubleshoot why the default gateway is not added when I restart networking? Also, why should I define a default route in /etc/rc.conf when the interface is configured to use DHCP?
Code:
service netif restart
Code:
route add default 104.248.80.1
My /etc/rc.conf file contains the line
Code:
defaultrouter="104.248.80.1"
How can I troubleshoot why the default gateway is not added when I restart networking? Also, why should I define a default route in /etc/rc.conf when the interface is configured to use DHCP?
Code:
ifconfig_vtnet0="DHCP"