Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 2002 15:25:21 -0400
From:      "Mike Jakubik" <mikej@trigger.net>
To:        "Mike M." <mikem@wmis.net>, <freebsd-stable@freebsd.org>
Subject:   RE: 4.6-PRERELASE fxp alias woes
Message-ID:  <HPEHJFKBNEHFPAOFMEDDAEIBDHAA.mikej@trigger.net>
In-Reply-To: <5.1.0.14.2.20020513142059.03741410@127.0.0.1>

next in thread | previous in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,
CMOV,PAT,PSE36,MMX,FXSR,SSE>
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: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
IOAPIC #0 intpin 18 -> irq 2
IOAPIC #0 intpin 19 -> irq 16
pci0: <PCI bus> on pcib0
pcib2: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at device 1.0 on
pci0
pci1: <PCI bus> on pcib2
pci1: <ATI Mach64-GM graphics accelerator> at 0.0 irq 17
isab0: <VIA 82C686 PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686 ATA66 controller> port 0x8cc0-0x8ccf at device 7.1 on
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <unknown card> (vendor=0x1106, dev=0x3057) at 7.4
fxp0: <Intel Pro 10/100B/100+ Ethernet> 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: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ahc0: <Adaptec aic7899 Ultra160 SCSI adapter> 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: <Adaptec aic7899 Ultra160 SCSI adapter> 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: <Host to PCI bridge> on motherboard
pci2: <PCI bus> on pcib1
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xe0000-0xe5fff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
ata0-slave: ATAPI identify retries exceeded
SMP: AP CPU #1 Launched!
acd0: CDROM <CD-ROM 48X/AKH> at ata0-master PIO4
Waiting 7 seconds for SCSI devices to settle
sa0 at ahc1 bus 0 target 2 lun 0
sa0: <TANDBERG SLR7 0483> Removable Sequential Access SCSI-2 device
sa0: 40.000MB/s transfers (20.000MHz, offset 15, 16bit)
da1 at ahc0 bus 0 target 1 lun 0
da1: <IBM DDYS-T36950M S96H> Fixed Direct Access SCSI-3 device
da1: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing
Enabled
da1: 35003MB (71687340 512 byte sectors: 255H 63S/T 4462C)
da0 at ahc0 bus 0 target 0 lun 0
da0: <SEAGATE ST318404LC 0006> Fixed Direct Access SCSI-3 device
da0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing
Enabled
da0: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C)
Mounting root from ufs:/dev/da0s1a


homer# ifconfig -a
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::200:e2ff:fe3f:1dda%fxp0 prefixlen 64 scopeid 0x1
        inet 216.109.194.21 netmask 0xffffff00 broadcast 216.109.194.255
        inet 216.109.194.27 netmask 0xffffff00 broadcast 216.109.194.255
        inet 216.109.194.48 netmask 0xffffff00 broadcast 216.109.194.255
        inet 216.109.194.54 netmask 0xffffff00 broadcast 216.109.194.255
        inet 216.109.194.240 netmask 0xffffff00 broadcast 216.109.194.255
        inet 216.109.194.241 netmask 0xffffff00 broadcast 216.109.194.255
        inet 216.109.194.23 netmask 0xffffff00 broadcast 216.109.194.255
        inet 216.109.194.4 netmask 0xffffff00 broadcast 216.109.194.255
        inet 216.109.194.8 netmask 0xffffff00 broadcast 216.109.194.255
        ether 00:00:e2:3f:1d:da
        media: Ethernet autoselect (10baseT/UTP)
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
        inet 127.0.0.1 netmask 0xff000000
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
faith0: flags=8002<BROADCAST,MULTICAST> mtu 1500

Thanks everyone

Mike


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?HPEHJFKBNEHFPAOFMEDDAEIBDHAA.mikej>