Thank you all for the help, links, doc, and advices.
To make sure I am in the right track for me to have the devices in
eth1 and eth2 get an IP from my LAN which is connected to eth0 I do:
BRIDGE0="eth0 eth1 eth2"
EXTIF="br0"
The end goal is to have access to the web interfaces of my phones and
devices behind the Astlinux router.
I can also enable dhcp on the ports and just map those ports to a
iptables rule to map the ports...
Any thoughts?
Thank you all for the help!
Thank You,
Fernando Fuentes
DIGITALVOIPNET.COM <http://DIGITALVOIPNET.COM>
On Thu, Nov 15, 2012 at 8:58 AM, James Babiak <[email protected]
<mailto:[email protected]>> wrote:
Fernando,
I've used bridge mode before numerous times, but only on two
physical interfaces. According to the network init script, it
looks like having >2 would work, but I don't know if anyone has
ever actually tried that.
With two interfaces bridged, I never really saw any noticeable
performance hit, even after doing some stress testing. On a fairly
low powered board, I was able to simulate about 30mbps of
bandwidth to transit the bridge without disrupting call quality or
causing any significant load to the box. However, as always, YMMV.
One thing that we did have an issue with was traffic shaping.
Please note that we did this on a very customized (and older)
version of Astlinux, so the current mainstream version might not
be affected, but basically it would throttle traffic symmetrically
and at the lowest value. What I mean by this is that if you set
the circuit speeds to, say, 1500 up and 6000 down, it would
throttle both up- and down-stream traffic by the lower 1500 value.
Therefore, while we did use this on occasion, it would only be
viable for symmetric speed circuits. Obviously if you aren't using
traffic shaping then that issue is moot anyway.
We used this configuration when we had a customer that had
multiple IP addresses, but wanted our device to sit between the
ISP CPE and their router/firewall. Using 'bridge mode', we were
able to pass the extra public IP address(es) internally, while
still providing a level of QoS and manageability. The
configuration is easy and straightforward. Note however that once
an interface is included in a bridge (ie: br0), you can only apply
configuration changes to that virtual interface and not the
individual bridge members. So if you only have four physical
interfaces, and all four are in this bridge, your system will
effectively only have a single interface. This means you won't
have any routing capabilities, as everything will appear to be
external. Though you might be able to setup some crazy VLANs to
circumvent this...
Anyway, putting four interfaces into a bridge might have a greater
impact to performance - I couldn't really say. You could always
test it out and see what happens. But I would probably recommend
using only two at most, and putting the second interface into a
switch.
-James
On 11/15/2012 09:10 AM, Fernando F. wrote:
David,
Thanks for the reply. I am a bit nervous on how bad the
performance impact will be...
I am trying to move all of my telecom gear to it without the need
of another switch.
Is any body out there actively using their system in bridge mode?
How bad is the performance impact?
Thank You,
Fernando Fuentes
DIGITALVOIPNET.COM <http://DIGITALVOIPNET.COM>
On Thu, Nov 15, 2012 at 7:08 AM, David Kerr <[email protected]
<mailto:[email protected]>> wrote:
At the bottom of the "Network" tab click on edit user
variables and add a line like this into the file...
BRIDGE1="eth1 eth2"
After reboot, a new interface br1 will be visible in the
Network tab of the user interface. As far as I know you can
add multiple eth interfaces to the bridge.
David
On Thu, Nov 15, 2012 at 12:24 AM, Fernando F.
<[email protected] <mailto:[email protected]>> wrote:
Darrick,
Thanks for the advice.
Thank You,
Fernando Fuentes
DIGITALVOIPNET.COM <http://DIGITALVOIPNET.COM>
On Wed, Nov 14, 2012 at 11:21 PM, Darrick Hartman
<[email protected]
<mailto:[email protected]>> wrote:
Fernando,
Yes, this is possible, but that sounds a lot like a
switch with poor performance ;). Take a look at the
examples in /stat/etc/rc.conf. You'll need to have
the appropriate variables added to user.conf, but it
should be pretty straightforward. Again, use
/stat/etc/rc.conf as an example, do NOT edit that file.
If you can't figure it out by tomorrow, I'm sure
someone else can respond with the exact variables.
Once you have the bridge (br0) created, it should
show up in the web interface and allow you to
manipulate settings on that interface.
Again, I really think you'd be better off with a 5
port switch because bridging those eth devices will
come with a penalty in performance.
Darrick
*From:*Fernando F. [mailto:[email protected]
<mailto:[email protected]>]
*Sent:* Wednesday, November 14, 2012 11:14 PM
*To:* AstLinux Users Mailing List
*Subject:* [Astlinux-users] Bridging eth ports
Is it possible to bridge the eth ports on astlinux?
I am trying to bridge eth1,2,3 to eth0
Thank You,
Fernando Fuentes
DIGITALVOIPNET.COM <http://DIGITALVOIPNET.COM>
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud
infrastructure from a single
web console. Get in-depth insight into apps, servers,
databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free
Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Astlinux-users mailing list
[email protected]
<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/astlinux-users
Donations to support AstLinux are graciously accepted
via PayPal to [email protected] <mailto:[email protected]>.
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure
from a single
web console. Get in-depth insight into apps, servers,
databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Astlinux-users mailing list
[email protected]
<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/astlinux-users
Donations to support AstLinux are graciously accepted via
PayPal to [email protected] <mailto:[email protected]>.
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from
a single
web console. Get in-depth insight into apps, servers,
databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Astlinux-users mailing list
[email protected]
<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/astlinux-users
Donations to support AstLinux are graciously accepted via
PayPal to [email protected] <mailto:[email protected]>.
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Astlinux-users mailing list
[email protected]
<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/astlinux-users
Donations to support AstLinux are graciously accepted via PayPal
[email protected] <mailto:[email protected]>.
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases,
vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Astlinux-users mailing list
[email protected]
<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/astlinux-users
Donations to support AstLinux are graciously accepted via PayPal
to [email protected] <mailto:[email protected]>.
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users
Donations to support AstLinux are graciously accepted via PayPal to
[email protected].