Displaying 20 results from an estimated 4000 matches similar to: "Bridge + leased line + tc"
2005 Jan 30
5
simple questions about imq
Hi!
I have read all informations i could find, but some things are still not
clear.
My setup is:
---INTERNET1(eth0)-\ /- Local net1 (eth2)
GW
---INTERNET2(eth1)-/ \- Local net2 (eth3)
I have NAT and a working setup using HTB,SFQ, classifying with the
iptables -j CLASSIFY way. I shape only the traffic coming from the
internet heading to the intranet.
I would like
2007 Feb 27
2
Creating a contended section of bandwidth with HTB and IMQ
Hi All,
I''m trying to create a contended section of bandwidth using IMQ. I have the
imq0 device up and running, with traffic passing through it.
Firstly, I need to throttle the entire device imq0 to 2mbit/s.
I would then like to add throttle rules for individual IP addresses, allowing
them to pass up to 512kbit/s each, as long as imq0 has not reached its
2mbit/s.
The configuration
2002 Nov 12
1
pb with imq
hi stef
oone more pb while shaping incoming traffic with imq .this one
tc qdisc add dev imq0 root handle 1: htb default 20
tc class add dev imq0 parent 1: classid 1:1 htb rate 2mbit burst 15k
tc class add dev imq0 parent 1:1 classid 1:10 htb rate 1mbit
tc class add dev imq0 parent 1:1 classid 1:20 htb rate 1mbit
tc qdisc add dev imq0 parent 1:10 handle 10: pfifo
tc qdisc add dev imq0 parent
2002 May 27
1
Complex samba setup, requesting advise
I have a rather unusual setup within which I'd like to run samba.
At this point I have:
a) 3 networks (all private IP's)
b) net1, net2 are interconnected by a router.
net1 has a host that also acts as a WINS server and is local master,
domain master, preferred master for it's group. (linux slack7.0, samba
2.0.5)
router between net1, net2 has an IP in each network and samba
2005 Mar 01
11
Simple question about zones (haven''t found in FAQ)
Hello everybody:
Here is my "network layout":
ISP1 ISP2
| |
| |
+-----eth0---------eth1------+
| |
| FC 3 box |
| |
+-----eth2---------eth3------+
|
2004 Apr 04
2
IMQ & NAT
Hi all, my IMQ device works OK (thanks to Andy Furniss), but now I''ve
problems to attach the traffic in the qdisc''s. This is my conf:
-----------------------------------------------------------------------
INET
|
|eth0 300Kbps
ROUTER (NAT)
|eth1
|
LAN
-----------------------------------------------------------------------
MAX=300
tc qdisc add dev imq0 root handle 1: htb
2002 Jul 12
1
IMQ crash dump
Hi
I try setup imq pseudo device for shaping
I''m work such script
#!/bin/sh
TC=/sbin/tc
/sbin/modprobe imq numdevs=1
/sbin/ip link set imq0 up
$TC qdisc add dev imq0 handle 1: root htb default 1
$TC class add dev imq0 parent 1: classid 1:1 htb rate 10mbit
# client1 tunnel tunnel
$TC class add dev imq0 parent 1: classid 1:2 htb rate 256kbit
$TC filter add dev imq0 protocol ip parent 1:0
2009 Jan 15
8
Pattern matching in case statement
Hi all,
I need my servers to decide which network they are in (i.e. dmz), and
the only clue is the servers IP-address. I was trying to accomplish it
like this, but it doesn''t work:
case $ipaddress {
"10.1.1.*": {
$network = "net1"
}
"10.2.2.*.*": {
$network = "net2"
}
"10.3.3.*": {
2004 Jun 28
1
IMQ htb question
Hello,
I''ve just recently started to use IMQ and I got puzzled after seeing the
imq usage example on the linuximq.net site:
It was something like this:
tc qdisc add dev imq0 handle 1: root htb default 1
tc class add dev imq0 parent 1: classid 1:1 htb rate 1mbit
tc qdisc add dev imq0 parent 1:1 handle 10: htb default 5
tc class add dev imq0 parent 10: classid 10:1 htb rate 256kbit
2012 Sep 10
2
Basic KVM networking question
A CentOS 6.3 box ("host") runs several KVM virtual machines, each of which
has two interfaces attached to the two bridges br1 and br2 (and each thus
has two IP's; one on 192.168.0.0/22 and one on 192.168.4.0/22);
net.ipv4.ip_forward on the host is 1. Simplified diagram:
host
+---------------+
|
2003 Apr 15
3
IMQ+HTB problem
Hi all and tc Gururs
i have patched the IMQ and htb to kernel, but when i do egress filtering,
iam not able to see any traffic
and excusted the following the commands
modprobe imq numdevs=1
tc qdisc add dev imq0 handle 1: root htb default 1
tc class add dev imq0 parent 1: classid 1:1 htb rate 100kbit
tc qdisc add dev imq0 parent 1:1 handle 10: htb default 1
tc class add dev imq0 parent
2004 Nov 19
2
HTB&IMQ
i''m trying to limit upload and download but something is wrong(it is about NAT)
i will post here my "script" maybe someone could tell me what is wrong
my kernel(2.6.9) is patch with imq(linuximq.net) and my iptables(1.2.11) also
#flush
tc qdisc del dev eth0 root
tc qdisc del dev eth1 root
tc qdisc del dev imq0 root
tc qdisc del dev imq1 root
ifconfig imq0 down
2007 Apr 26
1
HTB+SFQ
Hi folks,
I`ve a problem to use HTB and SFQ.
The first script, below, to show a simple configuration, does work
fine...!!!
But, in the second example, does not work, becouse i put more code to
clasify the traffic by protocol, http and ftp in this case.
Somebody can tell me the errors?
Thx, in advance.-
NOTICE: IMQ device is to asociate with ETH1 my external iface.
SCRIPT que funciona:
2005 Jan 31
3
why there is any traffic in default class?
I have:
tc qdisc add dev imq0 root handle 1: htb default 30
tc class add dev imq0 parent 1: classid 1:1 htb rate 512kbit ceil 512kbit
tc class add dev imq0 parent 1:1 classid 1:30 htb rate 64kbit ceil 512kbit
then:
iptables -t mangle -A PREROUTING -i ppp0 -s 192.168.2.2 -j IMQ --todev 0
tc class add dev imq0 parent 1:1 classid 1:22 htb rate 64kbit ceil 128kbit
tc filter add dev imq0 protocol
2014 Jul 24
2
Re: vhost-net requested but could not be initialized
The qemu that I am using isn't modified at all. It's the VHOST drivers
that are mounted elsewhere i.e., not on default /dev/vhost-net.
Here is the command that I use to launch my qemu VM:
qemu-system-x86_64 -cpu host -boot order=c -hda /root/Disks/ubuntu1.qcow2
-m 1024M -smp 2 --enable-kvm -name 'client 1' -nographic -vnc :2 -net none
-no-reboot -mem-path /dev/hugepages
2005 Oct 11
5
The effects of queueing on delay
I have a router with 3 network interfaces like in the following ASCII
diagram below. All interfaces are 100mbit. There is tcp traffic being
sent from net1 to net3 and from net2 to net3 and the tcp connections
consume as much bandwidth as possible. There is a pfifo queue on the
egress interface eth0 of the core router with a limit of 10 packets.
net1 --> (eth1) router (eth0) -> net3
2004 Apr 22
2
ingress policing based on source address?
Hi all
I''m new to this list, but not exactly to iproute stuff.
I''d like to solve a specific problem with bandwidth coming from
different external sources towards the internal network (also the other
way around, but I figure that''s not so much a problem, since that is
egress traffic shaping).
The network looks like this:
internet ------ ISP-------[shaping/router]
2004 Oct 28
12
HTB: Problem with excess bandwidth distribution
Hello,
I have a serious problem with HTB which I wasn''t able to solve myself.
I run a masquerading router with ppp0 as interface to the Internet.
Three clients need to share a downstream of 1 MBit, which I want
to divide with tc.
When I see a packet being forwarded to one of these clients, I give
it the appropriate unique mark:
iptables -t mangle -A FORWARD -d 192.168.34.141 -j MARK
2007 May 01
1
Re: LARTC Digest, Vol 26, Issue 25
Hey Andreas, how i catch this traffic using L7 filter?, i´ve installed l7
filter now, but i don´t kwnow to use the kind of filter...!!!
Can you help me?
Thx.-
Terraja-based
2007/4/29, lartc-request@mailman.ds9a.nl <lartc-request@mailman.ds9a.nl>:
>
> Send LARTC mailing list submissions to
> lartc@mailman.ds9a.nl
>
> To subscribe or unsubscribe via the World
2007 Jan 05
4
Load Balancing Problems
Hi,
I have a router that got its second link. I was trying to do load
balancing, but i can not get it to work properly.
Just one link works at time, and is always the second in the command ip
route add default table 222 proto static.
Am I missing something? My script is below. I am using Debian, tried
with kernel 2.6.19 (my compilation) or debian''s one (2.6.18-3-486),
same results