From owner-freebsd-questions Fri Mar 19 4: 7:24 1999 Delivered-To: freebsd-questions@freebsd.org Received: from Ngate.in.tatainfotech.com (unknown [202.54.102.148]) by hub.freebsd.org (Postfix) with ESMTP id B032C14E78 for ; Fri, 19 Mar 1999 04:06:56 -0800 (PST) (envelope-from hardeep.parmar@tatainfotech.com) Received: from nepzmail.in.tatainfotech.com ([163.122.23.5]) by Ngate.in.tatainfotech.com (8.8.7/8.8.7) with SMTP id MAA03359; Fri, 19 Mar 1999 12:41:23 -0500 Received: from sybco046 by nepzmail.in.tatainfotech.com (8.6.10/SMI-4.1) id RAA23331; Fri, 19 Mar 1999 17:09:28 GMT Received: by sybco046 with Microsoft Mail id <01BE722B.39BFBDA0@sybco046>; Fri, 19 Mar 1999 17:09:19 +0530 Message-ID: <01BE722B.39BFBDA0@sybco046> From: Hardeep Parmar To: "questions@FreeBSD.ORG" , "'Leonard C.'" Subject: RE: BPF not working? Date: Fri, 19 Mar 1999 17:09:18 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Pls check wether the command tcpdump shows card in promiscious mode. If it does show itself,then check if you are hooked on to switched = network.Switch allows only the packet destined for your box to reach you = along with broadcast packets. I am reasonnably convinced that it is = 'The' problem with your box. Let me know if it is the same problem. Bye ---------- From: Leonard C. Sent: Friday, March 19, 1999 4:53 PM To: questions@FreeBSD.ORG Subject: BPF not working? I'm trying to get trafshow and tcpdump working on my system, but I'm finding that all the traffic that I can view is data going to and from = my box along with stuff to the broadcast address. Any ideas why this is happening? I've compiled BPF support into the kernel and the devices = are there, and both trafshow and tcpdump both run fine, so I'm a bit puzzled = as to why the thing isn't working. The funny thing is that I see a lot of packets showing up as input errors, which I think might have something = to do with it. The machine runs NATd with ipfw in open mode, and has two ethernet = cards. ed1 is the external network, and ed0 is the internal. Thanks in advance, Leonard ___________________________________ bash-2.02$ netstat -i Name Mtu Network Address Ipkts Ierrs Opkts Oerrs = Coll ed0 1500 00.80.c8.0a.2f.c3 12886876 16639 12438084 2 = 11875 ed0 1500 10 sandbox 12886876 16639 12438084 2 = 11875 ed1 1500 00.80.ad.73.eb.fe 1114866805 825543847 16066312 816 12 63938 ed1 1500 xx.xx.xx/24 icarus 1114866805 825543847 16066312 = 816 12 63938 ed1 1500 atalk:4183 4183.139 1114866805 825543847 16066312 816 12 63938 tun0* 1500 0 0 0 0 = 0 sl0* 552 0 0 0 0 = 0 ppp0* 1500 0 0 0 0 = 0 lo0 16384 87060 0 87060 0 = 0 lo0 16384 your-net localhost 87060 0 87060 0 = 0 lo0 16384 atalk:0 0.0 87060 0 87060 0 = 0 bash-2.02$ uname -a FreeBSD icarus.reshall.berkeley.edu 2.2.7-RELEASE FreeBSD 2.2.7-RELEASE = #0: Fri Sep 11 00:44:21 PDT 1998 root@foobar.com:/usr/src/sys/compi le/SMALLFASTBPFKERNEL i386 --=20 Support the Blue Ribbon Campaign for free speech online http://www.eff.org/blueribbon.html "Those who will not reason perish in the act.=20 Those who will not act, perish for that reason." - W. H. Auden=20 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message