From owner-freebsd-current@FreeBSD.ORG Thu Aug 26 20:42:43 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72B6816A4CE for ; Thu, 26 Aug 2004 20:42:43 +0000 (GMT) Received: from web41409.mail.yahoo.com (web41409.mail.yahoo.com [66.218.93.75]) by mx1.FreeBSD.org (Postfix) with SMTP id 3540A43D46 for ; Thu, 26 Aug 2004 20:42:43 +0000 (GMT) (envelope-from davemac11@yahoo.com) Message-ID: <20040826204237.44644.qmail@web41409.mail.yahoo.com> Received: from [168.91.4.66] by web41409.mail.yahoo.com via HTTP; Thu, 26 Aug 2004 13:42:37 PDT Date: Thu, 26 Aug 2004 13:42:37 -0700 (PDT) From: Dave McCammon To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Bridging in 5.3 Beta not working X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Aug 2004 20:42:43 -0000 I can't seem to get bridging working on a new install of 5.3 beta. I set up the system correctly as far as I can tell(see info below). I gave one nic(em0) an ip and can reach other machines(using ssh as the test). If I move the ethernet cable from em0 to em1 I can't get out to any machines. Perhaps this is not a valid test (seems it should be). I must also mention that I did try both Nics plugged in(between two switches) but no traffic was getting through. below is the output of `sysctl net.link.ether.bridge' net.link.ether.bridge.version: 031224 net.link.ether.bridge.debug: 0 net.link.ether.bridge.ipf: 0 net.link.ether.bridge.ipfw: 1 net.link.ether.bridge.copy: 0 net.link.ether.bridge.ipfw_drop: 0 net.link.ether.bridge.ipfw_collisions: 0 net.link.ether.bridge.packets: 382 net.link.ether.bridge.dropped: 0 net.link.ether.bridge.predict: 201 net.link.ether.bridge.enable: 1 net.link.ether.bridge.config: em0:0,em1:0 I have `options BRIDGE' compiled in the kernel, along with options IPFIREWALL options IPFIREWALL_VERBOSE I can send the entire kernel config if needed. output from `ipfw show' 65000 722 74390 allow ip from any to any 65535 1 108 deny ip from any to any Below is dmesg.boot. Copyright (c) 1992-2004 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 5.3-BETA1 #5: Wed Aug 25 14:57:39 EST 2004 root@bg.goivytech.net:/usr/obj/usr/src/sys/BG Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 3.40GHz (3400.14-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf34 Stepping = 4 Features=0xbfebfbff Hyperthreading: 2 logical CPUs real memory = 1073479680 (1023 MB) avail memory = 1045135360 (996 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic1: Changing APIC ID to 3 ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-47 on motherboard npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 cpu1: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 3.0 on pci0 pci1: on pcib1 em0: port 0xece0-0xecff mem 0xfe2e0000-0xfe2fffff irq 18 at device 1.0 on pci1 em0: [GIANT-LOCKED] em0: Ethernet address: 00:c0:9f:44:bd:ed em0: Speed:N/A Duplex:N/A pcib2: at device 28.0 on pci0 pci2: on pcib2 aac0: mem 0xf4000000-0xf7ffffff irq 24 at device 1.0 on pci2 aac0: [FAST] aac0: Unknown processor 100MHz, 48MB cache memory, optional battery not installed aac0: Kernel 4.1-0, Build 7028, S/N bc68d4 aac0: Supported Options=1097c uhci0: port 0xcce0-0xccff irq 16 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xccc0-0xccdf irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered pci0: at device 29.4 (no driver attached) pci0: at device 29.5 (no driver attached) pci0: at device 29.7 (no driver attached) pcib3: at device 30.0 on pci0 pci3: on pcib3 em1: port 0xdcc0-0xdcff mem 0xfdee0000-0xfdefffff irq 21 at device 2.0 on pci3 em1: [GIANT-LOCKED] em1: Ethernet address: 00:c0:9f:44:bd:ee em1: Speed:N/A Duplex:N/A pci3: at device 14.0 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xfea0-0xfeaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.2 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 pci0: at device 31.3 (no driver attached) fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A pmtimer0 on isa0 orm0: at iomem 0xec000-0xeffff,0xcd000-0xcdfff,0xc9000-0xccfff,0xc8000-0xc8fff,0xc0000-0xc7fff on isa0 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x200> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled Timecounters tick every 10.000 msec ipfw2 initialized, divert disabled, rule-based forwarding disabled, default to deny, logging unlimited ATAPI_RESET time = 20us acd0: CDROM at ata0-master UDMA33 aacd0: on aac0 aacd0: 76260MB (156182272 sectors) SMP: AP CPU #1 Launched! Mounting root from ufs:/dev/aacd0s1a _______________________________ Do you Yahoo!? Win 1 of 4,000 free domain names from Yahoo! Enter now. http://promotions.yahoo.com/goldrush