EMAIL SUPPORT

dclessons@dclessons.com

LOCATION

US

Basic iRule Setup

Basic iRule Setup

Posted on May 26, 2021 (0)

LAB: Configure iRule for TCP port Checking

Topology:

Solution:

Create three different Pool

  • Pool 1: 172.16.10.129 : Port : All Services
  • Pool 2: 172.16.10.130 : Port : All Services
  • Pool 3: 172.16.10.131 : Port : All Services

Refer below figure to configure three pools.

Configure iRule

Go to Local Traffic | iRule | Create iRule | Name rule_tcp_port

Configure below iRule as shown in below figure and Update.

Here, the iRule says that if Client requested Port is 80 than send to pool 1 else send the traffic to Pool 2

Now Go to Local Traffic | Virtual Server | Create New Virtual Server Use Destination IP 10.10.10.103 and under Service Port, Select All Services.

Under iRule: Select rule_tcp_port and Select Default Port: Pool3


Comment

    You are will be the first.

LEAVE A COMMENT

Please login here to comment.