Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Mar 2003 20:23:36 +1000 (EST)
From:      Steve Baxter <steve@pipenetworks.com>
To:        freebsd-net@freebsd.org
Cc:        Chris Foote <chris@foote.com.au>
Subject:   is there a better way to bridge ethernet over IP (some performance stats included)
Message-ID:  <Pine.LNX.4.44.0302241420360.6584-100000@internal.pipenetworks.com>

next in thread | raw e-mail | index | archive | help

Hello,

Currently I am using FreeBSD 4.7STABLE on a Sokris net4521. The SOEKRIS has an 
equivilent 486-133 chip in it so it is not especially speedy.

I am using vtund and netgraph to bridge over IP in the following configuration :


     LAN        The bridging works well, it will bridge 10Mb/sec one direction
      |         which is a series of wgets of a large gzipped file.
      |tap
 +----------+   I thought it was suffering some or all of :
 | SOEKRIS  |
 +----------+   o  packets over 1500 bytes need to get fragmented adding to CPU
     |             load
     |IP        o  vtund is a user space app
     |          o  netgraph *may* also be user space
 +----------+   o  tap device processing overhead maybe
 | SOEKRIS  |
 +----------+   I have reduced the MTU in order to make the MTU issue go away, 
     |tap       as a result little or no fragments were sent but this had no 
     |          effect on the CPU untilisation of the SOEKRIS box.
     |          This also had no positive effect on the throughput :-(
    LAN         
                I went from netgraph to sysctl bridging and this had little of
                no effect as well.

I am looking for a way to bridge ether over IP that does not require a user 
process to do it, maybe an all netgraph method of of encapsulating ethernet 
frames into udp and then striping them out at the other end ?

I have looked at the netgraph examples and am essentially using the ethernet 
example for my netgraph bridging, it is just that I am using vtund to do the 
encapsulation of packets.

Does any body have any ideas on how to directly encapsulate ethernet frames onto 
udp without vtund or similar user process ?

Cheers,

SB



-- 
Stephen Baxter
Director - PIPE Networks
phone : 07 3220 1100/ 0417 818 695
fax   : 07 3220 1800








______________________________________
PIPE Networks/IX Services Australia disclaimer 

The above email should be read in conjunction with our standard
disclaimer/terms which can be found at :

http://www.pipenetworks.com/docs/disclaimer.htm

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.44.0302241420360.6584-100000>