Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
WAN doesn't work until I run tcpdump
« previous
next »
Print
Pages: [
1
]
Author
Topic: WAN doesn't work until I run tcpdump (Read 763 times)
bigdal4u
Newbie
Posts: 2
Karma: 0
WAN doesn't work until I run tcpdump
«
on:
December 17, 2023, 09:47:40 pm »
I'm at a loss. I don't even know what information to include that might be helpful.
New installation to replace old hardware. Settings moved manually.
When I reboot the server, WAN doesn't work at all until I run tcpdump. When I do the internet starts working within a second. I've replicated this 4 times now. I can then disable tcpdump and it seems to run fine after that.
Things I tried before looking at packets:
switch between static and dhcp on wan
disable/reenable wan
release/renew dhcp
reconnect cables
disable firewall
tried different subnet from ISP
verified DHCP discovers were leaving my ONT, and Offers coming back (Request never left the ONT from firewall though, until I ran tcpdump).
Waiting an hour.
OPNsense 23.7-amd64
FreeBSD 13.2-RELEASE-p1
OpenSSL 1.1.1u 30 May 2023
Logged
Patrick M. Hausen
Hero Member
Posts: 6812
Karma: 572
Re: WAN doesn't work until I run tcpdump
«
Reply #1 on:
December 17, 2023, 09:53:02 pm »
Runing tcpdump turns on promiscuous mode. That means your interface will accept packets for MAC addresses different from its own. Did you powercycle the ONT after switching devices? Probably it cached your old device's MAC address.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
bigdal4u
Newbie
Posts: 2
Karma: 0
Re: WAN doesn't work until I run tcpdump
«
Reply #2 on:
December 18, 2023, 03:27:17 pm »
I moved the MAC address over to the new firewall since I have a mac-bound IP reservation from them.
The WAN is a VLAN interface on a lagg. Does TCPdump on a VLAN interface also set the underlying interfaces to promiscuous? If so that's probably it.
thanks,
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
WAN doesn't work until I run tcpdump