Skip to contentSkip to conversation

HTB and bridge rules

LARTC hanhbnetfilter 2 participants 2 messages Jul 5, 2002

lore
Share & tools
lore
#0 lore raw

bridge was configured with "brctl" three NIC was bind to br0

|----|      |------|      |-----|
| B  |------|___A__|------|  D  |
|____|          |         |_____|
              __|__
             | C  |
             |____|

A:three NIC was bind to br0:172.16.6.235/24 B:172.16.6.3/24
D:172.16.6.4/24
C:172.16.6.2/24

htb was used to control traffic on A stuctrul is like that(default is 1:20):

              |----1:100 
   |------1:10|
1:1|          |____1:110 

|
|------1:20

#AC="tc filter add dev br0 protocol ip parent 1:0 prio 1"
#$AC u32 match u32 0xac100600 ffffff00 at 16 flowid 1:100
I copy a file from A to B(or D),
class 1:100 go into effect.
but when I copy a file from C to B(or D) class 1:100 did not go into effect
class 1:20 also do not take effect.

please tell me how can i do?

_________________________________________________________
Do You Yahoo!?
银行巨头聚会中原 大浪淘‘金’谁将笑傲
http://sweepstakes.yahoo.com/bank_surveywave2/
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw
Quoted 10 lines · hanhbnetfilter

bridge was configured with "brctl"
three NIC was bind to br0

|----|      |------|      |-----|
| B  |------|___A__|------|  D  |
|____|          |         |_____|
              __|__
             | C  |
             |____|
Quoted 7 lines

A:three NIC was bind to br0:172.16.6.235/24
B:172.16.6.3/24
D:172.16.6.4/24
C:172.16.6.2/24

htb was used to control traffic on A
stuctrul is like that(default is 1:20):

Try attaching your qdiscs and filters to actual devices.

Signature · 6 lines
http://www.PowerDNS.com          Versatile DNS Software & Services
http://www.tk                              the dot in .tk
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/