From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,8319b1346c9323d X-Google-Attributes: gid1164f8,public X-Google-Thread: 14754d,8319b1346c9323d X-Google-Attributes: gid14754d,public X-Google-Thread: f9325,8319b1346c9323d X-Google-Attributes: gidf9325,public X-Google-ArrivalTime: 1994-09-02 19:03:07 PST Path: bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!godot.cc.duq.edu!newsfeed.pitt.edu!gatech!nntp.msstate.edu!olivea!decwrl!pa.dec.com!mogul From: mogul@pa.dec.com (Jeffrey Mogul) Newsgroups: comp.sys.dec,comp.unix.osf.osf,comp.protocols.tcp-ip Subject: Re: Direct access to ethernet Date: 3 Sep 1994 00:15:34 GMT Organization: DEC Western Research Distribution: world Message-ID: <348f76$psd@usenet.pa.dec.com> References: <347v1m$h4n@geraldo.cc.utexas.edu> NNTP-Posting-Host: gnomea.pa.dec.com Xref: bga.com comp.sys.dec:5630 comp.protocols.tcp-ip:5546 In article <347v1m$h4n@geraldo.cc.utexas.edu> rick@akbar.cc.utexas.edu (Rick Watson) writes: >I have an application where I essentially need to tunnel IP >packets between numerous clients connected over proprietary >serial links and an ethernet. >I had originally planed on using an HP [...] >Unfortunately, I found that the LLA ethernet interface does not allow >me to use the IP and ARP ethertypes, even though I'm not configuring >the system's IP on those interfaces. > >My next hardware choice is a DEC Alpha running OSF. My question >is what software interface to the ethernet should I use: >packet-filter, Streams or DLPI(/Streams?)? It is acceptable to >use a 2nd ethernet for my tunnel interface. As one of the authors of the packet filter interface, I know what I would suggest. Seriously, if you use it correctly (and I don't have a lot of time now to explain what that means) you should be able to see every packet ... run "tcpdump not ip" to see what I mean. You should not have to use a second ethernet interface. The packet filter is a "character special device" and probably much faster than Streams or DLPI or any socket-based interface. See the paper by McCanne and Jacobson in a recent USENIX proceedings. Look at the tcpdump sources on ftp.ee.lbl.gov for examples of how to do things. -Jeff