Forum Discussion

edib_26117's avatar
edib_26117
Icon for Nimbostratus rankNimbostratus
Aug 22, 2013

listening multiple ips or network subnet via ltm virtual server

In LTM, I have 16 ip addresses and all goes to same pool, first option I have to create 16 virtual server and assign them to the same pool one by one. There is another option in virtual server side but I did not succeed that I assign a cidr 28 subnet to virtual server and assign to the same pool. I cannot find definitive guide or tutor to do that. Is it possible to do that or is that destination network for another purpose?

 

7 Replies

  • can you try this?

    e.g.

    root@(B3600-R70-S26)(cfg-sync Standalone)(Active)(/Common)(tmos) list ltm virtual bar
    ltm virtual bar {
        destination 100.100.100.128:http
        ip-protocol tcp
        mask 255.255.255.240
        pool foo
        profiles {
            http { }
            tcp { }
        }
        snat automap
        vlans-disabled
    }
    root@(B3600-R70-S26)(cfg-sync Standalone)(Active)(/Common)(tmos) list ltm virtual-address 100.100.100.128
    ltm virtual-address 100.100.100.128 {
        address 100.100.100.128
        mask 255.255.255.240
        traffic-group traffic-group-1
    }
    root@(B3600-R70-S26)(cfg-sync Standalone)(Active)(/Common)(tmos) list ltm pool foo
    ltm pool foo {
        members {
            200.200.200.101:http {
                address 200.200.200.101
            }
        }
    }
    
    • edib_26117's avatar
      edib_26117
      Icon for Nimbostratus rankNimbostratus
      yes, i did and result, ltm virtual bar { description bar destination 192.168.124.16:http ip-protocol tcp mask 255.255.255.240 pool bar_pool profiles { http-wan-optimized-compression { } tcp-lan-optimized { context serverside } tcp-wan-optimized { context clientside } } snat automap vlans { a_vlan } vlans-enabled } names and ips have been changed. second command produce same results. still does not work. But if I change network to a single ip it does work.
    • nitass_89166's avatar
      nitass_89166
      Icon for Noctilucent rankNoctilucent
      have you enabled "arp" on virtual address and "translate-address" on virtual server?
  • can you try this?

    e.g.

    root@(B3600-R70-S26)(cfg-sync Standalone)(Active)(/Common)(tmos) list ltm virtual bar
    ltm virtual bar {
        destination 100.100.100.128:http
        ip-protocol tcp
        mask 255.255.255.240
        pool foo
        profiles {
            http { }
            tcp { }
        }
        snat automap
        vlans-disabled
    }
    root@(B3600-R70-S26)(cfg-sync Standalone)(Active)(/Common)(tmos) list ltm virtual-address 100.100.100.128
    ltm virtual-address 100.100.100.128 {
        address 100.100.100.128
        mask 255.255.255.240
        traffic-group traffic-group-1
    }
    root@(B3600-R70-S26)(cfg-sync Standalone)(Active)(/Common)(tmos) list ltm pool foo
    ltm pool foo {
        members {
            200.200.200.101:http {
                address 200.200.200.101
            }
        }
    }
    
    • edib_26117's avatar
      edib_26117
      Icon for Nimbostratus rankNimbostratus
      yes, i did and result, ltm virtual bar { description bar destination 192.168.124.16:http ip-protocol tcp mask 255.255.255.240 pool bar_pool profiles { http-wan-optimized-compression { } tcp-lan-optimized { context serverside } tcp-wan-optimized { context clientside } } snat automap vlans { a_vlan } vlans-enabled } names and ips have been changed. second command produce same results. still does not work. But if I change network to a single ip it does work.
    • nitass's avatar
      nitass
      Icon for Employee rankEmployee
      have you enabled "arp" on virtual address and "translate-address" on virtual server?
  • You should be able to select the network button and enter a IP address range with mask.

    example for a network range where the 1st IP was 192.168.0.96 and using a mask of 255.255.255.224 this would cover the IP range from 192.168.0.96 to 192.168.0.223

    The LTM help screen states for Destination: Specifies destination IP address information for the virtual server. You can select Host or Network, depending on the type of virtual server you are creating.

    Host: Specifies that the IP address you type represents a single host address.
    
    Network: Specifies that the IP address you type is a network address, which the system uses in combination with Mask to represent a range of IP addresses.
    
    Address: Type the IP address of the destination you want to add to the Destination list.
    
    Mask: If you are adding a network address, type the mask that represents the range. You must type the full netmask. For example, you can type ffff:ffff:ffff:ffff:0000:0000:0000:0000 or ffff:ffff:ffff:ffff:: (with two colons at the end). This field does not support specifying the prefix length in bits, for example, 0000:0000:0000:0000/24.