From owner-freebsd-stable Sun Aug 15 6:55:30 1999 Delivered-To: freebsd-stable@freebsd.org Received: from unix01.voicenet.com (unix01.voicenet.com [209.71.48.250]) by hub.freebsd.org (Postfix) with SMTP id C07431568B for ; Sun, 15 Aug 1999 06:55:25 -0700 (PDT) (envelope-from jpapalia@voicenet.com) Received: (qmail 21277 invoked by uid 4485); 15 Aug 1999 13:54:01 -0000 Date: Sun, 15 Aug 1999 09:54:01 -0400 (EDT) From: John X-Sender: jpapalia@unix01 To: David O'Brien Cc: freebsd-stable@freebsd.org Subject: Re: IP's, NIC's, and masquerading in 3.2-Stable In-Reply-To: <19990814234444.A16577@nuxi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > 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 real memory = 41943040 (40960K bytes) avail memory = 38199296 (37304K bytes) Preloaded elf kernel "kernel" at 0xc029a000. Probing for devices on PCI bus 0: chip0: rev 0x02 on pci0.0.0 chip1: rev 0x02 on pci0.7.0 ahc0: rev 0x01 int a irq 11 on pci0.17.0 ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs vga0: rev 0x08 on pci0.18.0 fxp0: rev 0x02 int a irq 9 on pci0.19.0 fxp0: Ethernet address 00:a0:c9:6c:a9:23 fxp1: 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: 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: 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