Re: dysfunctional carp

2007-08-05 Thread Nico Meijer
Hi Dag,

 So if each system sees only its own carp traffic it makes sense that 
 each would consider themselves master. I assume that the systems can 
 send and receive tcp icmp, and udp traffic.

Yes. I've turned pf off just in case.

 Is it possible that the switch is not carrying multicast traffic?.

This could very well be, so I did try the crossover cable. No luck,
unfortunately. No carp traffic is coming through.

The HP switch these systems were connected to had two carp combos
running perfectly, btw.

Thanks... Nico



dysfunctional carp

2007-07-31 Thread Nico Meijer
Hi all,

I have a new carp setup that somehow just won't work.

The two machines are Jetway mini-itx J7F4 machines, dual Gb LAN. dmesg
below.

Details from the master:
re0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500
lladdr 00:30:18:a3:19:ce
groups: egress
media: Ethernet 100baseTX full-duplex
status: active
inet6 fe80::230:18ff:fea3:19ce%re0 prefixlen 64 scopeid 0x1
inet 192.168.2.11 netmask 0xff00 broadcast 192.168.2.255
carp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr 00:00:5e:00:01:03
carp: MASTER carpdev re0 vhid 3 advbase 1 advskew 0
groups: carp
inet6 fe80::200:5eff:fe00:103%carp0 prefixlen 64 scopeid 0x6
inet 192.168.2.13 netmask 0xff00 broadcast 192.168.2.255

/etc/hostname.re0:
inet 192.168.2.11 255.255.255.0 NONE media 100BaseTX mediaopt full-duplex
/etc/hostname.carp0:
inet 192.168.2.13 255.255.255.0 192.168.2.255 vhid 3 pass carpnuldrie
carpdev re0

Details from the backup:
re0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500
lladdr 00:30:18:b0:27:7d
groups: egress
media: Ethernet 100baseTX full-duplex
status: active
inet6 fe80::230:18ff:feb0:277d%re0 prefixlen 64 scopeid 0x1
inet 192.168.2.10 netmask 0xff00 broadcast 192.168.2.255
carp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr 00:00:5e:00:01:03
carp: MASTER carpdev re0 vhid 3 advbase 1 advskew 100
groups: carp
inet6 fe80::200:5eff:fe00:103%carp0 prefixlen 64 scopeid 0x6
inet 192.168.2.13 netmask 0xff00 broadcast 192.168.2.255

/etc/hostname.re0:
inet 192.168.2.10 255.255.255.0 NONE media 100BaseTX mediaopt full-duplex
/etc/hostname.carp0:
inet 192.168.2.13 255.255.255.0 192.168.2.255 vhid 3 pass carpnuldrie
advskew 100 carpdev re0

pf is now off on both machines, just in case. Both machines think they're
master, since no carp traffic _other than their own_ is visible on the re0
interface. I've checked with `tcpdump -ni re0` on both machines. No other
carped hosts in the house.

The machines are currently connected to a cheap a$$ switch, but wouldn't
work on a well configured HP 2624 either.

I'd be grateful for any and all pointers! Let me know if I forgot to
provide any details.

TIA... Nico

The dmesg of the master (backup is identical, btw):
OpenBSD 4.1-stable (GENERIC) #5: Sun Jul 15 18:00:11 CEST 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: VIA Esther processor 1500MHz (CentaurHauls 686-class) 1.51 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,APIC,SEP,MTRR,PGE,CMOV,PAT,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,TM,SBF,SSE3
cpu0: RNG AES AES-CTR SHA1 SHA256 RSA real mem  = 518549504 (506396K)
avail mem = 465399808 (454492K)
using 4278 buffers containing 26050560 bytes (25440K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 02/01/07, BIOS32 rev. 0 @ 0xf9410,
SMBIOS rev. 2.3 @ 0xf (33 entries) apm0 at bios0: Power Management
spec V1.2 apm0: AC on, battery charge unknown
apm0: flags 70102 dobusy 1 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf/0xb8e4
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfb820/192 (10 entries)
pcibios0: bad IRQ table checksum
pcibios0: PCI BIOS has 10 Interrupt Routing table entries
pcibios0: PCI Exclusive IRQs: 5 9 10 11
pcibios0: PCI Interrupt Router at 000:17:0 (VIA VT8237 ISA rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0x1
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 VIA CN700 Host rev 0x00
pchb1 at pci0 dev 0 function 1 VIA CN700 Host rev 0x00
pchb2 at pci0 dev 0 function 2 VIA CN700 Host rev 0x00
pchb3 at pci0 dev 0 function 3 VIA PT890 Host rev 0x00
pchb4 at pci0 dev 0 function 4 VIA CN700 Host rev 0x00
pchb5 at pci0 dev 0 function 7 VIA CN700 Host rev 0x00
ppb0 at pci0 dev 1 function 0 VIA VT8377 AGP rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 VIA S3 Unichrome PRO IGP rev 0x01:
aperture at 0xf400, size 0x1000 wsdisplay0 at vga1 mux 1: console
(80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100
emulation) re0 at pci0 dev 9 function 0 Realtek 8169SC rev 0x10:
RTL8169/8110SC (0x1800), irq 10, address 00:30:18:a3:19:ce rgephy0 at re0
phy 7: RTL8169S/8110S PHY, rev. 2 re1 at pci0 dev 11 function 0 Realtek
8169SC rev 0x10: RTL8169/8110SC (0x1800), irq 5, address
00:30:18:a3:19:cf rgephy1 at re1 phy 7: RTL8169S/8110S PHY, rev. 2
pciide0 at pci0 dev 15 function 0 VIA VT6420 SATA rev 0x80: DMA
pciide0: using irq 11 for native-PCI interrupt wd0 at pciide0 channel 0
drive 0: WDC WD800JD-75MSA3 wd0: 16-sector PIO, LBA48, 76293MB,
15625 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
pciide1 at pci0 dev 15 function 1 VIA VT82C571 IDE rev 0x06: ATA133,
channel 0 configured to compatibility, channel 1 configured to
compatibility pciide1: channel 0 disabled (no drives) pciide1: 

Re: dysfunctional carp

2007-07-31 Thread Dag Richards

Nico Meijer wrote:

Hi all,

I have a new carp setup that somehow just won't work.

The two machines are Jetway mini-itx J7F4 machines, dual Gb LAN. dmesg
below.



So if each system sees only its own carp traffic it makes sense that 
each would consider themselves master. I assume that the systems can 
send and receive tcp icmp, and udp traffic.  Is it possible that the 
switch is not carrying multicast traffic?. If you attach them to each 
other with a crossover cable do they (pointlessly) negotiate proper carp 
relationships?