Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Cannot get dhclient to get an IP address on WAN
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: Cannot get dhclient to get an IP address on WAN (Read 5429 times)
ipartola
Newbie
Posts: 16
Karma: 0
Re: Cannot get dhclient to get an IP address on WAN
«
Reply #15 on:
April 22, 2021, 03:08:51 pm »
I tried that already. I can actually verify that their DHCP servers don't care if there is an active lease: I can just keep requesting new IP addresses using different MAC addresses and I see new offers with new addresses. The issue is that dhclient is either not getting or ignoring DHCPOFFERs.
From doing a bunch of web searches it seems that the issue might be VLAN tagging related. In tcpdump I can see that the incoming traffic comes in as VLAN 0. Some online posts suggest that stripping this tag may help:
https://www.reddit.com/r/PFSENSE/comments/9l7my1/dhcp_client_not_working_on_wan_att_fiber_dhclient/e76dj12/?utm_source=reddit&utm_medium=web2x&context=3
Logged
ipartola
Newbie
Posts: 16
Karma: 0
Re: Cannot get dhclient to get an IP address on WAN
«
Reply #16 on:
April 22, 2021, 03:23:24 pm »
Looks like pfsense has a similar issue:
https://redmine.pfsense.org/issues/8526
with a still open pull request
https://github.com/pfsense/FreeBSD-src/pull/9
. I think this matches exactly what I'm experiencing with OPNSense. How can I report this bug upstream?
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Cannot get dhclient to get an IP address on WAN
«
Reply #17 on:
April 22, 2021, 07:38:54 pm »
We are already doing write VLAN skip so I guess it would be fair to say we could implement read VLAN (0) skip although that is pretty mean from the ISP to use that reserved non-VLAN but priority trick and there is no base network support for this so whenever the ISP decides to bump priority of a packet outside of DHCP/dhclient with this it's not going to end well.
Discussion at
https://github.com/opnsense/src/issues/114
Cheers,
Franco
Logged
ipartola
Newbie
Posts: 16
Karma: 0
Re: Cannot get dhclient to get an IP address on WAN
«
Reply #18 on:
April 22, 2021, 07:49:20 pm »
Thanks again Franco! With some more testing I see that they use any which VLAN or sometimes no VLAN at all. No matter what I do I still can't get it to work, whether directly, through a dumb switch, etc. I am going to keep complaining to the ISP about this, but in the meantime I gotta get work done and have the rest of the house be able to get online so back to OpenWRT I go, at least for now.
Logged
Print
Pages:
1
[
2
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Cannot get dhclient to get an IP address on WAN