OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 22.7 Legacy Series »
  • Xfinity modem in bridge mode not working well with OPNsense
« previous next »
  • Print
Pages: [1]

Author Topic: Xfinity modem in bridge mode not working well with OPNsense  (Read 5519 times)

darp12345

  • Newbie
  • *
  • Posts: 5
  • Karma: 1
    • View Profile
Xfinity modem in bridge mode not working well with OPNsense
« on: November 10, 2022, 09:41:04 pm »
I had a continuous problems with monitoring my WAN gateway when using the Xfinity provided modem when the modem is set in bridge mode. The connection would start fine, work for a few min and then the modem will stop responding. Took me a bit of time to figure out what was wrong.  Seems that the Technicolor modem CGM4331COM that Xfinity supplies stops responding if there isn't an ARP request for the modem's IP within preceding 5 min. This is very weird limitation as the ethernet address of the modem doesn't change so the response of each ARP request gives you back the same ethernet address each time. The problem doesn't seem to happen with Linux and Windows as by default these two OSes have ARP cache entry lifetime of less than a minute. For FreeBSD the default is 20 min. Once I found out the cause of the problem, the fix for the OPNSense firewall was to simply add net.link.ether.inet.max_age=120 in the tunables. As I posted previously - the Motorola MB8611 doesn't have this problem nor has any other modem that I have seen before. A very weird and undocumented behavior that should be fixed.
Perhaps for OPNSense we can set by default net.link.ether.inet.max_age to 1 or 2 minutes so people don't have to deal with these issues.
Logged

jspikeball123

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Re: Xfinity modem in bridge mode not working well with OPNsense
« Reply #1 on: April 29, 2023, 07:02:56 am »
dude thank you so much, I was pulling my hair out trying to figure what my problem was. This fixed it. As a fellow bridged xfinity modem user, any other tips or settings you have found to improve performance? Appreciated!
Logged

MysteryIron

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: Xfinity modem in bridge mode not working well with OPNsense
« Reply #2 on: August 07, 2023, 06:17:13 pm »
I am planning to switch to bridged mode for my nic. This definitely helps.
Logged

slackadelic

  • Full Member
  • ***
  • Posts: 147
  • Karma: 9
    • View Profile
Re: Xfinity modem in bridge mode not working well with OPNsense
« Reply #3 on: August 07, 2023, 08:04:29 pm »
That right there is one of the biggest reasons I ditched their modem and got my own.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 22.7 Legacy Series »
  • Xfinity modem in bridge mode not working well with OPNsense
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2