Stephan A. Rickauer escreveu:
> On Fri, 2008-07-11 at 17:09 +0200, Reyk Floeter wrote:
>
>> hi stephan!
>>
>
> o;?That was quick! Hi Reyk.
>
>
>> can you also show your carp configuration?
>>
>
> Sure (just x'ed out the external IPs as well as passwords). We have a
> simple master/backup system:
>
> carp0: LAN
> carp1: DMZ
> carp2: WLAN
> carp3: Internet
>
> #
> cat /etc/host*.carp*
> inet 172.16.3.254 255.255.254.0 172.16.3.255 vhid 1 advskew 50 pass xxx
> carpdev em0
> inet 130.60.230.xxx 255.255.255.224 130.60.230.xxx vhid 2 advskew 50
> pass xxx carpdev em1
> inet 192.168.91.254 255.255.255.0 192.168.91.255 vhid 4 advskew 50 pass
> xxx carpdev fxp0
> inet 130.60.x.xx 255.255.255.252 130.60.x.xxx vhid 3 advskew 50 pass xxx
> carpdev em2
>
> ('advskew 100' on backup node)
>
> # sysctl net.inet.carp
> net.inet.carp.allow=1
> net.inet.carp.preempt=1
> net.inet.carp.log=0
>
> cat /etc/hostname.carp*
>
> # ifconfig
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33208
> groups: lo
> inet 127.0.0.1 netmask 0xff000000
> inet6 ::1 prefixlen 128
> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x8
> em0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
> lladdr 00:0c:f1:8f:a9:c4
> media: Ethernet autoselect (1000baseT
> full-duplex,rxpause,txpause)
> status: active
> inet 172.16.3.252 netmask 0xfffffe00 broadcast 172.16.3.255
> inet6 fe80::20c:f1ff:fe8f:a9c4%em0 prefixlen 64 scopeid 0x1
> em1: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
> lladdr 00:0e:0c:c3:39:74
> media: Ethernet autoselect (1000baseT
> full-duplex,rxpause,txpause)
> status: active
> inet 130.60.230.xxx netmask 0xffffffe0 broadcast 130.60.230.xxx
> inet6 fe80::20e:cff:fec3:3974%em1 prefixlen 64 scopeid 0x2
> em2: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
> lladdr 00:0e:0c:c3:39:75
> media: Ethernet autoselect (1000baseT
> full-duplex,rxpause,txpause)
> status: active
> inet6 fe80::20e:cff:fec3:3975%em2 prefixlen 64 scopeid 0x3
> em3: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
> lladdr 00:0e:0c:c3:39:76
> media: Ethernet autoselect (none)
> status: no carrier
> em4: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> lladdr 00:0e:0c:c3:39:77
> media: Ethernet autoselect (1000baseT
> full-duplex,master,rxpause,txpause)
> status: active
> inet 1.1.1.252 netmask 0xff000000 broadcast 1.255.255.255
> inet6 fe80::20e:cff:fec3:3977%em4 prefixlen 64 scopeid 0x5
> fxp0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu
> 1500
> lladdr 00:0c:f1:8f:a9:c5
> media: Ethernet autoselect (100baseTX full-duplex)
> status: active
> inet 192.168.91.252 netmask 0xffffff00 broadcast 192.168.91.255
> inet6 fe80::20c:f1ff:fe8f:a9c5%fxp0 prefixlen 64 scopeid 0x6
> enc0: flags=0<> mtu 1536
> pfsync0: flags=41<UP,RUNNING> mtu 1460
> pfsync: syncdev: em4 syncpeer: 1.1.1.253 maxupd: 128
> groups: carp pfsync
> pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33208
> groups: pflog
> carp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> lladdr 00:00:5e:00:01:01
> carp: MASTER carpdev em0 vhid 1 advbase 1 advskew 50
> groups: carp
> inet6 fe80::200:5eff:fe00:101%carp0 prefixlen 64 scopeid 0x9
> inet 172.16.3.254 netmask 0xfffffe00 broadcast 172.16.3.255
> carp1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> lladdr 00:00:5e:00:01:02
> carp: MASTER carpdev em1 vhid 2 advbase 1 advskew 50
> groups: carp
> inet6 fe80::200:5eff:fe00:102%carp1 prefixlen 64 scopeid 0xa
> inet 130.60.230.xxx netmask 0xffffffe0 broadcast 130.60.230.xxx
> carp2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> lladdr 00:00:5e:00:01:04
> carp: MASTER carpdev fxp0 vhid 4 advbase 1 advskew 50
> groups: carp
> inet6 fe80::200:5eff:fe00:104%carp2 prefixlen 64 scopeid 0xb
> inet 192.168.91.254 netmask 0xffffff00 broadcast 192.168.91.255
> carp3: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> lladdr 00:00:5e:00:01:03
> carp: MASTER carpdev em2 vhid 3 advbase 1 advskew 50
> groups: carp egress
> inet6 fe80::200:5eff:fe00:103%carp3 prefixlen 64 scopeid 0xc
> inet 130.60.x.xxx netmask 0xfffffffc broadcast 130.60.x.xxx
>
>
> I think this it ;)
>
>
>
I'm just guessing, but i had some problems with centos 4.3 (AFAICR), and
the avahi-daemon. It just started to use my gateway's ip address,
causing machines in the internal net not being able to navigate to the
internet. It was an openbsd 4.0, NOT using carp. I suggest you take a
look to see if the avahi-daemon is running on the suse machine. If it
is, shut it down and see it again. Also, try capturing some packets.
My regards,
--
Giancarlo Razzolini
http://lock.razzolini.adm.br
Linux User 172199
Red Hat Certified Engineer no:804006389722501
Verify:https://www.redhat.com/certification/rhce/current/
Moleque Sem Conteudo Numero #002
OpenBSD Stable
Ubuntu 8.04 Hardy Herom
4386 2A6F FFD4 4D5F 5842 6EA0 7ABE BBAB 9C0E 6B85