iproute2 + htb
Jandre Olivier <[email protected]> Fri, 30 Jul 2004 15:58:10 +0200
| Newsgroups | gmane.linux.admin.managers |
|---|---|
| Message-ID | <[email protected]> |
Howzit guys, I have an interesting situation which im struggling with: i have two service providers eth1 : external link ( 192.168.2.2) gw : 192.168.2.1 eth2 : external link (196.15.188.146) gw : 196.15.188.145 eth0 : lan ( 192.168.200.1 ) ( MASQ) eth1 is used to route to a network in the 196.25.0.0/16 range ONLY and eth2 for normal internet traffic i've setup routing for the diffrent links with ip rule and ip route and i masquerade outgoing packets on my 2 external networks i've managed to mark packets for HTB but i need to mark for specific lan users eg 192.168.200.10 and put them in a shaping ratio 1:8 and im still struggling as i can only mark packets leaving eth0 for the lan, the masquarding is a problem , i mark packets from 196.25.0.0/16 -> 192.168.200.10 with iptables but i cannot mark packets coming from 196.15.188.146 to 192.168.200.10 as the ip can variable I would really like some help on this please Thanks Jandre -- Regards Jandre "Some people are alive only because it is illegal to kill them." _____________________________________________________ _______________________________________________ LinuxManagers mailing list - http://www.linuxmanagers.org submissions: LinuxManagers-35TzE1X9F6582KRnZfj+bdi2O/[email protected] subscribe/unsubscribe: http://www.linuxmanagers.org/mailman/listinfo/linuxmanagers