LARTC
[Top] [All Lists]

AW: [LARTC] PPPoE and shaping

To: "'Diego Giardinetto [@AMUGSiena]'" <diego.giardinetto@amugsiena.it>, <lartc@mailman.ds9a.nl>
Subject: AW: [LARTC] PPPoE and shaping
From: "Simo" <simo@mix4web.de>
Date: Wed, 25 Apr 2007 16:58:38 +0200
Delivered-to: sp-com-lists@consult.net
Delivered-to: lartc-list@securepoint.com
Delivered-to: lartc@outpost.ds9a.nl
In-reply-to: <21dfacd30704250725n3f8716ccjd2d99bb0edf0ff4f@mail.gmail.com>
List-archive: <http://mailman.ds9a.nl/pipermail/lartc>
List-help: <mailto:lartc-request@mailman.ds9a.nl?subject=help>
List-id: "Mailinglist of the Linux Advanced Routing &amp; Traffic Control project" <lartc.mailman.ds9a.nl>
List-post: <mailto:lartc@mailman.ds9a.nl>
List-subscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=subscribe>
List-unsubscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=unsubscribe>
References: <21dfacd30704250639t1f5623fes7c786ed8d5fceeba@mail.gmail.com> <001a01c78743$58d71e00$0a855a00$@de> <21dfacd30704250725n3f8716ccjd2d99bb0edf0ff4f@mail.gmail.com>
Sender: lartc-bounces@mailman.ds9a.nl
Thread-index: AceHRVdFV4C9nQ2TTPOA5i2Hv4L8BQAAlnWA
Hi diego,
The traffic control should be done on your router. Only the router know the
both networks, internet and LAN. That s why, I don´t think, you will have
problems with the masquereading. But how do you use emule?? Do you use
nating? Have you any nating Rules for emule in your iptables? (otherwise,
emule will have a low ID)


>And, can I create shaping classes based on source IP of the local
>network? I tried, but also here masquerading operation loses
>information about original local IP...

Yes, you can do this. You can create for example  a class like this:

class if ip_dst == 192.168.0.3;  


Simo

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

<Prev in Thread] Current Thread [Next in Thread>