[LARTC] RTNETLINK answers: File exists .. Network is unreachable

2006-08-18 Thread Spam Dumpster
I am a Linux novice. I have set up a Linux Router that is running the 2.6.15-1.2054_FC5 kernel. I boot to an initial router state and then I experiment with various "tc" commands by executing them at the command prompt. I reboot often to restore the initial state. When I booted up the rou

Re: [LARTC] Handle limit in filter

2006-08-18 Thread Raj Mathur
> "Marek" == Marek Kierdelewicz <[EMAIL PROTECTED]> writes: >> I've written a minimal sort of Perl module that dynamically >> creates and destroys traffic control rules for specific IPs. >> I'm currently using it for a user bandwidth control application >> at a client site.

[LARTC] how to implement 802.1p QoS on Linux

2006-08-18 Thread Richard Cai
Hello everyone: How to implement 802.1p Qos on linux? Thanks ___ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

Re: [LARTC] iproute2, alternative tables, no default route: routing trouble for localhost [SOLVED]

2006-08-18 Thread Покотиленко Костик
I've found the answer in [EMAIL PROTECTED] First: I'm sorry, there was a typo while writing message. The correct subnets are 10.10.101.0/24 and 10.10.100.0/24, not 10.10.100.101/24 and 10.10.100.100/24. The solution is: # ip rule add dev lo table Servers as Pascal Hambourg <[EMAIL PROTECTED]>

Re: [LARTC] Handle limit in filter

2006-08-18 Thread Marek Kierdelewicz
> Hi, Hi there! > > I've written a minimal sort of Perl module that dynamically creates > and destroys traffic control rules for specific IPs. I'm currently > using it for a user bandwidth control application at a client site. Been there, done that... Better regenerate whole tc config and loa

Re: [LARTC] How to bypass traffic control for one IP

2006-08-18 Thread Nikolay Kichukov
Okay, the following may or may not work: on the interface of the router that is connected to the adsl add an engress HTB qdisc. Then add classes accordingly. The first one with highest priority will be for the 4Mbit traffic. The classes after this one will be dependent on your likely. Add some t

[LARTC] Handle limit in filter

2006-08-18 Thread Raj Mathur
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I've written a minimal sort of Perl module that dynamically creates and destroys traffic control rules for specific IPs. I'm currently using it for a user bandwidth control application at a client site. The module essentially gets Ethernet devic

Re: [LARTC] iproute2, alternative tables, no default route: routing trouble for localhost

2006-08-18 Thread Покотиленко Костик
В Птн, 18/08/2006 в 14:52 +0200, Marek Kierdelewicz пишет: > > Hi. > > Hi > > > router # cat /etc/iproute2/rt_tables > > # > > # reserved values > > # > > 255 local > > 254 main > > 253 default > > 0 unspec > > # > > Add default route to the "default" table .. it gets hit after

Re: [LARTC] iproute2, alternative tables, no default route: routing trouble for localhost

2006-08-18 Thread Marek Kierdelewicz
> Hi. Hi > router # cat /etc/iproute2/rt_tables > # > # reserved values > # > 255 local > 254 main > 253 default > 0 unspec > # Add default route to the "default" table .. it gets hit after your custom tables as you can see here: router # ip rule ls 0: from all lookup lo

Re: [LARTC] Info about IFB

2006-08-18 Thread Andy Furniss
ArcosCom Linux User wrote: I use IMQ to incomming traffic shaping (using u32 to match the source/destination MACs) With IMQ I use: iptables -t mangle -A PREROUTING -i $if_wan0 -j IMQ --to-dev 0 (for example) To enqueue packets into IMQ device and then shapping. With IMQ I can use modprobe to

[LARTC] iproute2, alternative tables, no default route: routing trouble for localhost

2006-08-18 Thread Покотиленко Костик
Hi. The task: 1. There 3 servers and a router with 2 PPPoE connections (let call them: ppp0, ppp1). 2. There are several groups of Inet-clients to be served (Servers, Clients and Club). 3. The task is: - to route Club through the ppp1; - to Servers and Clients through ppp0; (Next is reprod

Re: [LARTC] Info about IFB

2006-08-18 Thread ArcosCom Linux User
I use IMQ to incomming traffic shaping (using u32 to match the source/destination MACs) With IMQ I use: iptables -t mangle -A PREROUTING -i $if_wan0 -j IMQ --to-dev 0 (for example) To enqueue packets into IMQ device and then shapping. With IMQ I can use modprobe to set the device count I need

Re: [LARTC] enable p2p to some host (ipp2p)

2006-08-18 Thread linux
In theory, for all p2p traffic matched by ipp2p you only need "--ipp2p" parameter, not the rest you put. You could use this: #FIRST allow your net p2p traffic: iptables -A FORWARD -d mynet -m ipp2p --ipp2p -j ACCEPT iptables -A FORWARD -s mynet -m ipp2p --ipp2p -j ACCEPT #Next, drop not your net

Re: [LARTC] ingress and flowid

2006-08-18 Thread Andy Furniss
Andrés Ghigliazza wrote: Hi there, I am trying to understand our router / firewall, that was configured by another person. It is a Debian GNU/Linux with several configurations with tc and iptables. I have a question about flowid in ingress qdisc. As fas as I know, this qdisc is a dummy one, and

Re: [LARTC] enable p2p to some host (ipp2p)

2006-08-18 Thread Andy Furniss
Roberto Pereyra wrote: Hi I using ipp2p to block p2p traffic. How to enable to use p2p to me host in my net ? I using this setup: iptables -A FORWARD -m ipp2p --ipp2p --bit --apple --winmx --soul --ares -j DROP This setup: iptables -A FORWARD -m ipp2p --ipp2p --bit --apple --winmx --soul

Re: [LARTC] Re: tc filter

2006-08-18 Thread Andy Furniss
Jarek Poplawski wrote: Should be: # tc filter add dev eth0 parent 1: proto ip pref 100 \ u32 match ip dst 192.168.1.222 flowid 1: police \ conform-exceed drop/drop Looks a bit iffy but I haven't tried it - I thought that would be drop whether under or over - if it's valid at all

Re: [LARTC] howto reduce the ping?

2006-08-18 Thread Andy Furniss
Julius Junghans wrote: Hi, with the attached config my gaming ping is still +20ms, even if the line isn't saturated..can anybody give me a hint how to get a better response time? my line: 1024/128kbit Does not saturated mean no other traffic - I mean if you really have 128kbit up eg. dsl t

Re: [LARTC] Info about IFB

2006-08-18 Thread Andy Furniss
Samuel Díaz García wrote: Hi, I'm looking for info about IFB devices and how I can use it to incomming traffic shapping. Has IFB any web about it? Do any body known where I can find more info about it? I found this: http://linux-net.osdl.org/index.php/IFB But I can't stand fine how to use it