OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • Default gateway address 0.0.0.0 (no, I don't mean 0.0.0.0/0)
« previous next »
  • Print
Pages: [1]

Author Topic: Default gateway address 0.0.0.0 (no, I don't mean 0.0.0.0/0)  (Read 2606 times)

spottaaja1

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Default gateway address 0.0.0.0 (no, I don't mean 0.0.0.0/0)
« on: September 03, 2017, 06:54:25 pm »
Hello!

I have a setup with two D-Link DWR-921 4G modems for multi-wan. I run them in "transparent proxy" mode to get my public IPs through to OpnSense. For this setup to work, I need to go in using ssh console and manually edit /conf/config.xml in order to set the gateway address for both modems to 0.0.0.0.

Don't really know the history of this, but apparently this is ok as per IPv4: "In the Internet Protocol version 4 the address 0.0.0.0 is a non-routable meta-address used to designate an invalid, unknown or non applicable target. To give a special meaning to an otherwise invalid piece of data is an application of in-band signaling." (see this: https://unix.stackexchange.com/questions/94018/what-is-the-meaning-of-0-0-0-0-as-a-gateway)

Of course I would not use this, but D-Link has chosen to implement their "transparent proxy" in a quirky way: it only passes the (DHCP) WAN IP address to OpnSense, not the WAN GW IP. So as a result, I have two WAN interfaces with gateway address 0.0.0.0 (which is fine by IPv4 I guess). This plays havok on multi-wan and gateway monitoring, perhaps the Dynamic DNS as well. The GUI cannot handle this situation either.

Would you guys consider working your magic to fix this? I can provide whatever log files you desire :)
« Last Edit: September 03, 2017, 07:02:21 pm by spottaaja1 »
Logged

spottaaja1

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Re: Default gateway address 0.0.0.0 (no, I don't mean 0.0.0.0/0)
« Reply #1 on: September 09, 2017, 06:03:43 pm »
I've been reading more and it seems Windows and Linux can handle the 0.0.0.0 gateway faalback that OpenBSD (and OpnSense), it seems, cannot.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • Default gateway address 0.0.0.0 (no, I don't mean 0.0.0.0/0)
 

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