I'm having some major woes with an OBSD 4.2 stable system and routing. 
I've racked my brain over the weekend trying to figure it out and haven't
come up with anything.. hopefully someone here can shed some light.

I have 5 interfaces, fxp0-3 and rl0.  fxp0-3 are all primary interfaces
for a corresponding carp interface.  I need to have two /28 networks on my
carp0 interface and one /27 network on carp1.  Whenever I add an alias to
my carp 0 or 1 interfaces i get the following error:
Mar  2 22:03:32 fw1 /bsd: arp_rtrequest: bad gateway value
Mar  2 22:03:32 fw1 /bsd: arp_rtrequest: bad gateway value

Here are the contents of my hostname.if files.

fxp0: inet 192.168.3.130 255.255.255.240 NONE
fxp1: inet 192.168.2.162 255.255.255.224 NONE
fxp2: inet 10.57.23.2 255.255.255.0 NONE
fxp3: inet 10.181.247.2 255.255.255.0 NONE
rl0:  inet 10.23.183.1 255.255.255.252 NONE

hostname.carp0:
inet 192.168.3.129 255.255.255.240 192.168.3.143 vhid 1 carpdev fxp0 pass
testing0

hostname.carp1
inet 192.168.2.161 255.255.255.224 192.168.2.191 vhid 2 carpdev fxp1 pass
testing1
inet alias 192.168.2.164 255.255.255.255

hostname.carp2
inet 10.57.23.254 255.255.255.0 10.57.23.255 vhid 3 carpdev fxp2 pass
testing2

hostname.carp3: inet 10.181.247.136 255.255.255.0 204.181.247.255 vhid 4
carpdev fxp3 pass testing3

here is the output from netstat -rnf inet:
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use    Mtu 
Interface
default            192.168.3.142      UGS         2      148      -   fxp0
10.23.183.0/30     link#5             UC          0        0      -   rl0
10.57.23/24        link#3             UC          0        0      -   fxp2
10.57.23.254       10.57.23.254       UH          0        0      -   carp2
127/8              127.0.0.1          UGRS        0        0  33208   lo0
127.0.0.1          127.0.0.1          UH          2       20  33208   lo0
192.168.2.160/27   link#2             UC          0        0      -   fxp1
192.168.2.161      192.168.2.161      UH          0        0      -   carp1
192.168.2.164      192.168.2.164      UH          0        0      -   carp1
192.168.2.164/32   192.168.2.164      U           0        0      -   carp1
192.168.3.128/28   link#1             UC          1        0      -   fxp0
192.168.3.129      192.168.3.129      UH          0        0      -   carp0
192.168.3.142      00:40:f4:76:3d:d3  UHLc        1        0      -   fxp0
10.181.247/24     link#4             UC          1        0      -   fxp3
10.181.247.25     00:08:02:0b:63:59  UHLc        1        1      -   fxp3
10.181.247.136    10.181.247.136    UH          0        0      -   carp3
224/4              127.0.0.1          URS         0        0  33208   lo0

I think this looks right..  I'm wondering however why there are two
instances of the 192.168.2.164. one with and one without the /32.  This
happens for every address i have as an inet alias.

When i remove the alias line from the above hostname.carp1 and then run
"sh /etc/netstart" i don't get the arp_rtrequest errors in messages, but
the odd thing is that when i issue the netstat -rnf inet command again,
the routes for 192.168.2.164 are still there.  Isn't running /etc/netstart
supposed to essentially flush everything and restart the networking?

Also, it doesn't matter which (hostname.carp0 or hostname.carp1) I put the
aliases in, I still get the error.  The same error occurs when i have the
following for hostname.carp0 and hostname.carp1:

hostname.carp0:
inet 192.168.3.129 255.255.255.240 192.168.3.143 vhid 1 carpdev fxp0 pass
testing0
inet alias 192.168.3.132 255.255.255.255

hostname.carp1
inet 192.168.2.161 255.255.255.224 192.168.2.191 vhid 2 carpdev fxp1 pass
testing1

Any help with this would be _greatly_ appreciated as i've beat my head
against the wall trying to see what I'm doing wrong and I can't seem to
figure it out.  I googled for the error but what was returned seemed
really old and even that i read but it didn't seem pertinent to my
situation.

Any other information needed please ask ask and I will provide it.


Thanks in advance,

Aaron Martinez

DMESG:
Mar  3 05:26:15 fw1 /bsd: OpenBSD 4.2-stable (GENERIC) #0: Fri Dec 28
19:29:04 CST 2007
Mar  3 05:26:15 fw1 /bsd:    
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
Mar  3 05:26:15 fw1 /bsd: cpu0: Intel(R) Celeron(R) CPU 2.00GHz
("GenuineIntel" 686-class) 2 GHz
Mar  3 05:26:15 fw1 /bsd: cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID
Mar  3 05:26:15 fw1 /bsd: real mem  = 268005376 (255MB)
Mar  3 05:26:15 fw1 /bsd: avail mem = 251502592 (239MB)
Mar  3 05:26:15 fw1 /bsd: mainbus0 at root
Mar  3 05:26:15 fw1 /bsd: bios0 at mainbus0: AT/286+ BIOS, date 07/22/03,
BIOS32 rev. 0 @ 0xfb160, SMBIOS rev. 2.3 @ 0xf0800 (38 entries)
Mar  3 05:26:15 fw1 /bsd: bios0: vendor Award Software International, Inc.
version "6.00 PG" date 07/22/2003
Mar  3 05:26:15 fw1 /bsd: bios0: Supermicro P4SDA
Mar  3 05:26:15 fw1 /bsd: apm0 at bios0: Power Management spec V1.2
Mar  3 05:26:15 fw1 /bsd: apm0: AC on, battery charge unknown
Mar  3 05:26:15 fw1 /bsd: apm0: flags 70102 dobusy 1 doidle 1
Mar  3 05:26:15 fw1 /bsd: pcibios0 at bios0: rev 2.1 @ 0xf0000/0xdf84
Mar  3 05:26:15 fw1 /bsd: pcibios0: PCI IRQ Routing Table rev 1.0 @
0xfdec0/192 (10 entries)
Mar  3 05:26:15 fw1 /bsd: pcibios0: PCI Exclusive IRQs: 3 5 7 9 10 11
Mar  3 05:26:15 fw1 /bsd: pcibios0: PCI Interrupt Router at 000:31:0
("Intel 82371SB ISA" rev 0x00)
Mar  3 05:26:15 fw1 /bsd: pcibios0: PCI bus #2 is the last bus
Mar  3 05:26:15 fw1 /bsd: bios0: ROM list: 0xc0000/0x10000 0xd0000/0x4000!
0xd4000/0x1800 0xd6000/0x1800 0xd8000/0x1800
Mar  3 05:26:15 fw1 /bsd: cpu0 at mainbus0
Mar  3 05:26:15 fw1 /bsd: pci0 at mainbus0 bus 0: configuration mode 1 (no
bios)
Mar  3 05:26:15 fw1 /bsd: pchb0 at pci0 dev 0 function 0 "Intel 82845
Host" rev 0x04
Mar  3 05:26:15 fw1 /bsd: ppb0 at pci0 dev 1 function 0 "Intel 82845 AGP"
rev 0x04
Mar  3 05:26:15 fw1 /bsd: pci1 at ppb0 bus 1
Mar  3 05:26:15 fw1 /bsd: vga1 at pci1 dev 0 function 0 "SiS 300/305/630
VGA" rev 0x90: aperture at 0xe0000000, size 0x400000
Mar  3 05:26:15 fw1 /bsd: wsdisplay0 at vga1 mux 1: console (80x25, vt100
emulation)
Mar  3 05:26:15 fw1 /bsd: wsdisplay0: screen 1-5 added (80x25, vt100
emulation)
Mar  3 05:26:16 fw1 /bsd: ppb1 at pci0 dev 30 function 0 "Intel 82801BA
AGP" rev 0x05
Mar  3 05:26:16 fw1 /bsd: pci2 at ppb1 bus 2
Mar  3 05:26:16 fw1 /bsd: puc0 at pci2 dev 0 function 0 "AT&T/Lucent Venus
Modem" rev 0x00: ports: 1 com
Mar  3 05:26:16 fw1 /bsd: pccom3 at puc0 port 0 irq 11: ns16550a, 16 byte
fifo
Mar  3 05:26:16 fw1 /bsd: fxp0 at pci2 dev 1 function 0 "Intel 8255x" rev
0x10, i82551: irq 3, address 00:0e:0c:74:6d:61
Mar  3 05:26:16 fw1 /bsd: inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
Mar  3 05:26:16 fw1 /bsd: fxp1 at pci2 dev 2 function 0 "Intel 8255x" rev
0x10, i82551: irq 7, address 00:0e:0c:3b:3f:2e
Mar  3 05:26:16 fw1 /bsd: inphy1 at fxp1 phy 1: i82555 10/100 PHY, rev. 4
Mar  3 05:26:16 fw1 /bsd: fxp2 at pci2 dev 3 function 0 "Intel 8255x" rev
0x10, i82551: irq 5, address 00:0e:0c:74:6d:a2
Mar  3 05:26:16 fw1 /bsd: inphy2 at fxp2 phy 1: i82555 10/100 PHY, rev. 4
Mar  3 05:26:16 fw1 /bsd: fxp3 at pci2 dev 4 function 0 "Intel 8255x" rev
0x08, i82559: irq 10, address 00:03:47:b1:2c:c4
Mar  3 05:26:16 fw1 /bsd: inphy3 at fxp3 phy 1: i82555 10/100 PHY, rev. 4
Mar  3 05:26:16 fw1 /bsd: rl0 at pci2 dev 5 function 0 "Realtek 8139" rev
0x10: irq 11, address 00:50:bf:72:51:c9
Mar  3 05:26:16 fw1 /bsd: rlphy0 at rl0 phy 0: RTL internal PHY
Mar  3 05:26:16 fw1 /bsd: ichpcib0 at pci0 dev 31 function 0 "Intel
82801BA LPC" rev 0x05: 24-bit timer at 3579545Hz
Mar  3 05:26:16 fw1 /bsd: pciide0 at pci0 dev 31 function 1 "Intel 82801BA
IDE" rev 0x05: DMA, channel 0 wired to compatibility, channel 1 wired to
compatibility
Mar  3 05:26:16 fw1 /bsd: wd0 at pciide0 channel 0 drive 0: <ACCUSYS
ACS75130 1.4>
Mar  3 05:26:16 fw1 /bsd: wd0: 16-sector PIO, LBA48, 38166MB, 78165360
sectors
Mar  3 05:26:16 fw1 /bsd: wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA
mode 5
Mar  3 05:26:16 fw1 /bsd: atapiscsi0 at pciide0 channel 1 drive 0
Mar  3 05:26:16 fw1 /bsd: scsibus0 at atapiscsi0: 2 targets
Mar  3 05:26:16 fw1 /bsd: cd0 at scsibus0 targ 0 lun 0: <SAMSUNG, CD-ROM
SH-152A, C504> SCSI0 5/cdrom removable
Mar  3 05:26:16 fw1 /bsd: cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA
mode 2
Mar  3 05:26:16 fw1 /bsd: uhci0 at pci0 dev 31 function 2 "Intel 82801BA
USB" rev 0x05: irq 7
Mar  3 05:26:16 fw1 /bsd: ichiic0 at pci0 dev 31 function 3 "Intel 82801BA
SMBus" rev 0x05: irq 11
Mar  3 05:26:16 fw1 /bsd: iic0 at ichiic0
Mar  3 05:26:16 fw1 /bsd: uhci1 at pci0 dev 31 function 4 "Intel 82801BA
USB" rev 0x05: irq 11
Mar  3 05:26:16 fw1 /bsd: isa0 at ichpcib0
Mar  3 05:26:16 fw1 /bsd: isadma0 at isa0
Mar  3 05:26:16 fw1 /bsd: pckbc0 at isa0 port 0x60/5
Mar  3 05:26:16 fw1 /bsd: pckbd0 at pckbc0 (kbd slot)
Mar  3 05:26:16 fw1 /bsd: pckbc0: using irq 1 for kbd slot
Mar  3 05:26:16 fw1 /bsd: wskbd0 at pckbd0: console keyboard, using
wsdisplay0
Mar  3 05:26:16 fw1 /bsd: pmsi0 at pckbc0 (aux slot)
Mar  3 05:26:16 fw1 /bsd: pckbc0: using irq 12 for aux slot
Mar  3 05:26:16 fw1 /bsd: wsmouse0 at pmsi0 mux 0
Mar  3 05:26:16 fw1 /bsd: pcppi0 at isa0 port 0x61
Mar  3 05:26:16 fw1 /bsd: midi0 at pcppi0: <PC speaker>
Mar  3 05:26:16 fw1 /bsd: spkr0 at pcppi0
Mar  3 05:26:16 fw1 /bsd: lm0 at isa0 port 0x290/8: W83627HF
Mar  3 05:26:16 fw1 /bsd: npx0 at isa0 port 0xf0/16: reported by CPUID;
using exception 16
Mar  3 05:26:16 fw1 /bsd: pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16
byte fifo
Mar  3 05:26:16 fw1 /bsd: fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
Mar  3 05:26:16 fw1 /bsd: fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
Mar  3 05:26:16 fw1 /bsd: usb0 at uhci0: USB revision 1.0
Mar  3 05:26:16 fw1 /bsd: uhub0 at usb0: Intel UHCI root hub, rev
1.00/1.00, addr 1
Mar  3 05:26:16 fw1 /bsd: usb1 at uhci1: USB revision 1.0
Mar  3 05:26:16 fw1 /bsd: uhub1 at usb1: Intel UHCI root hub, rev
1.00/1.00, addr 1
Mar  3 05:26:16 fw1 /bsd: biomask ebc5 netmask efed ttymask ffef
Mar  3 05:26:16 fw1 /bsd: pctr: user-level cycle counter enabled
Mar  3 05:26:16 fw1 /bsd: mtrr: Pentium Pro MTRR support
Mar  3 05:26:16 fw1 /bsd: umass0 at uhub1 port 1 configuration 1 interface 0
Mar  3 05:26:16 fw1 /bsd: umass0: USB 2.0 Flash Disk, rev 2.00/1.00, addr 2
Mar  3 05:26:16 fw1 /bsd: umass0: using SCSI over Bulk-Only
Mar  3 05:26:16 fw1 /bsd: scsibus1 at umass0: 2 targets
Mar  3 05:26:16 fw1 /bsd: sd0 at scsibus1 targ 1 lun 0: <USB 2.0, Flash
Disk, 0.00> SCSI2 0/direct removable
Mar  3 05:26:16 fw1 /bsd: sd0: 3855MB, 491 cyl, 255 head, 63 sec, 512
bytes/sec, 7897087 sec total
Mar  3 05:26:16 fw1 /bsd: dkcsum: wd0 matches BIOS drive 0x80
Mar  3 05:26:16 fw1 /bsd: root on wd0a swap on wd0b dump on wd0b
Mar  3 05:26:16 fw1 /bsd: carp: pfsync0 demoted group carp to 129
Mar  3 05:26:16 fw1 /bsd: carp: pfsync0 demoted group pfsync to 1
Mar  3 05:26:16 fw1 named[10518]: starting BIND 9.3.4
Mar  3 05:26:16 fw1 named[10518]: command channel listening on 127.0.0.1#953
Mar  3 05:26:16 fw1 named[10518]: command channel listening on ::1#953
Mar  3 05:26:16 fw1 named[10518]: running
Mar  3 05:26:16 fw1 /bsd: arp_rtrequest: bad gateway value
Mar  3 05:26:16 fw1 savecore: no core dump
Mar  3 05:27:18 fw1 /bsd: carp: pfsync0 demoted group carp to 0
Mar  3 05:27:18 fw1 /bsd: carp: pfsync0 demoted group pfsync to 0

Reply via email to