• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Bridge mode?

Scheduled Pinned Locked Moved Routing and Multi WAN
22 Posts 7 Posters 13.8k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T
    trendchiller
    last edited by Nov 26, 2005, 9:03 PM

    I have Intel NICs (fxp0-5) and try to establish a bridge. It works without any problems until I restart the firewall.

    After reboot, the bridge exists, but the traffic does not flow.

    After disabling the bridge and after that re establishing a bridge over two interfaces it works again, but only when reenabling it manually…

    WHY ?

    Thats really annoying

    1 Reply Last reply Reply Quote 0
    • S
      sullrich
      last edited by Nov 26, 2005, 9:15 PM

      @trendchiller:

      I have Intel NICs (fxp0-5) and try to establish a bridge. It works without any problems until I restart the firewall.

      After reboot, the bridge exists, but the traffic does not flow.

      After disabling the bridge and after that re establishing a bridge over two interfaces it works again, but only when reenabling it manually…

      WHY ?

      Thats really annoying

      What version?  ALWAYS include this information, we are not mind readers.

      After reboot post the contents of running ifconfig from a shell.

      1 Reply Last reply Reply Quote 0
      • T
        trendchiller
        last edited by Nov 29, 2005, 6:50 PM

        It's the latest version 0.94.12

        I tried it with another mainboard and the same symptoms are there… even in virtual pc these issues come up... :-(

        1 Reply Last reply Reply Quote 0
        • S
          sullrich
          last edited by Nov 29, 2005, 6:53 PM

          @trendchiller:

          It's the latest version 0.94.12

          I tried it with another mainboard and the same symptoms are there… even in virtual pc these issues come up... :-(

          What about the ifconfig output?!

          1 Reply Last reply Reply Quote 0
          • T
            trendchiller
            last edited by Nov 29, 2005, 8:43 PM Nov 29, 2005, 8:35 PM

            ifconfig output follows tomorrow…

            tried the same with 2 diffenent nics (3Com 905TX-M) and the problem was the same...

            but there another phenomenon was there: with acpi enabled they got IPs but there was no traffic possible... after disabling acpi it worked... but then: reboot system and no traffic was possible anymore... -> seems it has nothing to do with tne nics or their drivers...

            seems as if there is a problem with soft-reboot in bridge mode...

            I'll have a look at the ifocnfig output tomorrow...

            but after a reboot the bridge still exists with its members...

            ???

            perhaps anyone has some explainations how to configure a bridge mode... perhaps i'm just still wrong !?

            Could it be that this occurs because i assigned a static ip (eg. 172.16.0.1) to the wan interface (but disabled the block private networks option) ?

            1 Reply Last reply Reply Quote 0
            • C
              carboncopy
              last edited by Dec 2, 2005, 10:48 PM

              @trendchiller:

              ifconfig output follows tomorrow…

              tried the same with 2 diffenent nics (3Com 905TX-M) and the problem was the same...

              but there another phenomenon was there: with acpi enabled they got IPs but there was no traffic possible... after disabling acpi it worked... but then: reboot system and no traffic was possible anymore... -> seems it has nothing to do with tne nics or their drivers...

              seems as if there is a problem with soft-reboot in bridge mode...

              I'll have a look at the ifocnfig output tomorrow...

              but after a reboot the bridge still exists with its members...

              ???

              perhaps anyone has some explainations how to configure a bridge mode... perhaps i'm just still wrong !?

              Could it be that this occurs because i assigned a static ip (eg. 172.16.0.1) to the wan interface (but disabled the block private networks option) ?

              Just for the sake of testing… if you can get console access, go to the command line and type pfctl -F all.  Then see if you can pass traffic.  My guess is that it is a PF issue and not a hardware/software problem.

              CC

              1 Reply Last reply Reply Quote 0
              • T
                trendchiller
                last edited by Jan 4, 2006, 7:07 PM

                Hi all !

                The problem has been solved when using v1.0 beta !

                Good work guys !

                keep on !

                1 Reply Last reply Reply Quote 0
                • T
                  trendchiller
                  last edited by Jan 4, 2006, 9:20 PM

                  Hi all !

                  When I bridge the LAN with the WAN interface and set the IP Adresses at both interfaces to the same IP it works without any problems.
                  Now the question is: which interface IP is ignored ?

                  Because when both IPs would count there jmust be an error, right ?

                  1 Reply Last reply Reply Quote 0
                  • J
                    jeroen234
                    last edited by Jan 5, 2006, 9:15 AM Jan 5, 2006, 9:10 AM

                    both are ignored
                    and replaced bij the bridge witch now had that ipadress
                    sof if youre lan card is xl0 and youre wan card is vr0 then you have now br0
                    voor both lan and wan
                    any trafic adressed to br0 get's out on the lan and the wan card

                    1 Reply Last reply Reply Quote 0
                    • K
                      Koops
                      last edited by Jan 5, 2006, 11:11 AM

                      First time pfsense user here. How did you guys actually get it working in bridge mode? From the web gui or the commandline? (something like http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-bridging.html ?)

                      I've found this for monowall ( http://doc.m0n0.ch/handbook/examples-filtered-bridge.html ) but the pages aren't there on the sense webconfigurator.

                      I mainly want to use pfsense for what appears to be brilliant traffic shaping capabilities.

                      I'm using the Beta 1 version.

                      My test home setup is :

                      pc(192.168.0.19 ) -> crossover to pfs box  (192.168.0.9/192.168.0.8) -> switch -> netgear router (192.168.0.1) -> adsl modem.

                      I've turned off the firewall but I cant seem to find the section to put it into bridge mode.

                      Ideally I want to figure out how I can set this up so I can deploy them in minutes and stick them between the net connection and the first switch ahla Packeteer packetshaper style. Just without the lighter wallet :)
                      Then I can later connect to each one and turn the connection as approiprate.

                      Ideas?

                      Cheers.

                      1 Reply Last reply Reply Quote 0
                      • H
                        hoba
                        last edited by Jan 5, 2006, 1:26 PM

                        pfSenses bridge is filtering by default. You have to create rules for traffic to pass the bridge. everything that is not explicitly allowed will be blocked. By turning off firewall you shutdown all filtering which means that nothing is passing the shaper anymore. LKeep the firewall enabled and create allow any to any rules at the interfaces instead.

                        1 Reply Last reply Reply Quote 0
                        • S
                          sullrich
                          last edited by Jan 5, 2006, 9:37 PM

                          This is no longer true.  There is now a checkbox in advanced which enables filtering bridging.

                          1 Reply Last reply Reply Quote 0
                          • K
                            Koops
                            last edited by Jan 6, 2006, 2:48 AM

                            @sullrich:

                            This is no longer true.  There is now a checkbox in advanced which enables filtering bridging.

                            Advanced? As in "System" tab then Advanced?

                            http://img219.imageshack.us/img219/2360/advanced3er.gif

                            Could you help in pointing out where this is. Is this available on the 1.0 beta? Or is that in a newer developer version?

                            Can't seem to find that option anyway. I did select "Disable the firewalls filter altogether."

                            Cheers.

                            Koops

                            1 Reply Last reply Reply Quote 0
                            • S
                              sullrich
                              last edited by Jan 6, 2006, 3:08 AM

                              Beta 2.

                              1 Reply Last reply Reply Quote 0
                              • K
                                Koops
                                last edited by Jan 6, 2006, 4:23 AM

                                @sullrich:

                                Beta 2.

                                I'm assuming thats in the cvs tarball? using the cvs is probably a bit beyond me atm.

                                1 Reply Last reply Reply Quote 0
                                • S
                                  sullrich
                                  last edited by Jan 6, 2006, 4:28 AM

                                  Yes, the fix has not been released, only beta 1 has.

                                  1 Reply Last reply Reply Quote 0
                                  • K
                                    Koops
                                    last edited by Jan 6, 2006, 8:23 AM

                                    The penny finally dropped with some help from "trendchiller". Thanks!

                                    Finally found how to bridge the connection (had to grep for "bridge" in all the php scripts).  interface_lan.php!  :-[

                                    As I had been setting the Lan interface from the console. The connecting to the web interface and it would run the setup wizard I never needed to change the Lan interface as such it was the only page I never looked in!

                                    Oh well, time to finally play around with packet shaping :)

                                    1 Reply Last reply Reply Quote 0
                                    • T
                                      trendchiller
                                      last edited by Jan 7, 2006, 8:46 PM

                                      Hi !

                                      What could mean this message, when I try to bridge the LAN IF to the WAN IF ?

                                      Warning: unlink(/var/run/lan.conf.dirty): No such file or directory in /usr/local/www/interfaces_lan.php on line 295

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        sullrich
                                        last edited by Jan 7, 2006, 9:06 PM

                                        This is cosmetic.  You can ignore it and it should be fixed in beta2.

                                        1 Reply Last reply Reply Quote 0
                                        • First post
                                          Last post
                                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                          This community forum collects and processes your personal information.
                                          consent.not_received