Iptables MARK during traffic control by linux Bridge
Source: Internet
Author: User
The MARK of iptables used for traffic control by linux bridge-Linux Enterprise Application-Linux server application information. For details, refer to the following section. Environment:
MagicLinux2.0 kernel: 2.6.15.3
Iptables version: iptables v1.3.7
Bridge: bridge-utils-1.2
Route-V: route 1.98
Patch layer7 for Kernel
Tc filter add dev eth2 protocol ip parent 1:0 prio 8 u32 match ip dst 90.0.11.66/32 flowid :30
The test results are very good. Later, I suspected it was a bridge problem. I removed the bridge and implemented nat. The internal network was 192.168.1.0 and the external network was 90.0.11.0. The test is still the same. You can use u32, but the mark with iptables won't work. You can't explain it.
Later, I tried using the cbq queue, but I still cannot.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service