Forum Discussion

Maze_Runner_200's avatar
Maze_Runner_200
Icon for Nimbostratus rankNimbostratus
May 29, 2015

Outbound Virtual Server with destination iRule

I have an outbound virtual server that has a destination IP configured, and traffic flows correctly. For redundancy I would like to add another destination IP to that virtual server, but only one IP is allowed. I was thinking that if my destinations are 192.168.1.1 and 192.168.2.1 I could change the destination to on the virtual server to a destination of 192.168.0.0/16. Then I would have to create an iRule in the SSL server that is associated with the virtual server to say only allow 192.168.1.1 and 192.168.2.1 and drop any other IP's.

 

So do I need to create an iRule that has a pool of the 2 IP's? Are there any examples of this?

 

5 Replies

    • Maze_Runner_200's avatar
      Maze_Runner_200
      Icon for Nimbostratus rankNimbostratus
      So the destination on the virtual server has been changed to a class B which will use an iRule to allow 2 IP's via data groups. If a pool is created within the iRule can it be configured to route to the available destination IP? The two destination IP's that I am using are external.
    • Maze_Runner_200's avatar
      Maze_Runner_200
      Icon for Nimbostratus rankNimbostratus
      So the destination on the virtual server has been changed to a class B which will use an iRule to allow 2 IP's via data groups. If a pool is created within the iRule can it be configured to route to the available destination IP? The two destination IP's that I am using are external.
  • If a pool is created within the iRule can it be configured to route to the available destination IP? The two destination IP's that I am using are external.

     

    what virtual server type are you using? is it performance layer 4, standard or ip forwarding virtual server?

     

    in case of performance layer 4 or standard, you use gateway as a pool.

     

    in case of ip forwarding, you cannot have pool. so, what you need is route for those ip addresses e.g. 192.168.1.1 and 192.168.2.1.