OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 15.1 Legacy Series »
  • Bridge Mode Strange Problem
« previous next »
  • Print
Pages: [1] 2

Author Topic: Bridge Mode Strange Problem  (Read 12562 times)

macafee

  • Jr. Member
  • **
  • Posts: 56
  • Karma: 8
    • View Profile
Bridge Mode Strange Problem
« on: April 13, 2015, 10:54:11 am »
I am using OPNsense 15.1.9-amd64 now. I found a strange problem about bridge mode. I use the Intel I350 4-Port NIC to create a bridge named bridge0. The bridge0 as LAN interface use ip address 192.168.1.254, the port1 of the bridge connected to a pc with ip address 192.168.1.10, the port2 of the bridge connected to another pc with ip address 192.168.1.20. Two pcs can ping 192.168.1.254 and connect to the internet. But the pcs cannt ping and connect to each other. I have set the lan rules of firewall.
IPv4 *    LAN net    *    *    *    *    none         Default allow LAN to any rule     

Why does pcs cannt connect to each other?
                                                   
« Last Edit: May 15, 2015, 11:40:21 am by franco »
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13679
  • Karma: 1176
    • View Profile
Re: Bridge Mode Strange Problem
« Reply #1 on: April 14, 2015, 11:16:27 am »
I am testing this since yesterday having a couple of issues that I haven't been able to locate. The bridge setup isn't as clear as it should especially WRT the bridge being hooked into an existing interfaces as opposed to moving the existing interface config to the bridge. I'll look into this more in the next few days. Thank you for the report. :)
Logged

macafee

  • Jr. Member
  • **
  • Posts: 56
  • Karma: 8
    • View Profile
Re: Bridge Mode Strange Problem
« Reply #2 on: April 14, 2015, 06:22:44 pm »
I am looking forward to your solutions. Thank you!
Logged

macafee

  • Jr. Member
  • **
  • Posts: 56
  • Karma: 8
    • View Profile
Re: Bridge Mode Strange Problem
« Reply #3 on: April 18, 2015, 05:23:08 pm »
I have resolved this problem.

sysctl net.link.bridge.pfil_member=0

Everything works great!
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13679
  • Karma: 1176
    • View Profile
Re: Bridge Mode Strange Problem
« Reply #4 on: April 20, 2015, 09:36:32 am »
Thanks for looking into this. Are you using the captive portal functionality as well? Traffic shaping configured? It seems a bit odd that this fixes the issue. It will certainly break other setups. I am suspecting that our kernel patch rework (going back to FreeBSD standards) will help with this problem, but we are still debating how much we clean up short term and what will stay in place for a while.
Logged

macafee

  • Jr. Member
  • **
  • Posts: 56
  • Karma: 8
    • View Profile
Re: Bridge Mode Strange Problem
« Reply #5 on: April 21, 2015, 08:25:45 am »
I'm not using the captive portal and traffic shaping. What did you mean that it will cretainly break other setups.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13679
  • Karma: 1176
    • View Profile
Re: Bridge Mode Strange Problem
« Reply #6 on: April 21, 2015, 02:59:32 pm »
Yep, using the captive portal or traffic shaping will want this sysctl to be set, otherwise the traffic of said brigde might be hidden from those features. Lots of speculation surrounding kernel patches. Ad is working on cleaning these up so we can have a more standards-compliant kernel that works just as well in the future.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13679
  • Karma: 1176
    • View Profile
Re: [WORKAROUND] Bridge Mode Strange Problem
« Reply #7 on: May 04, 2015, 04:59:55 pm »
Does the problem persist with 15.1.10? Make sure you have the latest kernel. uname -a would help as the FreeBSD version hasn't changed. :)
Logged

macafee

  • Jr. Member
  • **
  • Posts: 56
  • Karma: 8
    • View Profile
Re: [WORKAROUND] Bridge Mode Strange Problem
« Reply #8 on: May 05, 2015, 12:04:17 pm »
Do you mean that change sysctl net.link.bridge.pfil_member=1 and test it again?
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13679
  • Karma: 1176
    • View Profile
Re: [WORKAROUND] Bridge Mode Strange Problem
« Reply #9 on: May 05, 2015, 09:37:59 pm »
Yes, exactly.
Logged

macafee

  • Jr. Member
  • **
  • Posts: 56
  • Karma: 8
    • View Profile
Re: [WORKAROUND] Bridge Mode Strange Problem
« Reply #10 on: May 12, 2015, 12:26:00 pm »
I had retested it. It works very well. Thank you.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13679
  • Karma: 1176
    • View Profile
Re: [SOLVED] Bridge Mode Strange Problem
« Reply #11 on: May 12, 2015, 01:21:03 pm »
Great, thanks for reporting back! :)
Logged

macafee

  • Jr. Member
  • **
  • Posts: 56
  • Karma: 8
    • View Profile
Re: [SOLVED] Bridge Mode Strange Problem
« Reply #12 on: May 15, 2015, 11:18:53 am »
Today, I updated the system to OPNsense 15.1.10.2 version and retarted the system.

Now the strange problem is still existence. The bug is not fixed.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13679
  • Karma: 1176
    • View Profile
Re: [SOLVED] Bridge Mode Strange Problem
« Reply #13 on: May 15, 2015, 11:40:11 am »
Did you update via GUI or Console?
Logged

macafee

  • Jr. Member
  • **
  • Posts: 56
  • Karma: 8
    • View Profile
Re: Bridge Mode Strange Problem
« Reply #14 on: May 18, 2015, 02:51:28 am »
updated via console menu 12.
Logged

  • Print
Pages: [1] 2
« previous next »
  • OPNsense Forum »
  • Archive »
  • 15.1 Legacy Series »
  • Bridge Mode Strange Problem
 

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