Hi,
I have successfully shape bandwidth using htb.init using ip address , but when i try to shape zebra BGP using their ip address and BGP port it can't match the class for BGP and always get the default class. Here's my htb.init script in the bridge : #eth0-2:50.bgp RATE=128kbit RULE=192.168.192.163 RULE=192.168.199.22 RULE=*:179 #eth1-2:50.bgp RATE=128kbit RULE=192.168.192.163, RULE=192.168.199.22, RULE=*:179, And here's the tcpdump result for the traffic : 09:57:36.875357 192.168.199.22.1843 > 192.168.192.163.179: P 1280098168:1280098187(19) ack 1407875708 win 34752 <nop,nop,timestamp 58101584 523141495>: BGP (KEEPALIVE) (DF) [tos 0x2,ECT] 09:57:36.875730 192.168.192.163.179 > 192.168.199.22.1843: . ack 19 win 5792 <nop,nop,timestamp 523201215 58101584> (DF) 09:57:37.166515 192.168.192.163.179 > 192.168.199.22.1843: P 1:20(19) ack 19 win 5792 <nop,nop,timestamp 523201505 58101584>: BGP (KEEPALIVE) (DF) [tos 0x2,ECT] 09:57:37.166543 192.168.199.22.1843 > 192.168.192.163.179: . ack 20 win 34752 <nop,nop,timestamp 58101875 523201505> (DF) 09:58:36.876202 192.168.199.22.1843 > 192.168.192.163.179: P 19:38(19) ack 20 win 34752 <nop,nop,timestamp 58161594 523201505>: BGP (KEEPALIVE) (DF) [tos 0x2,ECT] 09:58:36.876477 192.168.192.163.179 > 192.168.199.22.1843: . ack 38 win 5792 <nop,nop,timestamp 523261218 58161594> (DF) 09:58:37.174566 192.168.192.163.179 > 192.168.199.22.1843: P 20:39(19) ack 38 win 5792 <nop,nop,timestamp 523261516 58161594>: BGP (KEEPALIVE) (DF) [tos 0x2,ECT] 09:58:37.174589 192.168.199.22.1843 > 192.168.192.163.179: . ack 39 win 34752 <nop,nop,timestamp 58161892 523261516> (DF) 09:59:36.877134 192.168.199.22.1843 > 192.168.192.163.179: P 38:57(19) ack 39 win 34752 <nop,nop,timestamp 58221604 523261516>: BGP (KEEPALIVE) (DF) [tos 0x2,ECT] 09:59:36.877456 192.168.192.163.179 > 192.168.199.22.1843: . ack 57 win 5792 <nop,nop,timestamp 523321222 58221604> (DF) 09:59:37.181463 192.168.192.163.179 > 192.168.199.22.1843: P 39:58(19) ack 57 win 5792 <nop,nop,timestamp 523321526 58221604>: BGP (KEEPALIVE) (DF) [tos 0x2,ECT] Any idea how to overcome this? |