Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
16.7 Legacy Series
»
Monitor IP blank after disabled and enabled back interface
« previous
next »
Print
Pages: [
1
]
Author
Topic: Monitor IP blank after disabled and enabled back interface (Read 4938 times)
niex
Newbie
Posts: 3
Karma: 0
Monitor IP blank after disabled and enabled back interface
«
on:
July 28, 2016, 05:15:48 pm »
Hi all,
I set up WAN gateway using external IP as the monitor IP. I did a test by disabling and enabling back the WAN interface. However, the status of the gateway is not turn back to online instead is stated as pending. Also I did noticed the monitor IP becomes blanks. Did anyone else facing the same issue? Is it a bug on this version?
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Monitor IP blank after disabled and enabled back interface
«
Reply #1 on:
July 28, 2016, 06:43:56 pm »
Hi there,
What version are you running?
This is caused by JavaScript disabling the elements, which was eventually removed. There's 16.1.20 and 16.7 available, these should work?
Lastly, "pending" means the gateway monitor wasn't ready to reload, can you restart it from Services: Diagnostics and see if it comes back? Ticket is here:
https://github.com/opnsense/core/issues/1016
Cheers,
Franco
Logged
niex
Newbie
Posts: 3
Karma: 0
Re: Monitor IP blank after disabled and enabled back interface
«
Reply #2 on:
July 29, 2016, 04:30:51 am »
Hi,
I am currently using version 16.7 R2.
Yes, restart the apinger service make the gateway to come back online again. But should it come back automatically after enabled back the interface without the need to restart apinger?
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Monitor IP blank after disabled and enabled back interface
«
Reply #3 on:
July 29, 2016, 08:25:12 am »
Apinger is restarted, but the interface isn't ready for apinger to reconfigure it. It's a bit complicated, but the gist is that apinger cannot reconfigure again after startup so it misses the pending interface until it is next restarted. We're going to fix this for 17.1, though it's been an issue for many years and not easy to fix.
Can you let me know how to reproduce blanking the monitor IP? I'm doing something wrong here, unable to reproduce.
Thanks,
Franco
Logged
niex
Newbie
Posts: 3
Karma: 0
Re: Monitor IP blank after disabled and enabled back interface
«
Reply #4 on:
July 29, 2016, 09:17:52 pm »
Hi,
Let say I have one interface with static IP 192.168.1.100 and the gateway IP is 192.168.1.1. I set the gateway to have monitor IP 8.8.8.8. I did the testing by disabled the interface and enabled back again, checked the status from Status:Gateways. From this menu, I can see that the monitor IP will become blank and the status will become pending.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
16.7 Legacy Series
»
Monitor IP blank after disabled and enabled back interface