Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jun 2001 10:29:29 -0400
From:      Robin Woolard <RWoolard@NewWorldApps.com>
To:        "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org>
Subject:   dual port nic support?
Message-ID:  <48F26311AF9C9943926CA0CD204BC2140C3FB9@nwa-srv-01.newworldapps.com>

next in thread | raw e-mail | index | archive | help
What options do I need to use to compile my kernel with dual port nic
support?  I have an Intel ISP1100 server with a single onboard Intel Pro
+Server 10/100 Ethernet adapter.  The nic is an 82559 and has two RJ-45
ports that both use the 82558 chip.  The results of a "dmesg |grep fxp" are
as follows:

fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xef00-0xef3f mem
0xff900000-0xff9fffff,0xffafe000-0xffafefff irq 5 at device 12.0 on pci0
fxp0: Ethernet address 00:d0:b7:56:0b:98
fxp1: <Intel Pro 10/100B/100+ Ethernet> port 0xee80-0xeebf mem
0xff700000-0xff7fffff,0xffafd000-0xffafdfff irq 5 at device 13.0 on pci0
fxp1: Ethernet address 00:d0:b7:56:0b:99
fxp0: promiscuous mode enabled
fxp0: promiscuous mode disabled

So, basically, right now the two share an IRQ.  I'm not exactly sure if they
should or not.  
The first interface, fxp0, is fine.  It works as it should.  When I bring up
fxp1, however, I can only see broadcast traffic and nothing else even when
in promiscious mode.  When compiling the kernel, should the copy of
/usr/src/sys/i386/conf/GENERIC file be configured like this?:

device         fxp0    at isa? port 0xef00-0xef3f irq 5
device         fxp1    at isa? port 0xee80-0xeebf irq {insert unused irq
here}

Just in case you were wondering, my rc.conf file is configured like this:

network_interfaces="fxp0 fxp1"
ifconfig_fxp0="inet 172.16.83.231 netmask 255.255.255.0"

Thanks,
R Woolard
rwoolard@newworldapps.com

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?48F26311AF9C9943926CA0CD204BC2140C3FB9>