split traffic

"Ignacio Rodriguez" <[email protected]> Thu, 3 Aug 2006 18:26:39 -0300
Newsgroups gmane.linux.network.bridge.ebtables.user
Message-ID <003401c6b743$843adda0$3001a8c0@nacho>
You can set up two vlan interfaces over external physical Ethernet interface,
than split the traffic by your swich (if it a L2/L3 intellectual swich
such as Cisco 35xx/29xx series etc)
But I don't understand what the criteria to split the traffic on a
bridge... it's your problem.

Ok.... But my idea is no spend money in cysco hardware.... because it´s very expensive....

My idea is Route in transparent way the packects to isp1 or isp2... Based on type of traffic...

For example:

Have a lot of users that uses p2p aplication such kazza and edonkey...
Actually i build shape qos scripts thats control that type of traffic, but they aren´t perfect... If i split traffic based on TOS, on ports or in l7 protocols (for example).

I can have a dsl line always free for Voip and http... And another dsl line for trash and bulk traffic...

My idea is only use 2 ethernet cards (not 3)...

isp1 ----brazilfw NAT--------
                                    cheap HUB or switch--------------- eth1 bridge eth0 ----------------------- users
isp2-----brazilfw NAT------- 


Why 2 ethernet cards? wy not? ;) i try iptables ROUTE command to change the default gateway of the packets with out succes...
iptables -A POSTROUTING -t mangle -p tcp --dport 22 -j ROUTE --gw w.x.y.z --continueCan i do 2 vlans in the same interface?then can i filter traffic to route packets in transparent way to this vlans with ebtables or other tool?If you can add a litlle code example is will be very welcome... Thanks for your time! Regards. 
----- Original Message ----- 
From: <nick-UvdXiu2sajOKBXSJ/[email protected]>
To: "Ignacio Rodriguez" <[email protected]>
Cc: <[email protected]>
Sent: Thursday, August 03, 2006 6:24 AM
Subject: Re: [Ebtables-user] split traffic



> I made a Bridge with ebtables and brazilfw.... I called Argento bridge...
> I put a pretty web interface and i add qos control, transparent web
> caching... Transparent dns caching... And other stuff.. (more info
> www.brazilfw.com.br).
>
> My question is i can split traffic in a transprent way....
> I want to send trash traffic to a ISP and interactive traffic to other
> ISP....
> Thats can be done with ebtables?
You can set up two vlan interfaces over external physical Ethernet interface,
than split the traffic by your swich (if it a L2/L3 intellectual swich
such as Cisco 35xx/29xx series etc)
But I don't understand what the criteria to split the traffic on a
bridge... it's your problem.

> here is the picture:
>
>
> ISP1 <---------
> user1 ---swtch----- Bridge <-----------Siwtch----user2
> ISP2 <--------
> user3
>
> Don´t want to use 3 ethernet cards in the bridge..... only 2 ethernets
> and a switch....
As You show above, the -swtch- will split the traffic, so You can route
the packets to dedicated VLANs, and then forward to ISP1 or ISP2 ports by
switch.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Ebtables-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ebtables-user