rahulbhansali24 n00b
Joined: 15 Feb 2013 Posts: 3 Location: India
|
Posted: Thu Feb 21, 2013 11:59 am Post subject: traffic shaping of locally generated packets |
|
|
Hi,
I have PC (PC1) with two outgoing interfaces, and a laptop (L1) that can be reachable through both the interfaces of PC1.
I want to control the traffic that is locally generated on PC1 for L1, by dividing traffic among both the interface destined for L1.
I have done marking in OUTPUT chain, but no packet is going out for L1 from PC1.
ip6tables -t mangle -A OUTPUT -p icmp6 -j MARK --set-mark 0x2
ip -6 rule add fwmark 0x2 table 12
ip -6 route add <L1-IP> dev eth0 table 12
ping6 <L1-IP>
After all this, I am not able to send ping6 traffic. If I remove the marking rule then only ping works.
Similar way, I want to classify more packets according to protocol and ports.
Please help me on this. _________________ Rahul Bhansali |
|