Hi Only two simple questions (I hope). I'm trying to shape traffic between several subnets (some in form of VLANs and some have own physical interface)
Is possible something like this? Just an example Subnet 1 ------ fxp0 - OpenBSD - fxp1 ------- Subnet 2 altq on $fxp0 bandwidth 100% cbq queue{fxp0_high, fxp0_def} altq on $fxp1 bandwidth 100% cbq queue{fxp1_high, fxp1_def} queue fxp0_high bandwidth 30% priority 7 cbq(red) queue fxp0_def bandwidth 70% priority 6 cbq(red, default) queue fxp1_high bandwidth 30% priority 7 cbq(red) queue fxp1_def bandwidth 70% priority 6 cbq(red, default) pass in on {lo0 fxp0 fxp1} pass out on fxp0 inet proto {tcp udp} all flags S/SA keep state pass out on fxp0 inet proto {tcp udp} from any to any port $highports \ flags S/SA keep state queue fxp1_high pass out on fxp1 inet proto {tcp udp} all flags S/SA keep state pass out on fxp1 inet proto {tcp udp} from any to any port $highports \ flags S/SA keep state queue fxp0_high ************ So I create a state that will pass packets belonging to this connection through both interfaces, on one interface and they will be assigned to the queue on the other interface without creating any explicit pass rule for this interface to assign the packet to the correct queue (because I don't know then which service it was) Am I right?