From owner-freebsd-questions Wed Jun 20 15:35:56 2001 Delivered-To: freebsd-questions@freebsd.org Received: from shumai.marcuscom.com (rdu26-228-058.nc.rr.com [66.26.228.58]) by hub.freebsd.org (Postfix) with ESMTP id E53D437B401 for ; Wed, 20 Jun 2001 15:35:51 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from localhost (marcus@localhost) by shumai.marcuscom.com (8.11.3/8.11.3) with ESMTP id f5KMZh578324; Wed, 20 Jun 2001 18:35:43 -0400 (EDT) (envelope-from marcus@marcuscom.com) X-Authentication-Warning: shumai.marcuscom.com: marcus owned process doing -bs Date: Wed, 20 Jun 2001 18:35:43 -0400 (EDT) From: Joe Clarke To: Robin Woolard Cc: "'freebsd-questions@freebsd.org'" Subject: Re: how to configure nic with promiscuous mode In-Reply-To: <48F26311AF9C9943926CA0CD204BC2140C3FE9@nwa-srv-01.newworldapps.com> Message-ID: <20010620183322.O10696-200000@shumai.marcuscom.com> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1042091490-993076543=:10696" 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 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --0-1042091490-993076543=:10696 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 > > --0-1042091490-993076543=:10696 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="ifconfig.c.patch" Content-Transfer-Encoding: BASE64 Content-ID: <20010620183543.K10696@shumai.marcuscom.com> Content-Description: Content-Disposition: attachment; filename="ifconfig.c.patch" LS0tIGlmY29uZmlnLmMub3JpZwlXZWQgSnVuIDIwIDE4OjM0OjA5IDIwMDEN CisrKyBpZmNvbmZpZy5jCVdlZCBKdW4gMjAgMTg6MzM6MDQgMjAwMQ0KQEAg LTE3OSw2ICsxNzksOCBAQA0KIH0gY21kc1tdID0gew0KIAl7ICJ1cCIsCQlJ RkZfVVAsCQlzZXRpZmZsYWdzIH0gLA0KIAl7ICJkb3duIiwJLUlGRl9VUCwJ c2V0aWZmbGFncyB9LA0KKwl7ICJwcm9taXNjIiwJSUZGX1BST01JU0MsCXNl dGlmZmxhZ3MgfSwNCisJeyAiLXByb21pc2MiLAktSUZGX1BST01JU0MsCXNl dGlmZmxhZ3MgfSwNCiAJeyAiYXJwIiwJLUlGRl9OT0FSUCwJc2V0aWZmbGFn cyB9LA0KIAl7ICItYXJwIiwJSUZGX05PQVJQLAlzZXRpZmZsYWdzIH0sDQog CXsgImRlYnVnIiwJSUZGX0RFQlVHLAlzZXRpZmZsYWdzIH0sDQo= --0-1042091490-993076543=:10696-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message