Forum Discussion

sandy16's avatar
sandy16
Icon for Altostratus rankAltostratus
Oct 22, 2012

virtual ip with different ports

Hi,

 

i need to load-balance the same virtual-ip on different port numbers. For example, vip1:80 goes to srv1:80 and srv2:80, AND then vip1:443 goes to srv1:443 and srv2:443.

 

Should i just create a standard virtual-ip for it? Whats the best way of doing it?

 

2 Replies

  • you can create a number of virtual server on specific port or one virtual server with any port.

    if you do not want to use l7 feature, performance l4 virtual server is also fine.

    e.g.

    [root@ve10:Active] config  b virtual bar list
    virtual bar {
       snat automap
       pool foo
       destination 172.28.19.79:any
    }
    [root@ve10:Active] config  b pool foo list
    pool foo {
       members 200.200.200.101:any {}
    }