Error when assigning static IP on OPTx
-
I'm trying to assign a static IP on OPT2 like this:
Type: Static
Bridge with: none
IP address: 192.168.5.4/24
Gateway: 192.168.5.3This is the same IP address and gateway currently in use by this DSL line on my Netgear router.
When saving I get the following error message:
* Cannot change 212.27.57.14 gateway. It is currently referenced by the filter rules via policy based routing.
* Cannot change 212.27.57.14 gateway. It is currently referenced by the filter rules via policy based routing.
* Cannot change 212.27.57.14 gateway. It is currently referenced by the filter rules via policy based routing.
* Cannot change 212.27.57.14 gateway. It is currently referenced by the filter rules via policy based routing.I have no idea where that gateway comes from (it's from a different ISP than the modem I'm trying to setup on OPT2). I get the same error if I try this on OPT3.
My WAN uses PPPoE, my OPT1 uses a static address and both are from a different ISP than the one I'm trying to set up on OPT2.
I have one static rule for the DNS server on OPT1, a rule on WAN for the VPN and WebGUI access, a rule on LAN (FTP workaround) and the LoadBalancer rule on LAN. No rules on OPT1, OPT2 or OPT3.My current setup (loadbalancing on WAN and OPT1) works fine, including the VPN.
What am I missing?
-
The Ip you try to assign is either used in a firewallrule or in a gatewaypool. If so you have to delete this IP from the pool or temporarily change the gateway in the rule that is using the IP. Then change the OPT-Interface settings and readd/change it back again.
This is to prevent causing a routing loop by misconfiguration which would make the system crash within several seconds.
-
Thank you for your quick reply hoba, much appreciated!
I checked my LB pool and the 192.168.5.4, 192.168.5.3 and 212.27.57.14 IPs are not in it. The two IPs are 192.168.9.1 and 192.168.10.1 with 84.96.128.51 and 212.129.9.84 as monitoring IPs.
Here are my firewall rules:
LAN:
TCP/UDP * * 127.0.0.1 1 - 65535 * LAN -> FTP -> WAN
- LAN net * * * LBtoWANs LAN -> LBtoWANs
WAN:
UDP * * * 1194 * VPN
TCP * * * 443 (HTTPS) * WebGUIOPT1, OPT2, OPT3: no rules
Do you see anything wrong here?
EDIT: Also my static route for the OPT1 DNS is:
OPT1 212.216.172.62/32 192.168.10.1 DNS
-
That's rather strange then. Try to set your lan rule to default gateway. Then delete the pool. Try to configure your OPT-WAN then. After that rebuild your gatewaypool and reassign it to be used in your firewallrule.
-
That did it!
When changing the gateway from LBtoWans to default I noticed there was an "OPT2 - OPT2" gateway appearing in the dropdown menu. Don't know where it came from.
Anyway, thanks a lot hoba, great support and great product!