Re: Simulating multiple physical machines using Netgraph?

2005-04-22 Thread Ragnar Lonn
Ragnar Lönn wrote: [EMAIL PROTECTED]@PC ---++--- port 1 --- Access unit port 1 [EMAIL PROTECTED]@PC ---+---VLAN SWITCH +--- port 2 --- Access unit port 2 [EMAIL PROTECTED]@PC ---++--- port 3 --- Access unit port 3 That came out a b

Virtual network stacks in FreeBSD?

2005-04-29 Thread Ragnar Lonn
Hello all, Does anyone know if virtual network stack support (as implemented at http://www.tel.fer.hr/zec/vimage/) is on the roadmap for future FreeBSD releases? Regards, /Ragnar ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman

Re: Virtual network stacks in FreeBSD?

2005-05-04 Thread Ragnar Lonn
Julian Elischer wrote: Ragnar Lonn wrote: Hello all, Does anyone know if virtual network stack support (as implemented at http://www.tel.fer.hr/zec/vimage/) is on the roadmap for future FreeBSD releases? that depends on who you are talking to :-) the problems are not with the concept of virtual

Realtek re(4) driver for FreeBSD 4.x?

2005-05-20 Thread Ragnar Lonn
Hi, I have a couple of D-link gigabit-ethernet cards that I'd like to run on FreeBSD 4.11 but it seems the driver only exists for FreeBSD 5.x. I saw that a certain Barry Bouwsma (who happens to be an old acquaintance of mine), had made an attempt at porting the re(4) driver to FreeBSD 4 but I do

Re: Realtek re(4) driver for FreeBSD 4.x?

2005-05-25 Thread Ragnar Lonn
.aspx?series=16&Software=True Regards, John Mok Ragnar Lonn wrote: Hi, I have a couple of D-link gigabit-ethernet cards that I'd like to run on FreeBSD 4.11 but it seems the driver only exists for FreeBSD 5.x. I saw that a certain Barry Bouwsma (who happens to be an old acquai

IPC between vimage instances?

2005-06-10 Thread Ragnar Lonn
Hello, I've been using vimage on FreeBSD 4.11 along with Netgraph to setup a system that simulates many physical client machines for the purpose of testing broadband Internet access hardware. I have hundreds of vimages, each with its own ngeth0 network interface connected via Netgraph to a real

Re: IPC between vimage instances?

2005-06-13 Thread Ragnar Lonn
Julian Elischer wrote: Ragnar Lonn wrote: Hello, I've been using vimage on FreeBSD 4.11 along with Netgraph to setup a system that simulates many physical client machines for the purpose of testing broadband Internet access hardware. I have hundreds of vimages, each with its own n

Re: IPC between vimage instances?

2005-06-16 Thread Ragnar Lonn
Julian Elischer wrote: Being able to remove interfaces would be really great. Then I could create extra logging interfaces in each vimage and not worry about the cleanup nightmare afterwards. Right now, I have a lot of script code just to find and reuse old ngeth interfaces sitting around in the

PPPoE on virtual interfaces inside vimages?

2005-06-16 Thread Ragnar Lonn
Yet another complex question regarding vimage/netgraph :-) I'm trying to use the ppp program to do PPPoE on an ngeth interface without much luck. I'm using the following Netgraph tree setup: upper---link0 [fxp0] [ng_bridge] link2---ds [ng_vlan] vlan101--- ether [EMAIL PROTECTED]

Re: EM(4), vlans & dhclient

2005-07-08 Thread Ragnar Lonn
Lee S Clark wrote: - dhclient's interactions with either em(4) or some part of vlan(4) is flakey at best. occasionally all 3 vlan interfaces will obtain an IP, in other instances there is no traffic placed on the wire at all. typically one vlan int will get an IP the other two will not. i

Re: kern/83011: nge vlans broken

2005-07-14 Thread Ragnar Lonn
This is in 5.x, right? I can't find this code in 4.11 at least. Does that mean that ngeth VLAN support is broken in 5.x (without the patch)? Regards, /Ragnar Yuriy N. Shkandybin wrote: I've invistigated that m_head mbuf doesn't have M_VLANTAG when performing VLAN_OUTPUT() next diff for /u

Re: "ifconfig -vlandev" syntax

2005-09-29 Thread Ragnar Lonn
Yar Tikhiy wrote: On Sun, Sep 25, 2005 at 02:37:41PM -0700, Brooks Davis wrote: On Thu, Sep 22, 2005 at 02:41:05PM +0400, Yar Tikhiy wrote: As our ifconfig(8) is growing more options for special interface types, inconsistencies sneak into their syntax. In particular, -vlandev takes a

Re: ng_tee, right2left, et al

2005-10-04 Thread Ragnar Lonn
Ceri Davies wrote: I only call it "wrong" as it didn't agree with Archie's article or my expectations, hence the quotes - I realise that it's subjective. It just seems to me that packets leaving left2right would go to right, as the name implies. I don't really mind either way, it's simply that

Re: ng_tee, right2left, et al

2005-10-05 Thread Ragnar Lonn
John-Mark Gurney wrote: Ragnar Lonn wrote this message on Tue, Oct 04, 2005 at 18:58 +0200: Ceri Davies wrote: I only call it "wrong" as it didn't agree with Archie's article or my expectations, hence the quotes - I realise that it's subjective. It just

ngctl: send msg: No buffer space available

2005-10-18 Thread Ragnar Lonn
Hi all, I've run into the above problem with Netgraph on a FreeBSD 4.11 system. I know there are sysctl's (net.graph.recvspace and net.graph.maxdgram) you can set in 5.x but how can I get around this problem on a 4.x machine where these sysctl variables dont exist? Regards, /Ragnar _

Re: ngctl: send msg: No buffer space available

2005-10-18 Thread Ragnar Lonn
Ruslan Ermilov wrote: On Tue, Oct 18, 2005 at 10:52:49AM +0200, Ragnar Lonn wrote: Hi all, I've run into the above problem with Netgraph on a FreeBSD 4.11 system. I know there are sysctl's (net.graph.recvspace and net.graph.maxdgram) you can set in 5.x but how can I get a

Re: vlan patch

2005-10-20 Thread Ragnar Lonn
Gleb Smirnoff wrote: Although the memory overhead is not noticable on modern i386 and amd64 PCs I don't think that we should waste so much memory. We should keep in mind the existence of embedded architectures with little memory. In most cases people use 10 - 30 VLANs. I suggest to use a hash,

System-induced packetloss on FreeBSD 4.11?

2005-11-21 Thread Ragnar Lonn
Hi all, Running FreeBSD 4.11, we have noticed that some operations done on one physical network interface seems to cause packet drops on other interfaces on the system. For example, starting a dhclient process on interface em0 will cause a few packets to get dropped on the active interface e

Re: TCP Performance advice needed [long!]

2006-02-14 Thread Ragnar Lonn
I don't know what tcp.inflight does but I know that this type of application protocol, that expects a reply before sending the next piece of data, will always be completely dependent upon roundtrip times for its throughput - the roundtrip time for the exchange "transmit-reply" will limit the possi

Re: TCP Performance advice needed [long!]

2006-02-15 Thread Ragnar Lonn
Ivan Voras wrote: I understand this bottleneck, and know (at least in theory :) ) how it could be solved, but my problems are not directly related to that: - For small (but consistent in size) packet sizes, I get randomly varying round-trip times, and much lower packets-per-second ratio then

Re: multiple routing tables

2006-03-21 Thread Ragnar Lonn
Julian Elischer wrote: I'm looking at a problem where I want onemachine to really look like 2. this means I want to have 2 separate routing tables if possible. I know I could do it with eas if I could user Marco Zec's vimage patches but I need to have a path forward to 6.x and beyond An answer

Re: multiple routing tables

2006-03-21 Thread Ragnar Lonn
Andre Oppermann wrote: Why do you need two routing tables? Do you run different routing daemons in the jails? Do you have different default gateways for the jails? Just trying to understand your requirements and usage of this feature. Well, I can tell you about our requirements, if you'r