Date: Wed, 13 Jun 2001 19:43:56 +0300 From: Odhiambo Washington <wash@wananchi.com> To: Robin Woolard <RWoolard@NewWorldApps.com> Cc: FBSD-Q <freebsd-questions@FreeBSD.org> Subject: Re: dual port nic support? Message-ID: <20010613194356.A86864@everest.wananchi.com> In-Reply-To: <48F26311AF9C9943926CA0CD204BC2140C3FB9@nwa-srv-01.newworldapps.com>; from "Robin Woolard" on Wed, Jun 13, 2001 at 10:29:29AM -0400 References: <48F26311AF9C9943926CA0CD204BC2140C3FB9@nwa-srv-01.newworldapps.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
* Robin Woolard <RWoolard@NewWorldApps.com> [20010613 17:28]: writing on the subject 'dual port nic support?'
Robin> What options do I need to use to compile my kernel with dual port nic
Robin> support? I have an Intel ISP1100 server with a single onboard Intel Pro
Robin> +Server 10/100 Ethernet adapter. The nic is an 82559 and has two RJ-45
Robin> ports that both use the 82558 chip. The results of a "dmesg |grep fxp" are
Robin> as follows:
Haven't used such a card though......
Robin>
Robin> fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xef00-0xef3f mem
Robin> 0xff900000-0xff9fffff,0xffafe000-0xffafefff irq 5 at device 12.0 on pci0
Robin> fxp0: Ethernet address 00:d0:b7:56:0b:98
Robin> fxp1: <Intel Pro 10/100B/100+ Ethernet> port 0xee80-0xeebf mem
Robin> 0xff700000-0xff7fffff,0xffafd000-0xffafdfff irq 5 at device 13.0 on pci0
Robin> fxp1: Ethernet address 00:d0:b7:56:0b:99
This shows that both interfaces are CORRECTLY detected
Robin> fxp0: promiscuous mode enabled
Robin> fxp0: promiscuous mode disabled
I don't know why you're running on this mode....tcpdump???
Robin> So, basically, right now the two share an IRQ. I'm not exactly sure if they
Robin> should or not.
I don't see any conflicts, so I guess it is okay for PCI devices to share
IRQ, yes?
Robin> The first interface, fxp0, is fine. It works as it should. When I bring up
Robin> fxp1, however, I can only see broadcast traffic and nothing else even when
Robin> in promiscious mode. When compiling the kernel, should the copy of
Robin> /usr/src/sys/i386/conf/GENERIC file be configured like this?:
Robin>
Robin> device fxp0 at isa? port 0xef00-0xef3f irq 5
Robin> device fxp1 at isa? port 0xee80-0xeebf irq {insert unused irq
Robin> here}
I think you _only_ need a single line;
device fxp
Robin> Just in case you were wondering, my rc.conf file is configured like this:
Robin>
Robin> network_interfaces="fxp0 fxp1"
Robin> ifconfig_fxp0="inet 172.16.83.231 netmask 255.255.255.0"
I guess you should have;
network_interfaces="auto"
ifconfig_fxp0="inet w.x.y.z netmask 255.255.255.0"
ifconfig_fxp1="inet a.b.c.d netmask 255.255.255.0"
defaultrouter="212.22.163.1"
But since the cards are on the same -net, I guess there are some issues
about it....others may be able to tell you more ;)
-Wash
--
Odhiambo Washington
Wananchi Online Ltd.,
wash@wananchi.com 1st Flr Loita Hse.
Tel: 254 2 313985 Loita Street.,
Fax: 254 2 313922 PO Box 10286,00100-NAIROBI,KE.
Never take life seriously. Nobody gets out alive anyways.
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (FreeBSD)
Comment: For info see http://www.gnupg.org
iD8DBQE7J5hLn7LIsuxjem8RAh8AAJ9Mds8L9FhtWGe/x0GSK8+DrEGW8wCfdTn8
JA7tac2HjRIqPbGDkrIUotg=
=iqBi
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010613194356.A86864>
