OPNsense Forum

Archive => 22.7 Legacy Series => Topic started by: Bytechanger on February 22, 2023, 06:23:16 AM

Title: WAN hast Connection, no Gateway
Post by: Bytechanger on February 22, 2023, 06:23:16 AM
Hi,

I´ve got massive problems with OPNSense and my wan.
Sometimes ipv4 goes away and does´t come back.

when I set

dhclient -c /var/etc/dhclient_wan.conf vtnet0
configctl interface reconfigure wan
/usr/local/bin/php /usr/local/etc/rc.newwanip vtnet0

I saw a new ipv4 on interface and can ping 8.8.8.8 on firewall, but the gatway is down and my networks cant pint 8.8.8.8.

I can´t get ipv4 gateway up.
After reboot OPNSense, it works....


Greets