From owner-freebsd-questions Sun Nov 25 16:20:19 2001 Delivered-To: freebsd-questions@freebsd.org Received: from dfw-smtpout1.email.verio.net (dfw-smtpout1.email.verio.net [129.250.36.41]) by hub.freebsd.org (Postfix) with ESMTP id 7DBF437B41A for ; Sun, 25 Nov 2001 16:20:03 -0800 (PST) Received: from [129.250.38.64] (helo=dfw-mmp4.email.verio.net) by dfw-smtpout1.email.verio.net with esmtp id 1689V6-0006hq-00; Mon, 26 Nov 2001 00:19:56 +0000 Received: from dsl-64-194-5-249.telocity.com ([64.194.5.249] helo=ns.net) by dfw-mmp4.email.verio.net with esmtp id 1689V5-0001km-00; Mon, 26 Nov 2001 00:19:55 +0000 Message-ID: <3C018C54.7C38C125@ns.net> Date: Sun, 25 Nov 2001 16:27:00 -0800 From: Joseph Maxwell X-Mailer: Mozilla 4.78 [en] (Windows NT 5.0; U) X-Accept-Language: en,pdf MIME-Version: 1.0 To: Ted Mittelstaedt Cc: questions@FreeBSD.ORG Subject: Re: Promiscuous mode? References: <001801c175d4$110150e0$1401a8c0@tedm.placo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Hello, My apologies for not including the dmesg file, was unconsciously trying to reduce bandwith presumably, anyway here it is along w/ output from some other files viz:- routing table from netstat -r, LAN Configuration from ifconfig. I was looking for conflicts earlier but could have missed something else ?? Hope you can see it from here, thanks -- Joe -- ----------------------------------------------------------------------------------------- From GENERIC kernel: device ed0 at isa? port 0x280 irq 10 iomem 0xd8000 From dmesg below: ed0 at port 0x280-0x29f iomem 0xd8000 irq 10 on isa0 ----------------------------------------------------------------------------------------- dmesg ==> Copyright (c) 1992-2000 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.2-RELEASE #0: Mon Nov 20 13:02:55 GMT 2000 jkh@bento.FreeBSD.org:/usr/src/sys/compile/GENERIC Timecounter "i8254" frequency 1193182 Hz CPU: i486 DX2 (486-class CPU) Origin = "GenuineIntel" Id = 0x435 Stepping = 5 Features=0x3 real memory = 20971520 (20480K bytes) config> di sn0 config> di lnc0 config> di ie0 config> di fe0 config> di cs0 config> q avail memory = 16314368 (15932K bytes) Preloaded elf kernel "kernel" at 0xc0436000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc043609c. md0: Malloc disk npx0: on motherboard npx0: INT 16 interface isa0: on motherboard fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0 ata1 at port 0x170-0x177,0x376 irq 15 on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16450 sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16450 ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 ed0 at port 0x280-0x29f iomem 0xd8000 irq 10 on isa0 ed0: address 00:40:05:a0:40:18, type NE2000 (16 bit) ad0: 2442MB [4962/16/63] at ata0-master BIOSPIO ad1: 521MB [1060/16/63] at ata0-slave BIOSPIO acd0: CDROM at ata1-master using BIOSPIO Mounting root from ufs:/dev/ad0s1a ed0: device timeout ed0: device timeout ed0: promiscuous mode enabled ed0: device timeout ed0: device timeout ed0: device timeout ed0: device timeout ed0: device timeout ed0: device timeout fd0: Seek to cyl 0, but not really there (ST3 = 20) ----------------------------------------------------------------------------------------- netstat -r ==> Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default gateway UGSc 0 0 ed0 localhost localhost UH 1 82 lo0 192.168.2 link#2 UC 0 0 ed0 => gateway link#2 UHLW 1 0 ed0 => Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UH lo0 fe80::%ed0 link#2 UC ed0 fe80::%lo0 fe80::1%lo0 Uc lo0 ff01:: ::1 U lo0 ff02::%ed0 link#2 UC ed0 ff02::%lo0 fe80::1%lo0 UC lo0 ----------------------------------------------------------------------------------------- ifconfig ==> lp0: flags=8810 mtu 1500 ed0: flags=8943 mtu 1500 inet 192.168.2.13 netmask 0xffffff00 broadcast 192.168.2.255 inet6 fe80::240:5ff:fea0:4018%ed0 prefixlen 64 scopeid 0x2 ether 00:40:05:a0:40:18 faith0: flags=8000 mtu 1500 gif0: flags=8010 mtu 1280 gif1: flags=8010 mtu 1280 gif2: flags=8010 mtu 1280 gif3: flags=8010 mtu 1280 lo0: flags=8049 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x8 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 ppp0: flags=8010 mtu 1500 sl0: flags=c010 mtu 552 ----------------------------------------------------------------------------------------- Ted Mittelstaedt wrote: > >-----Original Message----- > >From: owner-freebsd-questions@FreeBSD.ORG > >[mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Joseph Maxwell > >Sent: Sunday, November 25, 2001 9:12 AM > >To: questions@FreeBSD.ORG > >Subject: Promiscuous mode? > > > > > >Hello, > > > >Setting up a LAN behind a DSL Router on a 486 -DX2 Box: BSD 4.2 > >for network card > > > > dmesg ==> > > > > ed0: device timeout > > ed0: promiscuous mode enabled > > > >What is promiscuous mode ? > > > > This indicates the ability of the NIC to be set to receive all packets that > are on the LAN and is used for diagnostic applications like packet analyzers. > > > > >How does one figure out if a card is actually been seen by the > >machine. Pinging > >to hostname is useless as the packets do not go past "loopback" and needless > >to say the machine is invisible to the LAN. > > > > Most likely you have an interrupt set wrong. The NE2000 series (ed0 uses > that) > and the other cards like the SMC and 3com that are managed by that driver all > have a mechanism to set the interrupt to a specific IRQ. Sometimes that > interrupt > is set by jumpers, other times by a DOS program that you use to configure > NVRAM > on the card. Whatever it is, the IRQ set into the driver and the IRQ set into > the card must match. > > Generally it's most useful for you to include your ENTIRE dmesg when mailing > the list. > > Ted Mittelstaedt tedm@toybox.placo.com > Author of: The FreeBSD Corporate Networker's Guide > Book website: http://www.freebsd-corp-net-guide.com > > >lsdev does not help either. > > > >Thanks. > > > >-- Joe -- > > > > > >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