hi

i try it today again just for one interface in this case.

on host a:
inet 10.90.5.202 255.255.255.0 10.90.1.255 \
        carpdev em4 \
        group management_if \
        carpnodes 91:0,101:100

on host  b:

inet 10.90.5.202 255.255.255.0 10.90.1.255 \
        group management_if \
        carpdev em4 \
        carpnodes 101:0,91:100

this works !

i can see the traffic on both interfaces and boxes.

now i try to change the next carp interface
on host a:
inet 10.90.1.202 255.255.255.0 10.90.1.255 \
        group management_if \
        carpnodes 90:0,100:100


after the setup on the first box  my whole network go's down.

my question is can i do carp loadblanacing on a multiple carp box ( 5 carp
interfaces ) ?

is this the right way to do lb carp like i ahead described ?

holger

Holger Glaess schrieb:
> hi
>
> i try today to use the ip loadbalancing feature of carp.
>
> basiclly there ist an working carp cluster with 5 carp interfaces on 2
> boxes.
>
>
> on host a:
> hostname.carp0
> inet 10.100.0.254 255.255.252.0 10.100.3.255 \
>         vhid 25 pass office2world group lan_if
> hostname.carp1
> inet 10.10.223.15 255.255.255.0 10.10.223.255 \
>         vhid 15 pass office2world group wan_if
> hostname.carp2
> inet 10.90.1.202 255.255.255.0 10.90.1.255
>         vhid 90 pass manage2world group management_if
> hostname.carp3
> inet 10.90.5.202 255.255.255.0 10.90.1.255 \
>         carpdev em4 vhid 91 pass manage2world group management_if
> hostname carp4
> inet 10.11.223.15 255.255.255.0 10.11.223.255 \
>         carpdev em5 vhid 92 pass manage2world group an10-predmz
>
> the devices em4 and em5 have are no ip .
>
> on host b:
> hostname.carp0
> inet 10.100.0.254 255.255.252.0 10.100.3.255 \
>         group lan_if \
>         pass office2world \
>         vhid 25 \
>         advskew 100
> hostname.carp1
> inet 10.10.223.15 255.255.255.0 10.10.223.255 \
>         group wan_if \
>         vhid 15 \
>         advskew 100 \
>         pass office2world
>
> hostname.carp2
> inet 10.90.1.202 255.255.255.0 10.90.1.255 \
>         group management_if \
>         vhid 90 \
>         advskew 100 \
>         pass manage2world
>
> hostname.carp3
> inet 10.90.5.202 255.255.255.0 10.90.1.255 \
>         group management_if \
>         carpdev em4 \
>         vhid 91 \
>         advskew 100 \
>         pass manage2world
>
> hostname.carp4
>
> inet 10.11.223.15 255.255.255.0 10.11.223.255 \
>         group an10-predmz \
>         vhid 92 \
>         pass manage2world \
>         advskew 100 \
>         carpdev em5
>
> now i try to what the document says i add the line on
> host a
> carpnodes 15:0,15:100 balancing ip
> host b
> carpnodes 15:100,15:0 balancing ip
>
> id did this for all vhid's
> then i try to load the setup i got the error "ifconfig: SIOCSVH: Invalid
> argument" if i delete the part after the , der error is gone but it
> kills my network.
>
>
> what did i wrong ?
> what i miss understud the man page ?
>
> holger

Reply via email to