OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of seph04 »
  • Show Posts »
  • Messages
  • Profile Info
    • Summary
    • Show Stats
    • Show Posts...
      • Messages
      • Topics
      • Attachments

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

  • Messages
  • Topics
  • Attachments

Messages - seph04

Pages: [1]
1
17.7 Legacy Series / Re: Losing Default Gateway when Release/Renew of DHCP based port
« on: January 30, 2018, 12:57:41 am »
Same issue here. OPNsense 17.7, fresh VMWare install

Dual-wan setup with load balancing

WAN port -> Static IPv4
OPT1 -> DHCP

Gateway on WAN port configured as default gateway
Gateway on OPT1 port configured as dynamic


Sometimes DHCP internet connection goes down and DHCP release/renew fails to obtain an IP address.
When this happens system loses internet access and checking for updates fails, 1:1 nat to virtual IPs fails too.

In system -> routes you can see "default" destination route changes its gateway from the ip address of the default gateway on WAN interface to "link #3" (OPT1 interface).

To "fix" this I go to Interfaces -> Overview -> OPT1 release
Then System -> Gateways -> All and edit gateway on WAN interface.

Untick/save/apply/tick/save/apply on "default gateway" checkbox and system can check for updates again.
To restore 1:1 nat mappings I have to delete virtual IPs entries and recreate them again.

In system -> routes you can see "default" destination route changes back to the gateway on WAN interface.



Pages: [1]
OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2