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

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. I'm using

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

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 Cerri,

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

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

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 updated on

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

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

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 0xc27c8000

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=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500 (etc) though it looks like 'cloned_interfaces=bridge0' is supposed to do that. cheers, Ian sorry, cut and paste

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 says not.

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

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=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500 (etc) though it looks like 'cloned_interfaces=bridge0' is