Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - jbhorner

#16
Quote from: tek411 on January 02, 2024, 12:19:29 AM

If I have block private address enabled on WAN would that cause an issue?  My CM is doing the same thing based on the logs.  Its giving the 192.168.100.x addressing and since that is a private address its blocked on the WAN.  From the logs it appears as if the ethernet cable from the WAN is being unplugged.  It shows DOWN and then 6 seconds later shows UP.  Then 5 seconds later the dhclient throws an error "connection closed".

When I login to my Arris CM I see this in the event logs around the same time:
Thu Jan 01 00:01:44 1970   3   No Ranging Response received - T3 time-out;CM-MAC=[REMOVED];CMTS-MAC=[REMOVED];CM-QOS=1.1;CM-VER=3.0;

It looks like my cable modem is rebooting.  Uptime on the web interface for cable model shows uptime of 16h.
I'm not sure what you mean by a block of Private IP addresses on the WAN. They are generally blocked by default, unless you de-selected that option for the WAN interface. I have blocked them on my WAN interface, as well as BOGONS. Although private IP addresses aren't routable on the Internet, it's still a good security measure to leave the box checked.

Your ISP can reboot your modem as well. I don't use an Arris modem (nor am I on Comcast), but I'm relatively sure there is nothing in the modem that tells it to reboot every 24 hours. I'm reaching here, as I do not have direct knowledge of how Arris and/or Comcast work--it could be that a renew initiates a modem reboot. Mine does not do that, but it's really apples/oranges.

Do you own the modem, or is it theirs? I bought my own because I hated the Spectrum-provided modem. (It failed to indicate an outage when there was one, and when it boots it isn't only time to get coffee--it's literally drive to Pete's/Coffee Bean/Starbucks to get the coffee...it was that long.
#17
My guess would be DHCP as well. Out of curiosity, I searched to see if there was a way for you to see how long the lease was for your DHCP address on the WAN interface. I did find the following that might help you troubleshoot it a bit more: https://www.reddit.com/r/opnsense/comments/xphlfp/is_there_a_way_to_check_wan_uptime_or_dhcp_lease/

What I've seen on a DHCP WAN renewal is that the WAN interface changes to the private IP on your modem (for my brand it's 192.168.100.1) and then eventually changes to the assigned IP from your ISP. I didn't dig into your log enough to see if that is what was happening.
#18
23.7 Legacy Series / Re: Odd Issue / Potential Defect
January 01, 2024, 04:32:13 AM
Hi, I replicated the firewall rules (with interface changes) from another working interface. (With the obvious changes to reflect the interface to which the rules were on.) The rules added were specific to Internet access and DNS.

With that said, I'm unaware of any rules needed on an interface to merely allow devices to obtain an DHCP address. Even if I assigned a static address on the device, it didn't work. From the time I rebooted OPNsense and the time it came back up, I made no changes to rules, interfaces, DHCP, etc. It just started working. It would seem that if it was a rule problem it would have been the same before and after the reboot absent changes.
#19
23.7 Legacy Series / Odd Issue / Potential Defect
December 31, 2023, 11:07:06 PM
I added a new VLAN today and went through the usual processes. (Add VLAN with assigned parent, add interface, enable interface and assign static IPv4 address, add DHCPv4 configuration, enable.) I could not get any device on my switch to come up if it was on a tagged port for that VLAN, despite numerous switch configuration changes. (I usually blame the switch--but not for any specific reason; the port configured was the same as other ports albeit with a different tag.) I also walked through the process again on OPNsense with no success.

Rebooting the switch didn't make a difference. What did make a difference was rebooting OPNsense. When it came back up, the device worked. I replicated that port across others on my switch and they worked fine after the OPNsense reboot as well. This seems odd to me.

To me, it's a defect. Despite some of the other silly things OPNsense does (why does every VLAN "device" have to start with VLAN0, as an example), this one really makes me scratch my head. Certainly a lesson learned. I do not recall this behavior in the past, however.

Is this known behavior, and if so, is it normal for this platform?

Cheers!
    Joel
#20
Yes, I do.  I don't use pass-throughs on my VM. They cause problems with snapshots. (Or at least they have for me in the past.)

After my last reply here, it had another kernel panic (post patch). Not sure what's going on here so will just have to stick with a prior release snapshot, or pfSense. I'm sure it will be sorted soon...I just won't have time to deal with the crashes.

I might bring it up later so that I can forward the crash log. But for now, it's peacefully sleeping...

Cheers!
#21
I just posted a comment in the Zenarmor noting that I think Netmap is causing a bit more of an issue than issues with generic mode (which I do not use). I am getting regular kernel panics that seem to point to Netmap:

--- trap 0xc, rip = 0xffffffff81226810, rsp = 0xfffffe00dafcb758, rbp = 0xfffffe00dafcb830 ---
lapic_handle_timer() at lapic_handle_timer/frame 0xfffffe00dafcb830
virtqueue_notify() at virtqueue_notify+0x87/frame 0xfffffe00dafcb860
vtnet_txq_mq_start_locked() at vtnet_txq_mq_start_locked+0xa2/frame 0xfffffe00dafcb8b0
vtnet_txq_mq_start() at vtnet_txq_mq_start+0x61/frame 0xfffffe00dafcb8e0
vlan_transmit() at vlan_transmit+0xf3/frame 0xfffffe00dafcb930
nm_os_generic_xmit_frame() at nm_os_generic_xmit_frame+0x6d/frame 0xfffffe00dafcb950
generic_netmap_txsync() at generic_netmap_txsync+0x2eb/frame 0xfffffe00dafcba40
netmap_ioctl() at netmap_ioctl+0x1a4/frame 0xfffffe00dafcbb10
freebsd_netmap_ioctl() at freebsd_netmap_ioctl+0x74/frame 0xfffffe00dafcbb50

I'll implement the potential solution noted here to see if it makes a difference.
#22
I believe the issues with Netmap extend beyond VLAN/LAGG issues. I've had kernel panics on my implementation ever since installing Zenarmor. I'll implement this patch to see if it helps.