search for: upif

Displaying 3 results from an estimated 3 matches for "upif".

Did you mean: upi
2005 Jan 24
3
Htb, imq and sfq traffic shaping
...ter. Could you tell me what have I done wrong ? Thank you for replies. Ixen -------------- My configuration: Celeron 450MHz, 256MB RAM Kernel 2.6.9 patched for imq support (imq devices compiled into kernel) iptables 1.2.11 (also patched for imq) Script: #!/bin/sh DOWNIF=''imq0'' UPIF=''imq1'' rc_done=" done" rc_failed=" failed" TC=''/sbin/tc'' IPTABLES=''/usr/sbin/iptables'' IFCONFIG=''/sbin/ifconfig'' MODPROBE=''/sbin/modprobe'' return=$rc_done tc_reset () { # remove ol...
2010 Feb 04
3
[PATCH] Make configure_from_network function check if network is up, before touching it
...rint $4 ; exit }') diff --git a/scripts/ovirt-functions b/scripts/ovirt-functions index fc43343..2801bd8 100644 --- a/scripts/ovirt-functions +++ b/scripts/ovirt-functions @@ -709,6 +709,13 @@ is_valid_ipv4 () { return $result } +# Check if networking is already up +network_up () { + UPIFS=$(/sbin/ip -o link show up | awk -F ": " '{ print $2 }' | grep -v lo | wc -l) + test -n "${UPIFS}" -a "${UPIFS}" -gt "0" + return $? +} + # execute a function if called as a script, e.g. # ovirt-functions ovirt_store_config /etc/hosts --...
2005 May 12
9
IPTables script
Hi All, I''ve been playing with QOS for a short while now and have worked out how to do what I want using HTB. Great queuing discipline btw. My problem is the tc filters I want to setup aren''t working because iptables is getting to the packets first and mangling the src address. The iptables script I am using is MonMotha''s Firewall 2.3.8 and it includes lots of nice