[ previous ] [ next ] [ threads ]
 
 From:  "Mohammed Ismail" <m dot ismael at gmail dot com>
 To:  <m0n0wall at lists dot m0n0 dot ch>
 Cc:  "'Mohammed Ismail'" <m dot ismael at gmail dot com>
 Subject:  FW: if_bridge
 Date:  Wed, 2 Sep 2009 20:15:25 +0200
I though of something, 

While Captive portal running we cannot have bridged interfaces. Or if we
have interfaces bridged, we cannot have CP running on one of them.

What about running CP on a virtual interface. That could be the key to
bridge as many PCI cards wired or Wireless with LAN

The way CP works, reject to work while having bridged interfaces, If it was
one of them,

What about having interface br0 which is the bridge interface as long as it
is converted to if_bridge lately?

And there in Captive Portal in the dropdown menu you would find br0 then you
could run CP on multiple interfaces.

 
<http://www.freebsd.org/cgi/man.cgi?query=if_bridge&apropos=0&sektion=0&manp
ath=FreeBSD+6.4-RELEASE&format=html#end> DESCRIPTION
...
..
     Each if_bridge interface is created at runtime using interface cloning.
     This is most easily done with the ifconfig(8)
<http://www.freebsd.org/cgi/man.cgi?query=ifconfig&sektion=8&apropos=0&manpa
th=FreeBSD+6.4-RELEASE>  create command or using the
     cloned_interfaces variable in rc.conf(5)
<http://www.freebsd.org/cgi/man.cgi?query=rc.conf&sektion=5&apropos=0&manpat
h=FreeBSD+6.4-RELEASE> .
 
     The if_bridge interface randomly chooses a link (MAC) address in the
     range reserved for locally administered addresses when it is created.
     This address is guaranteed to be unique only across all if_bridge
inter-
     faces on the local machine.  Thus you can theoretically have two
bridges
     on the different machines with the same link addresses.  The address
can
     be changed by assigning the desired link address using ifconfig(8)
<http://www.freebsd.org/cgi/man.cgi?query=ifconfig&sektion=8&apropos=0&manpa
th=FreeBSD+6.4-RELEASE> .
 
     A bridge can be used to provide several services, such as a simple
     802.11-to-Ethernet bridge for wireless hosts, and traffic isolation.
 
<http://www.freebsd.org/cgi/man.cgi?query=if_bridge&apropos=0&sektion=0&manp
ath=FreeBSD+6.4-RELEASE&format=html#end> BUGS
     The if_bridge driver currently supports only Ethernet and Ethernet-like
     (e.g., 802.11) network devices, with exactly the same interface MTU
size
     as the bridge device.
 
     Only wireless interfaces in hostap mode can be bridged due to the
802.11
     framing format, bridging a wireless client is not supported yet.

End of http://www.freebsd.org/cgi/man.cgi?query=if_bridge
<http://www.freebsd.org/cgi/man.cgi?query=if_bridge&apropos=0&sektion=0&manp
ath=FreeBSD+6.4-RELEASE&format=html>
&apropos=0&sektion=0&manpath=FreeBSD+6.4-RELEASE&format=html

 

So I guess it would work.

Or. Why not. Thanks 

Mohammed.