Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
17.7 Legacy Series
»
WAN DHCP lease on startup wrong?
« previous
next »
Print
Pages: [
1
]
Author
Topic: WAN DHCP lease on startup wrong? (Read 5341 times)
moellerheide
Newbie
Posts: 6
Karma: 0
WAN DHCP lease on startup wrong?
«
on:
October 25, 2017, 07:00:49 am »
Hi,
i'm using opnsense the last years without any issue, but now i've got a problem i can't handle.
I've got an pppoe as WAN (Telekom VDSL - working flawless for years) and just want to add an second WAN connection for failover (Vodafone cable) which uses DHCP. Everything is working, but if i reboot the opnsense while the Vodafone dhcp-server is not reachable (modem offline), the WAN2 interface get's 0.0.0.0 as IP and so its not possible to set the default route for opnsense -> no traffic from LAN to WAN.
In "Interfaces / Overview" i can see, dhcp for WAN2 is marked "UP" - if i "renew" dhcp lease on WAN2 it is marked "down", the 0.0.0.0 on WAN2 is gone and i can setup an default route via pppoe.
It seems to be a problem with dhcp lease on startup - any idea? Am i doing something wrong?
opnsense 17.7.6
wfr
Michael
Logged
franco
Administrator
Hero Member
Posts: 17605
Karma: 1603
Re: WAN DHCP lease on startup wrong?
«
Reply #1 on:
October 25, 2017, 03:40:56 pm »
Hi Michael,
Some modems can give out faulty leases. You can find out which IP this doing this and add it to the blacklist under Interface: [WAN]: "Reject Leases From".
Cheers,
Franco
Logged
moellerheide
Newbie
Posts: 6
Karma: 0
Re: WAN DHCP lease on startup wrong?
«
Reply #2 on:
October 26, 2017, 07:21:55 am »
Hi Franco,
faulty leases could be an option, but in my case the new vodafone modem is still "offline". There's nothing connected to the wan2-opnsense-interface - nevertheless after an reboot the DHCP is marked "up" with ip "0.0.0.0"
Michael
Logged
NilsS
Full Member
Posts: 176
Karma: 19
Re: WAN DHCP lease on startup wrong?
«
Reply #3 on:
October 26, 2017, 08:19:36 am »
uncheck block private IPs from the interface WAN and try if you get an ipadress from the 192.168.100.x block
The Vodafone (KD) Modems often have a webinterface on 192.168.100.1
Is the bridgemode activated for the cablemodem? else you allways get private ips from the cable modem
Logged
moellerheide
Newbie
Posts: 6
Karma: 0
Re: WAN DHCP lease on startup wrong?
«
Reply #4 on:
October 26, 2017, 09:21:56 am »
Hi Nils,
bridge mode is activated and i'm not getting an ip in the Range 192.168.x.x. The problem still exists even if the modem ist powered off -> no change to get a wrong answer by the modem.
Michael
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
17.7 Legacy Series
»
WAN DHCP lease on startup wrong?