>    I have a HPUX 11.0 64bit machine with 5 dlpi's in dev directory from
> dlpi0 to dlpi5. Iam sure there are two network cards on that machine one
> fddi and one ethernet. but tcpdump complains "cant find PPA for dlpi?" for
> four of them. what can be possible reason? How can I determine dlpi of a
> network card?

Do not confuse the files /dev/dlpi0 through /dev/dlpi4 with your
NICs. The device files /dev/dlpi0 through /dev/dlpi4 are (iirc) the
non-cloning DLPI device files - anyonewho opens them shares the device
with any other opens.

What libpcap does is open /dev/dlpi, and then attach to the desired
PPA. With older libpcaps, you would say /dev/dlpiN where N was either
the NMID (10.20) or PPA/Card Instance (11.X) displayed by lanscan. The
appending of the PPA to the /dev/dlpi was simply a convenience for
passing the info along without need of a new option. It is only
conicidence that the first five interfaces you might want to use would
have you say /dev/dlpi0 through /dev/dlpi4.

If you use a "contemporary" libpcap (from the dailies for instance)
you can instead just use the "ifconfig" name (eg lan0, lan1, etc)
thanks to some work done by Guy.


rick jones
btw, is there a tcpdump-users?


-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe

Reply via email to