similar to: Whats wrong with my script?

Displaying 20 results from an estimated 4000 matches similar to: "Whats wrong with my script?"

2004 Jan 19
3
Shaping inbound ok, outbound wrong
Hi, I´m shaping traffic using htb on both interfaces, I noticed that shaping download traffic is workinggreat but shaping upload traffic is not working at all (no sent packets, no dropped, no overlimits)I have eth0 facing the backbone and eth1 facing the LAN. Thanks for your help.These are the commands I run:tc qdisc del dev eth0 root tc qdisc add dev eth0 root handle 1 htb default 10 r2q 5 tc
2004 Jan 21
2
Slightly offtopic: IRC channel archives
Hi all. I fear I''m slightly offtopic with this question, but I''ll keep it short: who is (or feels) responsible for the #lartc irc-channel in oftc.net? I''d appreciate if that person would get in contact with me (off-list) in order to discuss some ideas I have. Thanks in advance. Bye, Mike _______________________________________________ LARTC mailing list /
2004 May 27
7
2 Gateways
Hello again, I may have a common problem to solve but it seems it is harder than I thought... I have 2 internet providers (each one having a different gateway). Behind the router there are around 100 clients that are SNAT-ed. I want some clients to be SNAT-ed to the first provider, while the others to the second one. The following lines should work: iptables -t nat -A POSTROUTING -s
2004 Apr 29
2
tc class htb
Hi, I am new to this group. I use this script tc qdisc add dev eth0 root handle 1: htb tc class add dev eth0 parent 1:0 classid 1:1 htb rate 500kbit ceil 500kbit tc class add dev eth0 parent 1:1 classid 1:2 htb rate 300Kbit ceil 500kbit tc class add dev eth0 parent 1:1 classid 1:3 htb rate 200kbit ceil 500kbit I like to know: If two customers of the same class (for example 1:2) work
2004 Jan 29
2
wonder shaper problems
I just installed Xandros 2.0 Desktop. I used apt-get to install iproute. I then downloaded wondershaper 1.1a from the website. I edited the script as the readme says. I went to console and started the wondershaper script...and i get the following error messages. RTNETLINK answers: Invalid Argument many times. Any ideas what is wrong? MArk _______________________________________________
2004 Jan 29
2
Prioritizing UDP Packets?
Greetings, I''m new to LARTC and I''m trying to solve a problem with multiple clients accessing a game server. So I thought I''d give traffic control a shot. I''ve downloaded Wonder Shaper and have added this to the default script: tc filter add dev $DEV parent 1:0 protocol ip prio 12 u32 \ match ip protocol 0x6 0xff flowid 1:3 I''m now quite sure
2004 Apr 01
3
Control Bandwidth
Hi all, I need a little help, i am studing htb to control user bandwidth (download/upload) and I made a script as below to test. I am testing using ttcp tool from by linux box to other linux (192.168.200.51). my box <---- Linux = more than 128kbit mybot -----> Linux = get 128kbit But I want to control both ways, what am I missing? script: EXTIF=eth0 INTIF=eth1 TC=/sbin/tc DOWN=128
2003 Jul 22
7
broadcast over gre tunnel?
Hello, I connected the network 192.168.1.0 with 192.168.2.0 over the internet trough a GRE-Tunnel. I don''t know if I set up all things right: The client-pcs in both networks have a subnet mask of 255.255.255.0 and 192.168.2.x''s default gateway is the server wich has started the tunnel. The 192.168.1.x''s default gateway is 192.168.1.250 wich routes traffic destinated to
2004 Jan 05
3
vpn control
we have an external 2Mbit dsl connection and running on it are several gre vpn tunnels so far i''ve given priority to the vpn traffic (using htb) can i now put rules in for the tunnels to control traffic within each tunnel (that''s where our video conferencing etc runs)? or can i only control the real interface (eth1 in our setup)? if not can i somehow see the packets inside the
2004 Jan 15
2
Fw: Re:simple(?!?) source routing
Hi, Thanks for the reply. Thats where the problem starts. If I set ppp0 as the default gw the internet doesnt work anymore. This is how im doing it... route del default route add default gw 217.32.81.74 dev ppp0 if I put it back to ppp1... route del default route add default gw 217.32.68.73 dev ppp1 It works fine again. Whats up with that? Cheers, Chris ----- Original Message
2003 Dec 04
5
Aliases and Multipath
Hi all Does anyone know if i can use ethernet aliases like eth0:1 in advanced routing like multipath routing in order to avoid to have nxEthernet interfaces in my Linux box. Thansk in advanced -- Guillermo Gomez <ggomez@neotechgw.net> neotech _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO:
2004 Apr 19
1
Prioritizing on a Bridge doesn''t seen to work correct, ingress does not functional
Hi there, i tried to setup up a Linuxbridge for prioritize some interactive (Citrix / https) Traffic to 1.2.3.4 on my ADSL Link, but i think it work not correct. Overview: Router <->Linux Bridge<->internal Net eth1 eth0 This is my Script (with friendly support from the Linux Advanced Routing & Traffic control Howto) #!/bin/sh # # ADSL
2003 Nov 10
2
flow classification
hello, i have 2 links to the ISP of 128kbit each, and i want to balance the trafic between them, but not staticly (local ip1-5 throw isp1, and the rest to isp2). I though at a ingress clasification, then routing by the mark, and at the exit nat (yes i must do nat :(((, but the clasification must be flow based, and i dont know how to do it. C _______________________________________________ LARTC
2004 Mar 02
3
how do you rate limit routable traffic without rate limiting LAN protocols like arps and igmp?
I''m rate limiting and prioritizing traffic upstream of a slow wan link using htb, classic wonder shaper type stuff. I''m using the following command for traffic that does not match any of my defined filters: tc qdisc add dev eth0 root handle 1: htb default 50 It appears that local, non-routable traffic like arps and igmp are being snared by this and end-up queued in the lowest
2004 Feb 03
4
wondershaper
Hi, I just installed wondershapper 1.1a on my ipcop firewall box. I have roadrunner cable with a ftp server setup. My download speed is 2mbit (I get 225 KBytes) and my upload is 384kbit (I send at 43 KBytes). What should the settings in wshaper? I can ping yahoo.com at 90msec with little traffic.....and at around 220msec with full upload traffic. Mark
2004 Apr 06
4
Routing problem
Hi, i have one firewall/gateway server with two interfaces and a routing problem (?). eth0: external interface eth1: internal interface. Both ip address are valid. Services like DNS, HTTP is configured to run using eth1 ip address. The problem is when i try to connect from internet to firewall, i can´t see eth1 ip address... only eth0 ip address. So, when i try to connect to web
2003 Sep 09
5
newbie - shaping a PSTN connection
Hi - I''ve been going through the LARTC how-to and have successfully used the sample scripts (and wondershaper) with my xDSL links. I''m now faced with the challenge of providing 8 users at work an effective remote access connection over a PSTN ppp connection. The critical traffic in this case relates to our stock enquiry application which is running over terminal services.
2004 Jun 08
11
how flexible is ingress traffic policing to bandwidth limit?
[I sent this earlier but I guess the list is subscriber-only?] I just set up wondershaper, it has a simple filter on the downstream direction to limit the bandwidth usage: tc qdisc add dev $DEV handle ffff: ingress tc filter add dev $DEV parent ffff: protocol ip prio 50 u32 match ip src \ 0.0.0.0/0 police rate ${DOWNLINK}kbit burst 10k drop flowid :1 This is effective but is there any way to
2006 Feb 06
2
p2p marking, again
Hey, one more question for ipp2p iptables -t mangle -A DSL-IN -p tcp -m ipp2p --ipp2p -j CONNMARK --restore-mark iptables -t mangle -A DSL-IN -p tcp -m mark ! --mark 0 -j ACCEPT iptables -t mangle -A DSL-IN -p tcp -m ipp2p --ipp2p -j MARK --set-mark 7 iptables -t mangle -A DSL-IN -p tcp -m ipp2p --ipp2p -j CONNMARK --save-mark iptables -t mangle -A DSL-IN -p udp -m ipp2p --ipp2p -j MARK
2004 May 30
2
modified wondershaper script causes hardlock in server
Hi, I''ve modified my copy of the wondershaper script to add a few filters that allow traffic to and from a few specific ips go through with a speed of up to 100Mbits... I increased the root from 10 to 100mbit, and added this bit of code a bit further down the script; # Real time hosts for i in 62.101.244.63/32 216.74.158.11/32 216.74.158.3/32 216.74.158.57/32; do tc filter add dev