Hi all,

we are having some issues with CARP. One IP of three configured is causing trouble. The systems are running OpenBSD 4.9-release.

Description:
IP 10.0.1.9 and 10.0.1.13 are working just fine, however, sometimes it isn't possible to connect using IP 10.0.1.12.

Destroying the interface and bringing it back up doesn't help, waiting does, at some point it just starts to work again.

Since the switch is a bit problematic, we tried both ip-unicast and ip-stealth which didn't help. Destroying carp0 on one of the hosts doesn't help either.

Again, IP 10.0.1.9 and 10.0.1.13 are working just fine, no problems there. The routing entry also looks the same for .12 and .13.

For configuration of node 1, see end of mail.

I'd be really happy if someone had an idea what is going on.

Thanks in advance!

Best regards,
Michael




# cat /etc/hostname.em0
inet 10.0.1.10 255.255.254.0

# cat /etc/hostname.carp0
inet 10.0.1.9 255.255.254.0
carpnodes 10:0,11:100 carpdev em0
carppeer 10.0.1.11 balancing ip-stealth
pass secret
inet alias 10.0.1.12 255.255.254.0
inet alias 10.0.1.13 255.255.254.0

# ifconfig em0
em0: flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500
        lladdr 96:f7:71:ac:8f:c1
        priority: 0
        groups: egress
        media: Ethernet autoselect (1000baseT full-duplex)
        status: active
        inet 10.0.1.10 netmask 0xfffffe00 broadcast 10.0.1.255
        inet6 fe80::94f7:71ff:feac:8fc1%em0 prefixlen 64 scopeid 0x1

# ifconfig carp0
carp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:00:5e:00:01:0a
        priority: 0
carp: carpdev em0 advbase 1 balancing ip-stealth carppeer 10.0.1.11
                state MASTER vhid 10 advskew 0
                state BACKUP vhid 11 advskew 100
        groups: carp
        status: master
        inet 10.0.1.9 netmask 0xfffffe00 broadcast 10.0.1.255
        inet6 fe80::200:5eff:fe00:10a%carp0 prefixlen 64 scopeid 0x8
        inet 10.0.1.12 netmask 0xfffffe00 broadcast 10.0.1.255
        inet 10.0.1.13 netmask 0xfffffe00 broadcast 10.0.1.255

# route -n show -inet | grep ^10.0.1.1[23]
10.0.1.12 127.0.0.1 UGHS 0 0 33200 8 lo0 10.0.1.13 127.0.0.1 UGHS 0 0 33200 8 lo0

# cat /var/run/dmesg.boot
OpenBSD 4.9 (GENERIC.MP) #794: Wed Mar  2 07:19:02 MST 2011
    [email protected]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Xeon(R) CPU E5504 @ 2.00GHz ("GenuineIntel" 686-class) 2 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,SSSE3,CX16,SSE4.1,SSE4.2
real mem  = 2134429696 (2035MB)
avail mem = 2089349120 (1992MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 06/23/99, BIOS32 rev. 0 @ 0xfa900, SMBIOS rev. 2.4 @ 0xe901f (14 entries)
bios0: vendor Xen version "3.3.1" date 10/13/2009
bios0: Xen HVM domU
acpi0 at bios0: rev 2, ACPI control unavailable
mpbios0 at bios0: Intel MP Specification 1.4
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: unknown i686 model 0x0, can't get bus clock (0x0)
cpu0: apic clock running at 100MHz
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Xeon(R) CPU E5504 @ 2.00GHz ("GenuineIntel" 686-class)
cpu1: FPU,APIC,SSE3,SSSE3,CX16,SSE4.1,SSE4.2
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Xeon(R) CPU E5504 @ 2.00GHz ("GenuineIntel" 686-class)
cpu2: FPU,APIC,SSE3,SSSE3,CX16,SSE4.1,SSE4.2
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Intel(R) Xeon(R) CPU E5504 @ 2.00GHz ("GenuineIntel" 686-class)
cpu3: FPU,APIC,SSE3,SSSE3,CX16,SSE4.1,SSE4.2
mpbios0: bus 0 is type ISA
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 11, 48 pins
ioapic0: misconfigured as apic 0, remapped to apid 1
bios0: ROM list: 0xc0000/0x8c00
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82441FX" rev 0x02
pcib0 at pci0 dev 1 function 0 "Intel 82371SB ISA" rev 0x00
pciide0 at pci0 dev 1 function 1 "Intel 82371SB IDE" rev 0x00: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 1: <QEMU HARDDISK>
wd0: 16-sector PIO, LBA48, 16384MB, 33554432 sectors
wd0(pciide0:0:1): using PIO mode 0, DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <QEMU, QEMU DVD-ROM, 0.9.> ATAPI 5/cdrom removable
cd0(pciide0:1:1): using PIO mode 0
"Intel 82371SB USB" rev 0x01 at pci0 dev 1 function 2 not configured
piixpm0 at pci0 dev 1 function 3 "Intel 82371AB Power" rev 0x01: SMBus disabled
vga1 at pci0 dev 2 function 0 "Cirrus Logic CL-GD5446" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
"XenSource Platform Device" rev 0x01 at pci0 dev 3 function 0 not configured em0 at pci0 dev 4 function 0 "Intel PRO/1000MT (82540EM)" rev 0x03: apic 1 int 5 (irq 5), address 96:f7:71:ac:8f:c1
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: probed fifo depth: 0 bytes
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: density unknown
fd1 at fdc0 drive 1: density unknown
mtrr: Pentium Pro MTRR support
nvram: invalid checksum
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
clock: unknown CMOS layout
cpu1: unknown i686 model 0x0, can't get bus clock (0x0)
cpu2: unknown i686 model 0x0, can't get bus clock (0x0)
cpu3: unknown i686 model 0x0, can't get bus clock (0x0)

Reply via email to