1
18.7 Legacy Series / Re: Uplink randomly going down since OpnSense 18.7.7
« on: December 20, 2018, 02:05:20 pm »
So I think I may have resolved the issue. I have marked one of my gateways as the default gateway and the logging now looks like this:
So it actually sets the IPv4 gateway to WAN instead of LAN now and doesn't delete any routes that would be outgoing. I'll keep an eye on it for a few days and if it's resolved I'll update this post.
EDIT 07-01-2019: Setting the WAN interface as default resolved the issue.
Code: [Select]
Dec 19 19:49:04 opnsense: /usr/local/etc/rc.newwanip: IP renewal is starting on 'bce0_vlan128'
Dec 19 19:49:04 opnsense: /usr/local/etc/rc.newwanip: On (IP address: 84.x.x.x) (interface: WAN[wan]) (real interface: bce0_vlan128).
Dec 19 19:49:04 opnsense: /usr/local/etc/rc.newwanip: ROUTING: entering configure using 'wan'
Dec 19 19:49:04 opnsense: /usr/local/etc/rc.newwanip: ROUTING: IPv4 default gateway set to wan
Dec 19 19:49:04 opnsense: /usr/local/etc/rc.newwanip: ROUTING: no IPv6 default gateway set, assuming wan
Dec 19 19:49:04 opnsense: /usr/local/etc/rc.newwanip: ROUTING: setting IPv4 default route to 84.x.x.y
Dec 19 19:49:04 opnsense: /usr/local/etc/rc.newwanip: ROUTING: keeping current default gateway '84.x.x.y'
Dec 19 19:49:04 opnsense: /usr/local/etc/rc.newwanip: ROUTING: skipping IPv6 default route
Dec 19 19:49:05 opnsense: /usr/local/etc/rc.newwanip: Resyncing OpenVPN instances for interface WAN.
So it actually sets the IPv4 gateway to WAN instead of LAN now and doesn't delete any routes that would be outgoing. I'll keep an eye on it for a few days and if it's resolved I'll update this post.
EDIT 07-01-2019: Setting the WAN interface as default resolved the issue.