This question mainly for Patrick McHardy As I understand problem about IMQ and GRE all been working fine, if I send packets from tunnel to another IMQ. I''m right ? My configuration eth2 - main link ppp0 - PPTP (tcp control connection on port 1723-over eth2 and GRE tunnel ppp0 ) I''m not sure that only GRE packets flowing through ppp0, can somebody corect me if not so ? modprobe imq numdevs=2 ..... ( queue config for imq0 and imq1 ) iptables -t mangle -A PREROUTING -i eth2 -j IMQ --todev 0 iptables -t mangle -A PREROUTING -i ppp0 -j IMQ --todev 1 ip link set imq0 up ip link set imq1 up Thank for any answer !! ----------------------------------- mailto:alexey_talikov@texlab.com.uz BR Alexey Talikov FORTEK -----------------------------------
hi. Alexey Talikov wrote:>This question mainly for Patrick McHardy >As I understand problem about IMQ and GRE all been working fine, if I send packets from tunnel >to another IMQ. I''m right ? >right. the problem is when sending packets to a device which encapsulates them and both the non-encapsulated and the encapsulated go to the same imq device.> > >My configuration >eth2 - main link >ppp0 - PPTP (tcp control connection on port 1723-over eth2 and GRE tunnel ppp0 ) >I''m not sure that only GRE packets flowing through ppp0, can somebody corect me if not so ? > >modprobe imq numdevs=2 >..... ( queue config for imq0 and imq1 ) >iptables -t mangle -A PREROUTING -i eth2 -j IMQ --todev 0 >iptables -t mangle -A PREROUTING -i ppp0 -j IMQ --todev 1 >ip link set imq0 up >ip link set imq1 up > >Thank for any answer !! >----------------------------------- >mailto:alexey_talikov@texlab.com.uz >BR >Alexey Talikov >FORTEK >----------------------------------- >hmm sorry i don''t really get your configuration. gre tunnel is going through ppp0 which is pptp over eth2 ? you can just try out if it works, your computer won''t crash if it doesn''t. you''ll see some messages about imq beeing deadlooped in the ringbuffer if it doesn''t ... Bye Patrick
Hello! I try to make HTB work with kernel 2.4.18. The patch goes through, and compilation as well but when I do make modules_install the sch_htb.o wont get copied to /lib/modules/2.4.18/kernel/net/sched - directory. When I try to insmod it (sch_htb.o) it tells me that this module is for another version of the kernel. This usally happens when that is the case, but ever since the versioning system CONFIG_MODVERSIONS got into the kernel (God bless it) I haven''t had those problems... How do I load the HTB functionality? Is it incorporated in another module which I must load instead? I cannot se anywhere on the files changed by the htb-patch anything about a specific kernel-version. Or, am I just stupid... :-) Regards, Gabriel Paues
Thanks Patrick !! I also found answer on my last question. It''s may be interesting for you http://pptpclient.sourceforge.net/diagrams.phtml ----------------------------------- mailto:alexey_talikov@texlab.com.uz BR Alexey Talikov FORTEK -----------------------------------