Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Aug 1999 09:54:01 -0400 (EDT)
From:      John <jpapalia@voicenet.com>
To:        David O'Brien <obrien@FreeBSD.ORG>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: IP's, NIC's, and masquerading in 3.2-Stable
Message-ID:  <Pine.SOL.4.04.9908150947510.20755-100000@unix01>
In-Reply-To: <19990814234444.A16577@nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> > how does one correctly configure having two ethernet cards
> > within the same box?
> You should post your /var/run/dmesg.boot file.  Otherwise we have no idea
> the cards are even being probed correctly.

Here is step one - the output of /var/run/dmesg.boot.  Not sure if I
mentioned it or not, but both cards are the Intel EtherExpress ProB
10/100 (someone suggested trying a different brand card - unfortunately I
can't afford the $$$ to do that just yet)

/var/run/dmesg.boot:
Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights reserved.
FreeBSD 3.2-STABLE #5: Sat Aug 14 22:59:36 EDT 1999
    root@merlin.avalon.com:/home/src/sys/compile/MERLIN
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 167046387 Hz
CPU: Pentium/P54C (167.05-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x52c  Stepping = 12
  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 41943040 (40960K bytes)
avail memory = 38199296 (37304K bytes)
Preloaded elf kernel "kernel" at 0xc029a000.
Probing for devices on PCI bus 0:
chip0: <Intel 82437FX PCI cache memory controller> rev 0x02 on pci0.0.0
chip1: <Intel 82371FB PCI to ISA bridge> rev 0x02 on pci0.7.0
ahc0: <Adaptec 2940 Ultra SCSI adapter> rev 0x01 int a irq 11 on pci0.17.0
ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs
vga0: <ATI Mach64-VT graphics accelerator> rev 0x08 on pci0.18.0
fxp0: <Intel EtherExpress Pro 10/100B Ethernet> rev 0x02 int a irq 9 on
pci0.19.0
fxp0: Ethernet address 00:a0:c9:6c:a9:23
fxp1: <Intel EtherExpress Pro 10/100B Ethernet> rev 0x02 int a irq 5 on
pci0.20.0
fxp1: Ethernet address 00:a0:c9:6c:a8:bd
Probing for devices on the ISA bus:
sc0 on isa
sc0: VGA color <10 virtual consoles, flags=0x0>
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
psm0 irq 12 on isa
psm0: model Generic PS/2 mouse, device ID 0
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa 
sio1: type 16550A
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fd0: 1.44MB 3.5in
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
npx0 flags 0x1 on motherboard 
npx0: INT 16 interface
Intel Pentium detected, installing workaround for F00F bug
Waiting 10 seconds for SCSI devices to settle
changing root device to da0s1a
da0 at ahc0 bus 0 target 0 lun 0
da0: <COMPAQ ST34572W 0892> Fixed Direct Access SCSI-2 device
da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing
Enabled
da0: 4094MB (8386000 512 byte sectors: 255H 63S/T 522C)
cd0 at ahc0 bus 0 target 5 lun 0
cd0: <NEC CD-ROM DRIVE:463 1.05> Removable CD-ROM SCSI-2 device
cd0: 10.000MB/s transfers (10.000MHz, offset 15)
cd0: Attempt to query device size failed: NOT READY, Medium not present

> Then you want to post the output of:
> 
>     grep fxp /etc/rc.conf

This output is as follows:

network_interfaces="fxp0 fxp1 ppp0 lo0 tun0"
ifconfig_fxp0="inet 10.0.0.1  netmask 255.255.255.0"
ifconfig_fxp1="inet 10.0.0.1  netmask 255.255.255.0"

At this point, I need to get the campus IT guru's to confirm that my
ethernet connection is here up and running right.  I did the above config
within rc.conf with the thought in mind that if they both had the same ip
addy, then my windows box would talk no matter which one I hooked into.
But alas, no.  What I find odd is that if I boot from a 2nd kernel in
which fxp1 is not defined, then my boxes can talk to each other no problem
- regardless of which card in the FBsd box I plug into. This is turning
out to be one heck of a learning experience =)

Thanks again!!!!

--John



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.4.04.9908150947510.20755-100000>