OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 15.7 Legacy Series »
  • WAN Gateway Become offline after restarting 4G internet Modem
« previous next »
  • Print
Pages: [1]

Author Topic: WAN Gateway Become offline after restarting 4G internet Modem  (Read 5156 times)

hoseinTB

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
    • View Profile
WAN Gateway Become offline after restarting 4G internet Modem
« on: January 13, 2016, 04:13:12 pm »
hi

I have OPNsense on device with two ethernet interface
WAN: 192.168.1.1
LAN: 192.168.2.1

and WAN Gateway (4G Modem) IP address is : 192.168.1.2

Each time, after i restart (turn the power off and on) the 4G Modem, the Gateway Status become : Offline

Code: [Select]
Offline
Last check:
Wed, 13 Jan 2016 15:01:32 +0100

Gateway log file:
Code: [Select]
Jan 13 15:01:32 apinger: ALARM: WANGW(192.168.1.2) *** down ***
Of course in this state, internet is not connected for LAN network.
after that i repeatedly check the Gateway status and Gateway Log.
Nothing happen till the below log is appeared:

Code: [Select]
Jan 13 15:11:07 apinger: alarm canceled: WANGW(192.168.1.2) *** down ***
as you can see, it takes OPNsense about 10 min to reconnect the internet for LAN network.

and after repeating this situation, every time i get a different period of time:

Code: [Select]
Jan 13 15:01:03 apinger: alarm canceled: WANGW(192.168.1.2) *** down ***
Jan 13 15:00:44 apinger: ALARM: WANGW(192.168.1.2) *** down ***

Code: [Select]
Jan 13 14:59:36 apinger: alarm canceled: WANGW(192.168.1.2) *** down ***
Jan 13 14:53:05 apinger: ALARM: WANGW(192.168.1.2) *** down ***

Code: [Select]
Jan 13 14:27:05 apinger: alarm canceled: WANGW(192.168.1.2) *** down ***
Jan 13 14:22:01 apinger: ALARM: WANGW(192.168.1.2) *** down ***


Any Idea why this change of status take that long ?


Logged

8191

  • Jr. Member
  • **
  • Posts: 80
  • Karma: 4
    • View Profile
Re: WAN Gateway Become offline after restarting 4G internet Modem
« Reply #1 on: January 13, 2016, 04:19:05 pm »
Hi,
do you use a static IP configuration on the WAN port or DHCP?

If you use DHCP: you can tune the timeout and retry intervals in the Interfaces setting page.
If you use a static IP: how's the behavior if you connect a different device than OPNsense? Maybe the 4G modem needs some time to start up?
Logged

hoseinTB

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
    • View Profile
Re: WAN Gateway Become offline after restarting 4G internet Modem
« Reply #2 on: January 13, 2016, 04:25:13 pm »
thanks for reply

i am using static IP for WAN

4G modem starting up really fast, and the internet connection is okey when i directly connect to modem.

internet connection is down behind firewall.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 15.7 Legacy Series »
  • WAN Gateway Become offline after restarting 4G internet Modem
 

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