Date: Thu, 17 Jun 1999 16:18:39 +0100 From: Brian Somers <brian@Awfulhak.org> To: Khetan Gajjar <khetan@os.org.za> Cc: questions@freebsd.org Subject: Re: tun0 in promiscous mode ? Message-ID: <199906171518.QAA05020@keep.lan.Awfulhak.org> In-Reply-To: Your message of "Thu, 17 Jun 1999 01:45:16 %2B0200." <Pine.BSF.4.10.9906170142060.35942-100000@chain.freebsd.os.org.za>
next in thread | previous in thread | raw e-mail | index | archive | help
> Hi. > > I used tcpdump -i tun0 to set tun0 into promiscuous mode, > but it doesn't appear to have switched this bit off, > and I don't see anything in the ifconfig man pages on how > to set this. I've tried ifconfig tun0 down and then > ifconfig tun0 up, but this doesn't fix it. > > 37=[khetan] /$ ifconfig tun0 > + ifconfig tun0 > tun0: flags=8151<UP,POINTOPOINT,RUNNING,PROMISC,MULTICAST> mtu 1500 > inet xxx.xxx.xxx.xxx --> yyy.yyy.yyy.yyy netmask 0xffffff00 > > Does anyone know how to get tun0 to switch the promisc bit off ? The driver should probably turn it off when the device is closed... but bear in mind, promiscuous mode means nothing on a non-broadcast interface. > --- > Khetan Gajjar (!kg1779) * khetan@os.org.za > http://khetan.os.org.za/ * Talk/Finger khetan@khetan.os.org.za > FreeBSD enthusiast * http://www2.za.freebsd.org/ -- Brian <brian@Awfulhak.org> <brian@FreeBSD.org> <http://www.Awfulhak.org> <brian@OpenBSD.org> Don't _EVER_ lose your sense of humour ! <brian@FreeBSD.org.uk> 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?199906171518.QAA05020>