[LARTC] Routing problems

2003-12-10 Thread Jan Gerritsen
Hi, I have some problems with my routing configuration. My router has two connections to the internet, eth1 (2Mbit) and ppp0 (ADSL). On the eth1 connection I do a –snat and on ppp0 I do masquerading. I use iptables to mark packets / connections in the -t mangle -A PREROUTING and OUTPUT chains. T

RE: [LARTC] Newbie HTB shaping question

2003-12-09 Thread Jan Gerritsen
Hi, > As you can see from the command and wget output i limited the > outgoing bandwidth to 100kbps but i am still getting 1Mbps. Is > this what I am supposed to get or did I do some thing really stupid? yes, you limit the outgoing bandwidth,.. not the incomming ;) greets, Jan Gerrit

AW: [LARTC] mangle

2003-12-08 Thread Jan Gerritsen
policyrouting.org/PolicyRoutingBook/ONLINE/CH03.web.html thx, Jan Gerritsen ÀE0¦j)bž b²ßË™¨¥™©Ý³Ö§–m§ÿæj)fjwlõ©åþf¢–f§þX¬¶)ߣùZ®×9dΆÛiÿùZ®×(®

AW: [LARTC] How to route and queue, based on iptables marked packets, at the same time?

2003-12-05 Thread Jan Gerritsen
Hi, > Yes, you can. You can do marking in output and it will make a > difference in routing. Just use the -mangle- tables. > Checked and verified. I use it. Can I mark the packets in the POSTROUTING table again to influence the queuing? thx, Jan Gerritsen ŔE0¦j)bž b˛ßË™¨Ą

[LARTC] How to route and queue, based on iptables marked packets, at the same time?

2003-12-04 Thread Jan Gerritsen
t;$EXT_2M_RT" $IP route add "$EXT_DSL_NET" dev "$EXT_DSL_IF" table "$EXT_2M_RT" $IP route add 127.0.0.0/8 dev lo table "$EXT_2M_RT" $IP route add "$INT_NET" dev "$INT_IF" table "$EXT_DSL_RT" $IP route add "$EXT_2M_NET" dev "$EXT_2M_IF" table "$EXT_DSL_RT" $IP route add 127.0.0.0/8 dev lo table "$EXT_DSL_RT" $IP route add default via "$EXT_2M_IP" thx, Jan GerritsenÀE0¦j)bž b²ßË™¨¥™©Ý³Ö§–m§ÿæj)fjwlõ©åþf¢–f§þX¬¶)ߣùZ®×9dΆÛiÿùZ®×(®

[LARTC] Traffic shaping over two different lines

2003-10-13 Thread Jan Gerritsen
tting up some QoS rules for traffic shaping on different services,.. but I didn't do something like I want to do now. So I want to ask you, to give some tips what techniques / services to use, to do something like this. How to set up the basic model and how to break it to complete my whish li

AW: [LARTC] Tc - Class HTB - Filter u32 - Match ip dport

2003-10-08 Thread Jan Gerritsen
you put up a rule for sport 20. Passiv FTP does not use sport 20, it uses any port > 1024, only "active" FTP uses port 20 as sport for data transfare,.. Jan Gerritsen ™¨¥Šx%ŠË,S f¢–f§vÏZžXm¶Ÿÿ™¨¥™©Ý³Ö§—ùšŠYšŸùb²Ø§~åj»\å“:m§ÿåj»\¢¸?