From owner-freebsd-stable Mon May 13 12:27:33 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mail.trigger.net (ns.trigger.net [204.50.18.5]) by hub.freebsd.org (Postfix) with ESMTP id 48FD237B405 for ; Mon, 13 May 2002 12:26:18 -0700 (PDT) Received: from mike (wettoast.org [204.50.18.204]) by mail.trigger.net (Postfix) with SMTP id D8A1330913; Mon, 13 May 2002 15:25:27 -0400 (EDT) From: "Mike Jakubik" To: "Mike M." , Subject: RE: 4.6-PRERELASE fxp alias woes Date: Mon, 13 May 2002 15:25:21 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <5.1.0.14.2.20020513142059.03741410@127.0.0.1> Importance: Normal Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG netmask should be 0xffffffff (255.255.255.255) for the same subnet, read the file UPDATING and README next time before you upgrade. -----Original Message----- From: owner-freebsd-stable@FreeBSD.ORG [mailto:owner-freebsd-stable@FreeBSD.ORG]On Behalf Of Mike M. Sent: Monday, May 13, 2002 3:20 PM To: freebsd-stable@freebsd.org Subject: 4.6-PRERELASE fxp alias woes Greetings all, I cvsup'd to the latest -stable last night (4.6-pr): FreeBSD homer.wmis.net 4.6-PRERELEASE FreeBSD 4.6-PRERELEASE #3: Mon May 13 12:22:11 EDT 2002 root@homer.wmis.net:/usr/obj/usr/src/sys/HOMER i386 Much to my dismay, I rebooted after running mergemaster, and discovered that none of my IP aliases were in place. The console indicated a "ifconfig: ioctl (SIOCAIFADDR): File exists" for every alias entry in my rc.conf. Keep in mind these aliases were working perfectly as-is until the upgrade (from 4.4-STABLE 9/27/01). My first few rc.conf entries: network_interfaces="fxp0 lo0" ifconfig_fxp0="inet 216.109.194.4 netmask 255.255.255.0" ifconfig_fxp0_alias0="inet 216.109.194.8 netmask 255.255.255.0" ifconfig_fxp0_alias1="inet 216.109.194.10 netmask 255.255.255.0" ifconfig_fxp0_alias2="inet 216.109.194.21 netmask 255.255.255.0" I was able to get homer to take the aliases by bringing fxp0 down from the console and adding them one by one manually.. but every time I would add an alias the interface would be put back in an "UP" state -- (is this normal??). So I would have to: ifconfig fxp0 down ifconfig fxp0 alias 216.109.194.8 netmask 255.255.255.0 ifconfig fxp0 down ifconfig fxp0 alias 216.109.194.10 netmask 255.255.255.0 (and so on). If I didn't down the interface before adding an alias, I would get the above File exists error. Although this made ifconfig appear to have bound the IP, it really didn't. Any "alias" IP is unreachable -- a big thanks to all of the pissed off EUs that pointed that one out to me ;-) The "primary" IP is reachable from anywhere, though. I've experienced this behavior on 3 of my servers... 4.4-STABLE (09/27/01) -> 4.6-PR (the box mentioned here) 4.3-STABLE (07/24/01) -> 4.6-PR 4.5-PR (02/01/02) -> 4.6-PR I apologize if this is a known issue or my own stupidity, but it doesn't seem logical and I'm kind of lost where to go from here. Anyone have any suggestions? Am I missing some new kernel config option perhaps?? dmesg follows... Copyright (c) 1992-2002 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 4.6-PRERELEASE #3: Mon May 13 12:22:11 EDT 2002 root@homer.wmis.net:/usr/obj/usr/src/sys/HOMER Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (1003.66-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x68a Stepping = 10 Features=0x383fbff real memory = 268369920 (262080K bytes) avail memory = 257576960 (251540K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Preloaded elf kernel "kernel" at 0xc0380000. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 9 entries at 0xc00fa010 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard IOAPIC #0 intpin 18 -> irq 2 IOAPIC #0 intpin 19 -> irq 16 pci0: on pcib0 pcib2: at device 1.0 on pci0 pci1: on pcib2 pci1: at 0.0 irq 17 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x8cc0-0x8ccf at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: (vendor=0x1106, dev=0x3057) at 7.4 fxp0: port 0x8c00-0x8c3f mem 0x82800000-0x828fffff,0x82700000-0x82700fff irq 2 at device 13.0 on pci0 fxp0: Ethernet address 00:00:e2:3f:1d:da inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ahc0: port 0x8400-0x84ff mem 0x82101000-0x82101fff irq 16 at device 15.0 on pci0 aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs ahc1: port 0x8800-0x88ff mem 0x82102000-0x82102fff irq 16 at device 15.1 on pci0 aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs pcib1: on motherboard pci2: on pcib1 orm0: