Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jun 2001 18:35:43 -0400 (EDT)
From:      Joe Clarke <marcus@marcuscom.com>
To:        Robin Woolard <RWoolard@NewWorldApps.com>
Cc:        "'freebsd-questions@freebsd.org'" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: how to configure nic with promiscuous mode
Message-ID:  <20010620183322.O10696-200000@shumai.marcuscom.com>
In-Reply-To: <48F26311AF9C9943926CA0CD204BC2140C3FE9@nwa-srv-01.newworldapps.com>

next in thread | previous in thread | raw e-mail | index | archive | help
  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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010620183322.O10696-200000>