Re: Pipe queues

2007-12-11 Thread rihad
Peter Jeremy wrote: On Tue, Dec 11, 2007 at 09:21:17AM +0400, rihad wrote: And if I _only_ want to shape IP traffic to given speed, without prioritizing anything, do I still need queues? This was the whole point. No you don't. I'm using pipes without queues extensively to simulate WANs withou

Re: Pipe queues

2007-12-11 Thread Julian Elischer
rihad wrote: Peter Jeremy wrote: On Tue, Dec 11, 2007 at 09:21:17AM +0400, rihad wrote: And if I _only_ want to shape IP traffic to given speed, without prioritizing anything, do I still need queues? This was the whole point. No you don't. I'm using pipes without queues extensively to simula

arp rewrite...

2007-12-11 Thread Julian Elischer
I believe Qing-li (Sp?) did an arp rewrite.. having just been in the routing code, I suddenly see why it's needed :-) anyone played with it? ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe

Re: arp rewrite...

2007-12-11 Thread Luigi Rizzo
On Tue, Dec 11, 2007 at 12:37:25AM -0800, Julian Elischer wrote: > I believe Qing-li (Sp?) did an arp rewrite.. the story is a bit longer - Andre drafted the initial design, which i subsequently took over and with a student, Alessandro Cerri, (I am Cc-ing him) did a first implementation. This was

Re: Pipe queues

2007-12-11 Thread Peter Jeremy
On Tue, Dec 11, 2007 at 12:31:00PM +0400, rihad wrote: >Peter Jeremy wrote: >> On Tue, Dec 11, 2007 at 09:21:17AM +0400, rihad wrote: >>> And if I _only_ want to shape IP traffic to given speed, without >>> prioritizing anything, do I still need queues? This was the whole point. >> No you don't.

Re: Pipe queues

2007-12-11 Thread rihad
Peter Jeremy wrote: On Tue, Dec 11, 2007 at 12:31:00PM +0400, rihad wrote: Peter Jeremy wrote: On Tue, Dec 11, 2007 at 09:21:17AM +0400, rihad wrote: And if I _only_ want to shape IP traffic to given speed, without prioritizing anything, do I still need queues? This was the whole point. No yo

Re: Pipe queues

2007-12-11 Thread Peter Jeremy
On Tue, Dec 11, 2007 at 09:21:17AM +0400, rihad wrote: >And if I _only_ want to shape IP traffic to given speed, without >prioritizing anything, do I still need queues? This was the whole point. No you don't. I'm using pipes without queues extensively to simulate WANs without bothering with any

pipe buckets/hash_size

2007-12-11 Thread rihad
Hi, In FreeBSD 7.0 the defaults are: net.inet.ip.dummynet.hash_size: Default hash table size net.inet.ip.dummynet.hash_size: 64 net.inet.ip.dummynet.max_chain_len: Max ratio between dynamic queues and buckets net.inet.ip.dummynet.max_chain_len: 16 From man ipfw: "Target value for the maximum

Re: arp rewrite...

2007-12-11 Thread George V. Neville-Neil
At Tue, 11 Dec 2007 00:48:53 -0800, luigi wrote: > > On Tue, Dec 11, 2007 at 12:37:25AM -0800, Julian Elischer wrote: > > I believe Qing-li (Sp?) did an arp rewrite.. > > the story is a bit longer - Andre drafted the initial design, > which i subsequently took over and with a student, Alessandro

Re: arp rewrite...

2007-12-11 Thread Julian Elischer
Li, Qing wrote: Last time when I sent an email to net@ for comments, I received only limited feedback. The New ARP code in my home directory on FreeFall and was lasted updated on June-8-2007. It was based on then CURRENT (7.0) and was tested to be working fine at that tim

RE: arp rewrite...

2007-12-11 Thread Li, Qing
Last time when I sent an email to net@ for comments, I received only limited feedback. The New ARP code in my home directory on FreeFall and was lasted updated on June-8-2007. It was based on then CURRENT (7.0) and was tested to be working fine at

Re: arp rewrite...

2007-12-11 Thread Julian Elischer
Julian Elischer wrote: Li, Qing wrote: Last time when I sent an email to net@ for comments, I received only limited feedback. The New ARP code in my home directory on FreeFall and was lasted updated on June-8-2007. It was based on then CURRENT (7.0) and was tested to be wor

Re: arp rewrite...

2007-12-11 Thread Gergely CZUCZY
On Tue, Dec 11, 2007 at 10:30:06AM -0800, Julian Elischer wrote: > Julian Elischer wrote: > >Li, Qing wrote: > >>Last time when I sent an email to net@ for comments, I > >>received only limited feedback. > >>The New ARP code in my home directory on FreeFall and was lasted > >> upda

Re: Pipe queues

2007-12-11 Thread Chuck Swiger
On Dec 10, 2007, at 11:35 PM, rihad wrote: Pipes and queues are two different things; a pipe simulates a network link, and a queue is used to hold packets which are backlogged because they are arriving faster than the outbound link (ie, a pipe) can transmit them. So you mean queues are only

Re: arp rewrite...

2007-12-11 Thread Julian Elischer
Gergely CZUCZY wrote: On Tue, Dec 11, 2007 at 10:30:06AM -0800, Julian Elischer wrote: Julian Elischer wrote: Li, Qing wrote: Last time when I sent an email to net@ for comments, I received only limited feedback. The New ARP code in my home directory on FreeFall and was lasted upd

RE: arp rewrite...

2007-12-11 Thread Li, Qing
> -Original Message- > From: Julian Elischer [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 11, 2007 10:30 AM > To: Li, Qing > Cc: Luigi Rizzo; FreeBSD Net; [EMAIL PROTECTED] > Subject: Re: arp rewrite... > > Julian Elischer wrote: > > Li, Qing wrote: > >> Last time when I sent

Re: arp rewrite...

2007-12-11 Thread Julian Elischer
Li, Qing wrote: -Original Message- From: Julian Elischer [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 11, 2007 10:30 AM To: Li, Qing Cc: Luigi Rizzo; FreeBSD Net; [EMAIL PROTECTED] Subject: Re: arp rewrite... Julian Elischer wrote: Li, Qing wrote: Last time when I sent an em

ifconfig: BRDGADD vr1: Invalid argument

2007-12-11 Thread Randy Bush
the symptom # ifconfig bridge0 192.168.0.1 addm vr1 addm vr2 addm vr3 addm ath0 up ifconfig: BRDGADD vr1: Invalid argument the conditions # kldstat Id Refs AddressSize Name 13 0xc040 39ad48 kernel 21 0xc27c8000 8000 if_bridge.ko 31 0xc27d 5000 bridgestp.

Re: ifconfig: BRDGADD vr1: Invalid argument

2007-12-11 Thread Ian Smith
On Wed, 12 Dec 2007, Randy Bush wrote: > the symptom > > # ifconfig bridge0 192.168.0.1 addm vr1 addm vr2 addm vr3 addm ath0 up > ifconfig: BRDGADD vr1: Invalid argument > > the conditions > > # kldstat > Id Refs AddressSize Name > 13 0xc040 39ad48 kernel > 21 0

Re: ifconfig: BRDGADD vr1: Invalid argument

2007-12-11 Thread Randy Bush
> did you start off with? > > # ifconfig bridge create > > when your ifconfig -a should then also show: > > bridge0: flags=8802 metric 0 mtu 1500 > (etc) > > though it looks like 'cloned_interfaces=bridge0' is supposed to do that. > > cheers, Ian sorry, cut and paste error with screen.

Re: ifconfig: BRDGADD vr1: Invalid argument

2007-12-11 Thread Ian Smith
On Wed, 12 Dec 2007, Randy Bush wrote: > > Ah. Well the only other thing i noticed (after posting) was that each > > of vr1 to vr3 showed as UP, but: > >> media: Ethernet autoselect (none) > >> status: no carrier > > but I don't know whether that should matter? > > man page

Re: ifconfig: BRDGADD vr1: Invalid argument

2007-12-11 Thread Randy Bush
> Ah. Well the only other thing i noticed (after posting) was that each > of vr1 to vr3 showed as UP, but: >> media: Ethernet autoselect (none) >> status: no carrier > but I don't know whether that should matter? man page says not. and if i put ath0 first, which has carrier/assoc

Re: ifconfig: BRDGADD vr1: Invalid argument

2007-12-11 Thread Ian Smith
On Wed, 12 Dec 2007, Randy Bush wrote: > > did you start off with? > > > > # ifconfig bridge create > > > > when your ifconfig -a should then also show: > > > > bridge0: flags=8802 metric 0 mtu 1500 > > (etc) > > > > though it looks like 'cloned_interfaces=bridge0' is supposed to