Hi,

thanks for help. I try configure IFB but I get following error:
Validating /etc/shorewall/tcdevices...
ERROR: Option default is not defined for any class in tcclasses for 
interface 1:eth0

My config files are from example on 
http://www.shorewall.net/traffic_shaping.htm#IFB

tcdevices:
1:eth0         -               512kbit         classify
2:ifb0         -               4000kbit        -               eth0

tcclasses:
1:110           -       5*full/10       full            1               
tcp-ack,tos-minimize-delay
1:120           -       2*full/10       6*full/10       2               
default
1:130           -       2*full/10       6*full/10       3
2:110           -       5*full/10       full            1              
tcp-ack,tos-minimize-delay
2:120           -       2*full/10       6*full/10       2              
default
2:130           -       2*full/10       6*full/10       3

tcfilters:

1:120           -             -

2:110           -               10.0.0.0/9                         
2:120           -               10.128.0.0/9                     

Thanks for a piece of advice and help.

Sebastian Mazur

> You can only shape outgoing traffic on an interface, and you can't 
> couple interfaces together. What you'll need to do is use an IFB 
> (Intermediate Functional Block) and arrange for all traffic in bound 
> on eth0 to be routed through it. You can shape traffic out of this 
> virtual interface and then AFTER it's shaped, route it out of the two 
> real interfaces. For the shaping you then follow the same steps as 
> you would for a two interface router (ie shape outbound on eth0 and 
> your IFB).
>
> For outbound traffic to the net, that's simple enough to shape on eth0.
>
> Sorry, it's not something I've ever done (not had a need to), so I 
> can't tell you the steps required to set it up.
>
>   


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to