Date: Sun, 25 Nov 2001 16:27:00 -0800 From: Joseph Maxwell <jaymax@ns.net> To: Ted Mittelstaedt <tedm@toybox.placo.com> Cc: questions@FreeBSD.ORG Subject: Re: Promiscuous mode? Message-ID: <3C018C54.7C38C125@ns.net> References: <001801c175d4$110150e0$1401a8c0@tedm.placo.com>
index | next in thread | previous in thread | raw e-mail
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<FPU,VME>
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: <math processor> on motherboard
npx0: INT 16 interface
isa0: <ISA bus> on motherboard
fdc0: <NEC 765 or clone> 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: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> 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: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> 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 <Maxtor 82560A4> [4962/16/63] at ata0-master BIOSPIO
ad1: 521MB <Maxtor 7546 AT> [1060/16/63] at ata0-slave BIOSPIO
acd0: CDROM <CD-ROM Drive/G6D> 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<drdy>)
-----------------------------------------------------------------------------------------
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<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
ed0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> 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<MULTICAST> mtu 1500
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif1: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif2: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif3: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x8
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> 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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C018C54.7C38C125>
