From owner-freebsd-questions Wed Jun 20 15:51:18 2001 Delivered-To: freebsd-questions@freebsd.org Received: from nwa-srv-01.newworldapps.com (nwa-srv-01.newworldapps.com [66.22.66.46]) by hub.freebsd.org (Postfix) with ESMTP id B3A0237B401 for ; Wed, 20 Jun 2001 15:51:15 -0700 (PDT) (envelope-from RWoolard@NewWorldApps.com) Received: by nwa-srv-01.newworldapps.com with Internet Mail Service (5.5.2650.21) id ; Wed, 20 Jun 2001 18:51:15 -0400 Message-ID: <48F26311AF9C9943926CA0CD204BC2140C3FEA@nwa-srv-01.newworldapps.com> From: Robin Woolard To: 'Joe Clarke' Cc: "'freebsd-questions@freebsd.org'" Subject: RE: how to configure nic with promiscuous mode Date: Wed, 20 Jun 2001 18:51:12 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Basically, I want to run a sniffer on the nic but if the sniffer doesn't put the card in promisc... that is why I was looking for the feature. Thanks, R. Woolard -----Original Message----- From: Joe Clarke [mailto:marcus@marcuscom.com] Sent: Wednesday, June 20, 2001 6:36 PM To: Robin Woolard Cc: 'freebsd-questions@freebsd.org' Subject: Re: how to configure nic with promiscuous mode I'm not really sure why you'd want to do this. However, here is a QAD hack I did for 4.3's ifconfig that will give you this functionality. Use promisc to turn it on, and -promisc to turn it off. Joe Clarke On Wed, 20 Jun 2001, Robin Woolard wrote: > I am trying to set my nic to promiscuous mode at start up but can't seem to > figure out how to do this. On Sun Solaris and Linux, I can manually set the > card to promiscuous mode by running "ifconfig [interface] promisc". This > doesn't seem to work on FreeBSD. > > When I want to start a nic in promiscuous mode at boot time, I can put a > similar line in the rc files on Sun/Linux but since the "promisc" argument > doesn't work with ifconfig on FreeBSD, I'm at a loss as to what to do here > also. Any help would be appreciated! > > Thank you, > R. Woolard > > 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