Skip to contentSkip to conversation

Do I have to use imq or ingress for incoming packets?

LARTC 박 정은 2 participants 2 messages Nov 19, 2002 – Nov 20, 2002

lore
Share & tools
lore

박 정은

author
#0 lore raw

I have 2 lan cards in LINUX ROUTER. eth0 for hub(masqurade ) and eth1
for

an internet.

I used htb with eth1 to menage outgoing packets. And It is working
perfect.

In my opinion , policying eth1 with htb could make the incoming packets

controlled.

but I doesn't work. It doesn't recognize any special port number.

Do I thinking wrong? Do i have to use imq ?

Thanks Inadvance.

_________________________________________________________________
보다 빠르고 보기 편한 뉴스. 오늘의 화제는 MSN 뉴스에서 확인하세요.
http://www.msn.co.kr/news/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw
Quoted 7 lines · ¹Ú Á¤Àº

I have 2 lan cards in LINUX ROUTER. eth0 for hub(masqurade ) and eth1
for an internet.
I used htb with eth1 to menage outgoing packets. And It is working
perfect.
In my opinion , policying eth1 with htb could make the incoming packets
controlled.
but I doesn't work. It doesn't recognize any special port number.

If you add a htb qdisc on device eth1, you are controlling outgoing bandwidth. For incoming bandwidth, you need the ingress qdisc and filters with policers. So "policyng with eth1 with htb" does not make any sense to me. It's or policyng on eth1 with the ingress qdisc or shaping on eth0 with htb.

Quoted 1 line

Do I thinking wrong? Do i have to use imq ?

You don't have to, but if you use imq you can use htb or cbq. But if you have a router, why not shaping at eth0 ??? All packets coming from the internet has to leave eth0.

Stef

Signature · 8 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/