|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Problem with carp interface
From: Sergej Pioch (sergej.pioch
rz.uni-freiburg.de)
Date: Tue Nov 02 2004 - 04:25:42 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi all,
while trying to set up a redundant proxy farm using carp I encountered a
big problem. The hostmachine is a IBM BladeServer HS20 with 4 GB of
Memory and two Broadcom bcm57xx NICs from which only one is active. I
set up OpenBSD 3.6 from snapshots a few weeks ago.
When I set up the carp interface the machine is not responding on pings
anymore. Neither on the original interface bge0 with IP XXX.XXX.1.131
nor on the carp1 interface with IP XXX.XXX.1.134. This behaviour first
stops when I destroy interface carp1 (ifconfig carp1 destroy). Only
disabling the carp1 interface (ifconfig carp1 down) does not let to any
solution.
Here are the details of the setup:
ifconfig carp1 create
ifconfig carp1 vhid 2 pass <anypwd> XXX.XXX.1.134 255.255.255.0
XXX.XXX.1.255
ifconfig -a shows the following output:
------start of ifconfig -a
------------------------------------------------------------------------
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33224
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 something%lo0 prefixlen 64 scopeid 0x6
bge0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
address: 00:09:6b:XX:XX:XX media: Ethernet autoselect
(1000baseSX full-duplex)
status: active
inet XXX.XXX.1.131 netmask 0xffffff00 broadcast XXX.XXX.1.255
inet6 something%bge0 prefixlen 64 scopeid 0x1
bge1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
address: 00:09:6b:XX:XX:XX
media: Ethernet autoselect (1000baseSX full-duplex)
status: no carrier
pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33224
pfsync0: flags=0<> mtu 2020
enc0: flags=0<> mtu 1536
carp1: flags=41<UP,RUNNING> mtu 1500
carp: MASTER vhid 2 advbase 1 advskew 0
inet XXX.XXX.1.134 netmask 0xffff0000
------end of ifconfig -a
------------------------------------------------------------------------
One thing is conspicuous: though I gave the carp1 interface a netmask of
255.255.255.0 during the setup ifconfig shows an actual subnetmask of
255.255.0.0 and the given broadcast address does not show up at all.
In addition I should mention that the macine is running a packet filter.
But I cannot imagine that this is misconfigured or the reason for this
problem while the same behaviour occurs with the packet filter turned
off (pfctl -d).
Anyone any ideas?
Best regards
sATsche
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]