Primeroz lists wrote:
Hi ,

I think you should setup ALL the carp address as alias/32 , like this:

ifconfig_carp10="vhid 10 pass qweq 192.168.10.10 <http://192.168.10.10/> netmask 255.255.255.255 <http://255.255.255.0/>" ifconfig_carp10_alias0="192.168.10.11 <http://192.168.10.11/> netmask 255.255.255.255 <http://255.255.255.0/>"
...
ifconfig_carp10_aliasN="192.168.10.N netmask 255.255.255.255 <http://255.255.255.255>"

and then please verify your routing table for everythin on 192.168.10

netstat -rn | grep 192.168.10

What you should have is

192.168.10/24 ...... vlan10
192.168.10.10 <http://192.168.10.10> .... carp10
...
192.168.10.N .... carp10

this is because the NETWORK range should be routed always through the parent interface (vlan10 in this case) while all the carp addresses has to be threated as alias.

if you check now probably you will find that the 192.168.10/24 is routed through your carp interface ... and that's wrong.

Ciao
Francesco

Hi Primeroz, thanks for your answer.
I set all the carp interfaces, both base and alias, to the 255.255.255.255 netmask
as you suggested.
This is my netstat now:

...
192.168.10.0/24 link#11            UC          0        0 vlan10
192.168.10.254    link#11            UHLW        2        0 vlan10
192.168.10.10   192.168.10.10    UH          0        0 carp10
192.168.10.11  192.168.10.11    UH          0        0 carp10
192.168.10.12  192.168.10.12    UH          0        0 carp10
...

As you see, the 192.168.10.0/24 is routed through the vlan10 interface, and this should be correct.

As before, I can ping 192.168.10.10, but not 192.168.10.11 and above.

Could this be a bug of carp with alias interfaces?

Thanks again.
Giulio.
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to